Index Wheel
Install the component, then paste your configured usage. Your settings are included in the code below.
npx arclen-ui add index-wheel --settings eyJ3b3JkbWFyayI6IiIsIm5vdGVzIjpbXSwiaW50cm8iOiIiLCJpdGVtcyI6WyJ7XCJsYWJlbFwiOlwiUmlzb1wiLFwiaHJlZlwiOlwiXCIsXCJpbWFnZVwiOlwiZ2VucmUtcmlzb1wifSIsIntcImxhYmVsXCI6XCJDbGF5XCIsXCJocmVmXCI6XCJcIixcImltYWdlXCI6XCJnZW5yZS1jbGF5XCJ9Iiwie1wibGFiZWxcIjpcIk5vaXJcIixcImhyZWZcIjpcIlwiLFwiaW1hZ2VcIjpcImdlbnJlLW5vaXJcIn0iLCJ7XCJsYWJlbFwiOlwiUGl4ZWxcIixcImhyZWZcIjpcIlwiLFwiaW1hZ2VcIjpcImdlbnJlLXBpeGVsXCJ9Iiwie1wibGFiZWxcIjpcIkluZnJhXCIsXCJocmVmXCI6XCJcIixcImltYWdlXCI6XCJnZW5yZS1pbmZyYVwifSIsIntcImxhYmVsXCI6XCJHbGFzc1wiLFwiaHJlZlwiOlwiXCIsXCJpbWFnZVwiOlwiZ2VucmUtZ2xhc3NcIn0iXSwicGxhY2VtZW50IjoicmVzcG9uc2l2ZSIsImNvbnRyb2xTdHlsZSI6ImhhbWJ1cmdlciIsImJhZGdlUGxhY2VtZW50IjoiYXV0byIsInNob3dBcnJvdyI6dHJ1ZSwiYnV0dG9uRmluaXNoIjoicmFpc2VkIiwiaGFtYnVyZ2VyU2l6ZSI6MjgsImNsb3NlU2l6ZSI6MjgsInNob3dDaXJjbGUiOnRydWUsImNpcmNsZVNpemUiOjU2LCJvdXRsaW5lV2lkdGgiOjEsIm91dGxpbmVPcGFjaXR5Ijo0NSwiYWNjZW50IjoiI2ZmZmZmZiIsInN1cmZhY2UiOiIjMDAwMDAwIiwiaW5rIjoiI2ZmZmZmZiIsInN0YXJ0T3BlbiI6ZmFsc2UsImFuaW1hdGUiOnRydWUsInJhZGl1c1NjYWxlIjoxMDAsInNpZGVBbmdsZSI6MTYsImJvdHRvbUFuZ2xlIjoyOCwicm93VGlsdCI6ODAsIm5laWdoYm9yRmFkZSI6MjcsIm5laWdoYm9yU2hyaW5rIjo2LCJzaWRlV2lkdGgiOjQwLCJicmVha3BvaW50Ijo2NDAsImxhYmVsU2l6ZSI6MTgsImNvbXBhY3RMYWJlbFNpemUiOjE2LCJsYWJlbFdlaWdodCI6NDAwLCJsYWJlbENhc2UiOiJub25lIiwic2hvd051bWJlcnMiOnRydWUsIm51bWJlclNpemUiOjEwLjUsImltYWdlU2l6ZSI6NDcsImNvbXBhY3RJbWFnZVNpemUiOjM3LCJpbWFnZVJvdW5kaW5nIjo1MCwiaW1hZ2VCb3JkZXIiOjAsImltYWdlQm9yZGVyQ29sb3IiOiIjZmZmZmZmIiwic2hvd1J1bGVyIjp0cnVlLCJzaG93TWFya2VyIjp0cnVlLCJ0aWNrU2hvcnQiOjksInRpY2tMb25nIjoxOCwicnVsZXJPcGFjaXR5Ijo0NSwibWFya2VyV2lkdGgiOjIsIm1hcmtlckxlbmd0aCI6MjgsImJvdHRvbU1hcmtlckxlbmd0aCI6MTQsIm9wZW5pbmdJdGVtIjoxLCJlbnRyYW5jZVRpbWUiOjE1MDAsImVudHJhbmNlRGVsYXkiOjI0NSwic2V0dGxlVGltZSI6ODAwLCJyZXZlYWxUaW1lIjo3MDAsInNjcm9sbEdhaW4iOjEwMCwiZHJhZ0dhaW4iOjEwMCwibW9tZW50dW0iOjEwMCwiaWNvblN0cm9rZSI6Mi41LCJhcnJvd1NpemUiOjUyLCJvcGVuTGFiZWwiOiJNZW51IiwiY2xvc2VMYWJlbCI6IkNsb3NlIiwibGFiZWxGb250IjoiaW5zdHJ1bWVudCIsImJhY2tkcm9wT3BhY2l0eSI6NzAsImFycm93T3BhY2l0eSI6MTAwfQimport { IndexWheel } from "@/components/index-wheel";
export default function Example() {
return <IndexWheel {...{
"wordmark": "",
"notes": [],
"intro": "",
"items": [
"{\"label\":\"Riso\",\"href\":\"\",\"image\":\"genre-riso\"}",
"{\"label\":\"Clay\",\"href\":\"\",\"image\":\"genre-clay\"}",
"{\"label\":\"Noir\",\"href\":\"\",\"image\":\"genre-noir\"}",
"{\"label\":\"Pixel\",\"href\":\"\",\"image\":\"genre-pixel\"}",
"{\"label\":\"Infra\",\"href\":\"\",\"image\":\"genre-infra\"}",
"{\"label\":\"Glass\",\"href\":\"\",\"image\":\"genre-glass\"}"
],
"placement": "responsive",
"controlStyle": "hamburger",
"badgePlacement": "auto",
"showArrow": true,
"buttonFinish": "raised",
"hamburgerSize": 28,
"closeSize": 28,
"showCircle": true,
"circleSize": 56,
"outlineWidth": 1,
"outlineOpacity": 45,
"accent": "#ffffff",
"surface": "#000000",
"ink": "#ffffff",
"startOpen": false,
"animate": true,
"radiusScale": 100,
"sideAngle": 16,
"bottomAngle": 28,
"rowTilt": 80,
"neighborFade": 27,
"neighborShrink": 6,
"sideWidth": 40,
"breakpoint": 640,
"labelSize": 18,
"compactLabelSize": 16,
"labelWeight": 400,
"labelCase": "none",
"showNumbers": true,
"numberSize": 10.5,
"imageSize": 47,
"compactImageSize": 37,
"imageRounding": 50,
"imageBorder": 0,
"imageBorderColor": "#ffffff",
"showRuler": true,
"showMarker": true,
"tickShort": 9,
"tickLong": 18,
"rulerOpacity": 45,
"markerWidth": 2,
"markerLength": 28,
"bottomMarkerLength": 14,
"openingItem": 1,
"entranceTime": 1500,
"entranceDelay": 245,
"settleTime": 800,
"revealTime": 700,
"scrollGain": 100,
"dragGain": 100,
"momentum": 100,
"iconStroke": 2.5,
"arrowSize": 52,
"openLabel": "Menu",
"closeLabel": "Close",
"labelFont": "instrument",
"backdropOpacity": 70,
"arrowOpacity": 100
}} />;
}| Property | Type | Default |
|---|---|---|
wordmarkWordmark Up to 60 characters | text | "" |
notesStudio notes Minimum 0 itemsMaximum 5 itemsUp to 60 characters per item | string-list | [] |
introIntroduction Up to 350 characters | text | "" |
itemsMenu items Minimum 1 itemsMaximum 16 itemsUp to 7200 characters per item | string-list | ["{\"label\":\"Riso\",\"href\":\"\",\"image\":\"genre-riso\"}","{\"label\":\"Clay\",\"href\":\"\",\"image\":\"genre-clay\"}","{\"label\":\"Noir\",\"href\":\"\",\"image\":\"genre-noir\"}","{\"label\":\"Pixel\",\"href\":\"\",\"image\":\"genre-pixel\"}","{\"label\":\"Infra\",\"href\":\"\",\"image\":\"genre-infra\"}","{\"label\":\"Glass\",\"href\":\"\",\"image\":\"genre-glass\"}"] |
placementArc placement Options: responsive (Responsive), left (Left), right (Right), bottom (Bottom) | select | "responsive" |
controlStyleMenu control Options: hamburger (Hamburger → X), badge (Menu badge) | select | "hamburger" |
badgePlacementBadge position Options: auto (Match arc), left (Top left), right (Top right), bottom (Bottom centre) | select | "auto" |
showArrowHand-drawn arrow | boolean | true |
buttonFinishButton finish Options: outline (Thin outline), raised (Raised) | select | "raised" |
hamburgerSizeHamburger size (px) 12–48Step 1 | number | 28 |
closeSizeX size (px) 12–48Step 1 | number | 28 |
showCircleShow circle | boolean | true |
circleSizeCircle diameter (px) 44–100Step 1 | number | 56 |
outlineWidthOutline width (px) 0–5Step 0.5 | number | 1 |
outlineOpacityOutline opacity (%) 0–100Step 1 | number | 45 |
accentIndex marker | color | "#ffffff" |
surfaceSurface | color | "#000000" |
inkLettering | color | "#ffffff" |
startOpenStart with menu open | boolean | false |
animateAnimate navigation | boolean | true |
radiusScaleArc radius (%) 60–150Step 1 | number | 100 |
sideAngleSide item spacing (°) 8–28Step 1 | number | 16 |
bottomAngleBottom item spacing (°) 14–42Step 1 | number | 28 |
rowTiltSide label tilt (%) 0–100Step 1 | number | 80 |
neighborFadeFade per neighbour (%) 0–40Step 1 | number | 27 |
neighborShrinkShrink per neighbour (%) 0–15Step 1 | number | 6 |
sideWidthSide panel width (%) 30–100Step 1 | number | 40 |
breakpointMobile breakpoint (px) 320–1000Step 1 | number | 640 |
labelSizeLabel size (px) 11–36Step 1 | number | 18 |
compactLabelSizeCompact label size (px) 11–28Step 1 | number | 16 |
labelWeightLabel weight 400–700Step 50 | number | 400 |
labelCaseLetter case Options: none (As typed), uppercase (Uppercase), lowercase (Lowercase) | select | "none" |
showNumbersShow item numbers | boolean | true |
numberSizeNumber size (px) 8–20Step 0.5 | number | 10.5 |
imageSizeImage size (px) 24–92Step 1 | number | 47 |
compactImageSizeCompact image size (px) 24–72Step 1 | number | 37 |
imageRoundingCorner radius (%) 0–50Step 1 | number | 50 |
imageBorderImage border (px) 0–5Step 1 | number | 0 |
imageBorderColorImage border colour | color | "#ffffff" |
showRulerShow ruler | boolean | true |
showMarkerShow active marker | boolean | true |
tickShortShort tick (px) 2–20Step 1 | number | 9 |
tickLongLong tick (px) 4–38Step 1 | number | 18 |
rulerOpacityRuler opacity (%) 5–100Step 1 | number | 45 |
markerWidthMarker thickness (px) 1–6Step 1 | number | 2 |
markerLengthSide marker length (px) 6–48Step 1 | number | 28 |
bottomMarkerLengthBottom marker length (px) 4–32Step 1 | number | 14 |
openingItemOpening item 1–16Step 1 | number | 1 |
entranceTimeWheel entrance (ms) 100–2500Step 1 | number | 1500 |
entranceDelayEntrance delay (ms) 0–700Step 1 | number | 245 |
settleTimeItem settle (ms) 100–1500Step 1 | number | 800 |
revealTimePanel reveal (ms) 100–1500Step 1 | number | 700 |
scrollGainScroll sensitivity (%) 20–250Step 1 | number | 100 |
dragGainDrag sensitivity (%) 20–250Step 1 | number | 100 |
momentumDrag momentum (%) 0–200Step 1 | number | 100 |
iconStrokeIcon stroke (px) 1–5Step 0.5 | number | 2.5 |
arrowSizeArrow size (px) 24–80Step 1 | number | 52 |
openLabelMenu badge text Up to 24 characters | text | "Menu" |
closeLabelClose badge text Up to 24 characters | text | "Close" |
labelFontLabel typeface Options: instrument (Instrument Sans), system (System sans), serif (Serif), mono (Monospace) | select | "instrument" |
backdropOpacityBackdrop opacity (%) 0–100Step 1 | number | 70 |
arrowOpacityArrow opacity (%) 0–100Step 1 | number | 100 |
Index Wheel
Open the circular menu control to browse the image index. Scroll, drag along the arc or press an arrow key to move the wheel. Select a neighboring item to bring it to the marker. Select the centered item to follow its link. Escape closes the index and returns focus to the trigger.
Each navigation row stores a label, optional destination and image together. Six genres opens on Riso. Choose Studio under Content → Navigation → Menu set to open on Work instead. Both menu sets are bundled for offline use. To make your own, edit or add items, upload an image in each row, then choose Save as new set and enter a name. Saved sets live in this browser. Uploaded images travel with the configured component. A row without a link closes the menu and dispatches a bubbling meridian-select event with its index and label. Use a fragment or relative path for a local destination, or an HTTPS URL. Custom image URLs load from the location you provide.
Under Design → Appearance, Responsive arc placement uses the left edge at component widths of 640px and above and the bottom edge below 640px. Choose Left, Right or Bottom to use a fixed edge. Badge position follows the arc by default. Choose a specific badge position to place Menu and Close independently of the wheel. Menu control defaults to a circular hamburger that rotates into an X. Choose Menu badge for a labelled button. Under Hamburger and circle, adjust each icon size, circle diameter, outline width and opacity. The hamburger and X default to Raised. Choose Thin outline for a transparent centre. Raised uses Action Composer’s fill and shadows for the current surface colour. Show circle hides either finish and retains the touch target. The outline follows the Lettering colour and dims when open. Toggle the hand-drawn arrow separately under Appearance. You can add your own wordmark and introduction under Content. Reduced motion removes the reveal and wheel travel. The standalone HTML delivery includes a static poster for visitors with JavaScript disabled.
Credits
The photographic markers use original Arclen artwork. Instrument Sans is bundled under the SIL Open Font License 1.1.
Wheel geometry controls curvature, spacing and neighbour emphasis. Item labels and Image markers have separate sizes for wide and compact panels. Adjust each image’s zoom and focal point under Content. Ruler and marker controls set the graduations and selection indicator. Under Motion, choose the opening item and tune reveal timing, scrolling, dragging and momentum. Reduced motion takes precedence.
The preview runs the component’s own JavaScript. It respects reduced motion and pauses when off screen. The HTML bundle includes a static fallback.
Every setting in this panel comes from the component manifest. Preview size, pause and replay stay in the inspector.