Skip to content

    Browse components

    Poster Stream

    Posters fly through 3D space in a curving vertical stream you steer by scrolling or dragging inside the container.

    Open
    Customize

    Installation

    npx shadcn@latest add @glint-ui/poster-stream

    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/poster-stream.json

    Usage

    import { PosterStream } from "@/components/ui/poster-stream";
    
    <div className="h-[32rem]">
      <PosterStream images={posters} speed={0.35} />
    </div>

    Props

    PropTypeDefaultDescription
    imagesReactNode—Array of image URLs.
    speednumber0.35Idle drift in posters per second.
    posterWidthnumber200Poster width in px.
    curvenumber0.7How far the stream bends away.
    swaynumber160Horizontal scatter in px.
    classNamestring—Extra classes for the root element.