Scroll a row of logos or tags endlessly, paused on hover & still for reduced motion.
View as MarkdownInstallation
Component API
| Prop | Type | Default | Description |
|---|---|---|---|
children | ReactNode | - | The items, such as logos or tags, repeated for as long as the row runs. |
| The items, such as logos or tags, repeated for as long as the row runs. | |||
speed | number | 40 | How fast the row moves, in pixels per second. |
| How fast the row moves, in pixels per second. | |||
reverse | boolean | false | Runs left to right. |
| Runs left to right. | |||
pauseOnHover | boolean | true | Stops the row while a pointer is over it or focus is inside it. |
| Stops the row while a pointer is over it or focus is inside it. | |||
paused | boolean | - | |
onPausedChange | (paused: boolean) => void | - | Called when the pause key is pressed, with whether the row is now paused. |
| Called when the pause key is pressed, with whether the row is now paused. | |||
pauseButton | boolean | true | |
fade | boolean | true | Fades the row out at both ends. |
| Fades the row out at both ends. | |||
ariaLabel | string | - | What the row holds, read once by screen readers instead of the moving copy. |
| What the row holds, read once by screen readers instead of the moving copy. | |||
shape | none | rounded | pill | rounded | |
className | string | - | |
focus | boolean | string | true | |