Skip to main content

Marquee

Scroll a row of logos or tags endlessly, paused on hover & still for reduced motion.

View as Markdown

Installation

Component API

PropTypeDefaultDescription
childrenReactNode-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.
speednumber40How fast the row moves, in pixels per second.
How fast the row moves, in pixels per second.
reversebooleanfalseRuns left to right.
Runs left to right.
pauseOnHoverbooleantrueStops 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.
pausedboolean-
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.
pauseButtonbooleantrue
fadebooleantrueFades the row out at both ends.
Fades the row out at both ends.
ariaLabelstring-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.
shapenone | rounded | pillrounded
classNamestring-
focusboolean | stringtrue