v0.1 public beta early access on GitHub
Home / Components / marquee

MarqueeiOS

Infinite auto-scrolling content strip with hold-to-pause, direction control and SVG edge fades.

$ npx lumioui add marquee
import { Marquee } from "@/components/ui/marquee/marquee";
Props12
children React.ReactNode
direction? "left" | "right" Scroll direction. Default "left".
speed? number Scroll speed in px/sec. Default 48.
spacing? number Gap between loop copies in px. Default 32.
pauseOnPress? boolean Hold the strip to pause; release resumes from where it stopped. Default true.
playing? boolean Run the loop. Default true.
fadeEdges? boolean Gradient fades on both edges. Default true.
fadeWidth? number Fade width in px. Default 24.
fadeColor? string Fade tint — defaults to the theme background color.
contentClassName? string Classes for each content copy's row.
accessibilityLabel? string Label announced for the whole strip (role "text"). Tiled loop copies after the first stay hidden, so the content is never read twice.
className? string
Marquee — Reversereverse.tsx
marquee/variants/reverse.tsx open

Infinite auto-scrolling content strip with hold-to-pause, direction control and SVG edge fades.

Marquee — Tickerticker.tsx
marquee/variants/ticker.tsx open

Infinite auto-scrolling content strip with hold-to-pause, direction control and SVG edge fades.