Velocity Marquee
- from @motiq
Counter-rotating media rails that feed on page-scroll velocity: a smoothed reading surges them to ~6× and shears them ±10° while you scroll, then exhales back to a 36px/s drift over ~600ms. Hover or focus a rail to ease it to a quarter speed and lift the card out of the stream. One passive scroll listener, one rAF loop.
Install
New to shadcn? Set up your project
If your project already has a shadcn components.json, skip initialization. Otherwise, run this once from your project root.
pnpm dlx shadcn@latest initpnpm dlx shadcn@latest add @motiq/velocity-marqueeLive preview
No live preview has been built for this component yet.
Registry dependencies2
Packages0
No npm packages are installed with it.
