Marquee

Loop content horizontally without end.

General

Pauses on hover and stops when the user prefers reduced motion.

Reverse

Use reverse to run the other way, for example in a second row.

Two rows

Run a second row in the other direction, with the same duration, so the two feel like one band.

APIs

Marquee.Props

AttributeDescriptionTypeAccepted valuesDefault
durationseconds for one full loopnumber-30
pauseOnHoverpause while hoveringboolean-true
reverserun in the other directionboolean-false
gapspace between itemsstring-2rem
...native propsHTMLAttributes--
Edit this page on GitHub