Marquee
Free, copy-pasteable Tailwind CSS & Framer Motion Marquee component. Accessible, fully responsive, dark-mode ready, and customizable.
Display client validation, partners, or product features dynamically with the Infinite Loop Marquee. Utilizing high-performance CSS keyframe transforms, this component loops children infinitely in horizontal or vertical layouts, pauses animations on hover, and integrates absolute edge transparency masks.
Great for logo showcase grids, client testimonial feeds, or vertical scrolling sidebars.
Implementation
Usage
Horizontal & Vertical Examples
Toggle hover over the rows below to pause the marquee animation loops.
"Business Wish made our dev time fly. The components are gorgeous."
"TypeScript safety combined with high-end Framer Motion. 10/10."
"Zero layout shifts. Extremely accessible widgets."
Horizontal Code Example
Vertical Code Example
Props
| Prop | Type | Default | Description |
|---|---|---|---|
children | ReactNode | — | Items to slide in loop |
direction | "left" | "right" | "up" | "down" | "left" | Direction of marquee transition |
vertical | boolean | false | Enables vertical layout and scrolling mode (overrides direction defaults) |
speed | number | 30 | Duration in seconds for a complete loop (lower values translate to faster animations) |
pauseOnHover | boolean | true | Pauses the scrolling path when pointer is hovering |
fadeEdges | boolean | true | Adds linear mask shadows on vertical or horizontal bounds |
className | string | "" | CSS classes for the outer wrapper |
innerClassName | string | "" | CSS classes for the track tracks |