Skip to content
Interactive

InfiniteMarquee

A strip that loops with no seam at any width, repeating itself only as often as needed. Eases to a stop on hover, and stands still as a hand-scrolled strip under reduced motion.

Download
  • React
  • Tailwind CSS v4
  • motion

Props

NameTypeDefaultWhat it does
childrenReactNode—One run of the strip.
speednumber60Pixels per second.
direction"left" | "right""left"Way the strip travels.
pauseOnHoverbooleantrueEases to a stop under the pointer or on keyboard focus.
fadebooleantrueFades the two ends of the strip.
gapnumber32Space between pieces in pixels.
labelstring"Scrolling strip"Read by screen readers.
classNamestring""On the strip wrapper.