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.
| Prop | Type | Default | Description |
|---|---|---|---|
| items | ReactNode[] | Elements to scroll. Each is repeated to fill the track. | |
| duration | number | 30 | Seconds for one full loop. |
| reverse | boolean | false | Scroll right instead of left. |
| gap | number | 16 | Gap between items in px. |
| pauseOnHover | boolean | true | Pause the scrolling while the pointer is over the marquee. |
| fade | boolean | true | Fade the left and right edges. |
| repeat | number | 2 | How many times the items repeat inside one half of the track. Raise it if your items are narrower than the container. |
| className | string | Extra classes added to the outer element. |