Put a WheelIndicator first, then one WheelColumn for each value.
repeat-picker.tsx
Wheel
<fieldset>| Prop | Type | Default | Description |
|---|---|---|---|
| size | "default""lg""sm" | "default" | |
| variant | "framed""plain" | "framed" | |
| layout | "drum""flat" | "drum" | drum bends the rows on a turning wheel; flat only fades them. |
| visible | number | 5 | How many rows show, an odd number (5 by default). |
| read | boolean | false | |
| invalid | boolean | false | |
| ...props | <fieldset> attributes | — | Every other attribute goes to the <fieldset>, with a ref. |
WheelIndicator
<div>| Prop | Type | Default | Description |
|---|---|---|---|
| ...props | <div> attributes | — | Every other attribute goes to the <div>, with a ref. |
WheelSeparator
<span>| Prop | Type | Default | Description |
|---|---|---|---|
| ...props | <span> attributes | — | Every other attribute goes to the <span>, with a ref. |
WheelUnit
<span>| Prop | Type | Default | Description |
|---|---|---|---|
| ...props | <span> attributes | — | Every other attribute goes to the <span>, with a ref. |
WheelColumn
<div>| Prop | Type | Default | Description |
|---|---|---|---|
| items | — | ||
| value | Value | — | |
| default | Value | — | |
| on | — | ||
| loop | boolean | true | Turn past the last row to the first (on by default). |
| align | "center""end""start" | "center" | Where the text sits in the row. |
| name | string | — | The form field name: a hidden input sends the value as text. |
| disabled | boolean | false | |
| read | boolean | false | |
| empty | ReactNode | "No options" | The text of a column with no items. Default "No options". |
| aria-label | string | — | |
| aria-labelledby | string | — | |
| ...props | <div> attributes | — | Every other attribute goes to the <div>, with a ref. |
| Tab | Moves to the next column. Each column is one tab stop. |
|---|---|
| Up ArroworDown Arrow | Turns the column one row and sets the value. |
| Page UporPage Down | Turns the column five rows. |
| HomeorEnd | Goes to the first or the last row that is not disabled. |
| Left ArroworRight Arrow | Moves to the column before or after. |









