Dev Design Library

Marquee

A scroll-velocity marquee with seamless loop math, eased hover pause, vertical/horizontal direction, ResizeObserver-based copy count, and full prefers-reduced-motion support.

Marquee preview
Library
Sona UI
Framework
React
Type
ui
License
MIT
Dependencies
motion
Install
npx shadcn@latest add @sona-ui/marquee
Files
  • src/registry/sonaui/marquee/marquee.tsx
  • src/registry/sonaui/sona-utils/sona-utils.ts
  • src/lib/sona-utils.ts
Source
https://github.com/Dinil-Thilakarathne/sona-ui

Categories

More from Sona UI