Skip to content

    Browse components

    Reel

    A vertical short-video reel that snaps clip to clip on scroll or drag, with story-style progress bars, slow Ken Burns motion, hold-to-pause and double-tap likes.

    Open
    Customize

    Installation

    npx shadcn@latest add @glint-ui/reel

    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/reel.json

    Usage

    import { Reel } from "@/components/ui/reel";
    
    <Reel
      items={[
        { src: "/clip-1.jpg", author: "maya.films", avatar: "/maya.jpg", caption: "Golden hour in Lisbon", likes: 12400, comments: 318 },
        { src: "/clip-2.jpg", author: "trailkid", caption: "Summit at sunrise", likes: 8900, comments: 120 },
      ]}
    />

    Props

    PropTypeDefaultDescription
    itemsReactNode—Array of { src, author, avatar?, caption, audio?, likes?, comments? }.
    durationnumber6000Ms each clip plays before advancing.
    autoPlaybooleantrueAdvance when a clip's progress bar fills.
    loopbooleantrueReturn to the first clip after the last.
    heightnumber440Height in px; width follows a 9:16 frame.
    classNamestring—Extra classes for the root element.