AnimationsNew

Marquee

An endless strip of cards or logos that loops seamlessly and can pause on hover.

Customize

color
accentColor
highlightColor

Based on Marquee (MIT license) · Terms of use

More in Pro

View all

Props

10 properties
PropertyTypeDefaultDescription
childrenReactNode—What to scroll: cards, logos, testimonials.
durationnumber40Seconds per loop. Lower is faster.
reversebooleanfalseScroll in the opposite direction.
pauseOnHoverbooleanfalsePause the strip on hover.
verticalbooleanfalseScroll vertically instead of sideways.
repeatnumber4Copies of the content in the strip, so there are no gaps.
colorstring"#ffffff"Main colour. Children read it as var(--marquee-c1).
accentColorstring"#a3a3a3"Second colour. Children read it as var(--marquee-c2).
highlightColorstring"#ffffff"Light highlight colour. Children read it as var(--marquee-c3).
classNamestring—Wrapper classes. Set the gap with [--gap:2rem].

Dependencies

2 required packages

npm install clsx tailwind-merge

Related components

View all