v0.0.1

Marquee

Loops content infinitely on its own, supporting any nodes, horizontal and vertical directions, reverse playback and hover-to-pause, while respecting reduced-motion preferences.

ReactTypeScriptMotionWebGLThemingAccessibility

Customize

Props

PropTypeDefaultDescription
childrenReactNode—Content to loop, any node
direction'left' | 'right' | 'up' | 'down''left'Direction the content travels in
durationnumber20Seconds for one full loop; a larger value scrolls slower
repeatnumber2Minimum number of copies; the actual count auto-expands to fill the container
gapnumber0Spacing between each copy of the content (px)
infinitebooleantrueWhether to repeat forever; when off, plays a single pass
pauseOnHoverbooleantrueWhether to pause while hovered
classNamestring—Extra class name