Marquee preview

Marquee

An endless ticker for logos, testimonials or text, with edge fades and pause on hover.

  • Group
    Media
  • Origin
    Adapted · Magic UI · source
  • License
    MIT
  • Added
    Oct 18
npx shadcn@latest add @deank/marquee

The registry stays private. Install from the repo with a GitHub token — see the README.

Usage

import { Marquee } from "@/registry/components/marquee/marquee";

<Marquee>Label</Marquee>

Props

PropTypeDefaultDescription
reverse?booleanfalseRun right to left (or bottom to top) instead.
pauseOnHover?booleanfalsePause while the pointer is over the marquee.
childrenReactNode
vertical?booleanfalseScroll vertically.
repeat?number4How many copies of the content to lay out, so the loop never shows a gap.
duration?number40Seconds per loop.
gap?string"1rem"Gap between items, any CSS length.
fade?booleantrueFade the edges into the background.

Also accepts every prop of ComponentPropsWithoutRef<"div">.

When to use

Endless tickers for text, quotes or small cards.

When not to use

Logos specifically (logo-marquee has better hover/scrub) or essential content users must read.

Related

Logo marquee · Testimonial wall