StacklyUI
Component

Marquee

An infinite scrolling strip for logos, testimonials, or tags. The track is duplicated and translated with a single CSS keyframe, so it runs on the compositor and pauses on hover. Freezes to a scrollable row under reduced motion.

VercelLinearStripeRaycastSupabaseResend

Installation

Registry CLI — copy the source straight into your project:

$pnpm dlx shadcn@latest add @stacklyui/marquee

Or install the package and import it:

$pnpm add @stacklyui/ui motion

Usage

Pass any children — they're repeated repeat times to fill the track. Go vertical with vertical, flip direction with reverse, and set duration/gap to taste. The edge fade is on by default via fade.

Props

PropTypeDefaultDescription
durationnumber40Seconds for one full loop.
verticalbooleanfalseScroll vertically instead of horizontally.
reversebooleanfalseReverse the scroll direction.
pauseOnHoverbooleantruePause the animation while hovered.
fadebooleantrueMask-fade the leading/trailing edges.
repeatnumber2How many times children repeat to fill the track.