Marquee

display

Infinite horizontal or vertical scrolling marquee for logos, testimonials, etc.

Preview

No preview available

Check the code examples below.

Installation

npm install @launchapp/design-system
Import
import { Marquee } from "@launchapp/design-system";

Examples

Logo marquee

<Marquee pauseOnHover>  {["Acme", "Globex", "Initech", "Umbrella", "Stark Industries"].map((name) => (    <div key={name} className="mx-8 text-sm font-semibold text-muted-foreground">{name}</div>  ))}</Marquee>

Props

PropTypeDefaultDescription
children*
React.ReactNodeItems to scroll.
direction
"left" | "right" | "up" | "down""left"Scroll direction.
speed
number30Animation duration in seconds.
pauseOnHover
booleantruePause scrolling on hover.