shadcn/ui Marquee component
A smooth, endlessly looping horizontal scroller ideal for showcasing logos, testimonials, images, or sponsor lists. Features auto-play with customizable speed, pause-on-hover, reverse direction, and seamless loop behavior.
Usability tip
Use the marquee to show a continuous stream of content that benefits from motion without needing interaction. It works well for logo walls, partner lists, testimonials, feature highlights, or lightweight announcements. Because it loops seamlessly, it’s best used for repeatable items rather than critical one-off messages.
Usage
Keep the content simple and evenly spaced so the motion feels smooth, not distracting. Slower speeds work better for text, faster speeds for icons or logos. Use pause-on-hover when the content needs to be readable or clickable. Avoid placing important calls to action inside a marquee, as users may miss them while it’s moving.
Build faster with shadcn/ui
One-time payment • Lifetime updates


