itemsrequired The items in the scroll area. | React.ReactNode[] | — |
controlPlacement Where the controls sit relative to the content. | top-start•top-end•bottom-start•bottom-end•top-center•top-between•bottom-center•bottom-between | top-start |
infinite Wrap around: past the last item the track continues into the first. | boolean | false |
markers Show markers for the item count and the one in front. true puts them opposite the controls. | boolean•top•bottom | false |
draggable Drag the track with a pointer. On by default. | boolean | true |
step Items moved per control press. | number | 1 |
clip Clip the track at its edges instead of letting tiles paint past them. | boolean | false |
proximity Scale tiles by their distance from the one in front. true is a gentle default; a number is the drop per whole step. | boolean•number | false |
active Bring this item to the front. A command, not a lock — the run still moves on its own. | number | — |
onActiveChange Called with the index of the item that came to the front, however it got there. | (index: number) => void | — |
| …and every FlexProps prop | inherited | — |