Skip to content

    Browse components

    Pastel Curtains

    Gentle pastel aurora curtains that sway in slow vertical folds, with soft light rays. WebGL.

    Pastel Curtains

    Open
    Customize

    Installation

    npx shadcn@latest add @glint-ui/pastel-curtains

    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/pastel-curtains.json

    Usage

    import { PastelCurtains } from "@/components/ui/pastel-curtains";
    
    <div className="relative h-96">
      <PastelCurtains colors={["#6ee7b7", "#a78bfa", "#f9a8d4"]} />
    </div>

    Props

    PropTypeDefaultDescription
    colorsstring[]["#6ee7b7","#a78bfa","#f9a8d4"]Three curtain colors, back to front.
    speednumber1Drift speed multiplier.
    scalenumber1Width of the folds.
    intensitynumber1Overall brightness.
    classNamestring—Extra classes for the root element.