Skip to content

    Browse components

    Arc Marquee

    An endless marquee flowing along a curved path. Grab it to scrub, and flick to send it the other way.

    Open
    Customize

    left
    right

    Installation

    npx shadcn@latest add @glint-ui/arc-marquee

    First time using @glint-ui? Add the registry to components.json once, or install by URL: npx shadcn@latest add https://glintui.vercel.app/r/arc-marquee.json

    Usage

    import { ArcMarquee } from "@/components/ui/arc-marquee";
    
    <ArcMarquee text="Glint ✦ Motion ✦ Components ✦ " curveAmount={300} />

    Props

    PropTypeDefaultDescription
    textstring"Glint ✦ Motion ✦ Components ✦ "Text to loop. End with a separator for a seamless join.
    speednumber2Scroll speed in px per frame.
    curveAmountnumber300Depth of the curve; negative bends upward.
    direction"left" | "right""left"Initial scroll direction.
    interactivebooleantrueDrag to scrub and flick to change direction.
    classNamestring—Extra classes for the root element.