Marquee

An endless horizontal ticker for logos or badges. CSS only, pauses on hover, fades at the edges. Stack two with reverse for opposing rows.

Install it the shadcn way: copy the source file into your project. It uses CSS 3D, Tailwind CSS v4 and Framer Motion, no WebGL.

Marquee props

PropTypeDefaultDescription
itemsReactNode[]Elements to scroll. Each is repeated to fill the track.
durationnumber30Seconds for one full loop.
reversebooleanfalseScroll right instead of left.
gapnumber16Gap between items in px.
pauseOnHoverbooleantruePause the scrolling while the pointer is over the marquee.
fadebooleantrueFade the left and right edges.
repeatnumber2How many times the items repeat inside one half of the track. Raise it if your items are narrower than the container.
classNamestringExtra classes added to the outer element.

More components

Guides

Start

Cards

Scenes

Controls & text

Buttons

More cards

UI elements

Form controls

App components

Text & backgrounds

Showpieces

Blocks