Pass the items, and act on the value when the wheel settles.
model-picker.tsx
ArcWheel
<div>| Prop | Type | Default | Description |
|---|---|---|---|
| items | — | The labels on the rim. | |
| value | string | — | The value of the selected item (controlled). It changes when the wheel settles. |
| default | string | — | The first item (uncontrolled). Default: the first of items. |
| on | — | ||
| scroll | string | "Click the wheel, then scroll to turn it" | Shown for a moment when a mouse wheel over the arc scrolls the page instead of the wheel. |
| disabled | boolean | false | No focus, no turn, dimmed. |
| read | boolean | false | Focusable and readable, but no key, drag, or wheel turns it. |
| name | string | — | The form field name: a hidden input sends the value. |
| ...props | <div> attributes | — | Every other attribute goes to the <div>, with a ref. |
| Up ArroworDown Arrow | Turns the wheel one label. |
|---|---|
| Page UporPage Down | Turns the wheel five labels. |
| HomeorEnd | Goes to the first or the last label. |
| A letter | Goes to the next label that starts with it. |
| Esc | Gives the mouse wheel back to the page. |













