Marquee

An endlessly scrolling strip of content that loops seamlessly.

CanvasGeocoderPDF ViewerSticky NoteSignature PadEmoji PickerMention InputPing Indicator
Ping IndicatorMention InputEmoji PickerSignature PadSticky NotePDF ViewerGeocoderCanvas
Installation
Run the following command to install the `marquee` components:
npx shadcn-svelte@latest add https://more-shadcn.noair.fun/r/marquee.json
How it loops
The content is measured and repeated just enough times to cover the container plus one more copy sliding in, then the track moves by exactly one copy and its gap before snapping back — so the seam is never visible, at any width. speed is in pixels per second, so a short list and a long one move at the same pace.
It is a CSS animation, so it costs nothing per frame in JavaScript. It pauses on hover (turn off with pauseOnHover={false}) and whenever something inside it has keyboard focus, and stays still for users who prefer reduced motion. The repeats are hidden from screen readers and removed from the tab order, so links inside are announced and tabbed to once.
Vertical
up and down scroll vertically — give the marquee a height. fade masks the edges and fadeSize sets how far in it reaches.
Build passed on main
Branch feature/search opened
Deployed to staging
Slow query flagged
All checks green
Command Palette
Search for a command to run