Skip to content

    Browse components

    Blind Light

    Warm light slanting in from one side through window blinds, with dust motes glinting in the beams. WebGL.

    Blind Light

    Open
    Customize

    left
    right

    Installation

    npx shadcn@latest add @glint-ui/blind-light

    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/blind-light.json

    Usage

    import { BlindLight } from "@/components/ui/blind-light";
    
    <div className="relative h-96">
      <BlindLight side="left" angle={0.35} />
    </div>

    Props

    PropTypeDefaultDescription
    colorstring"#ffe2b8"Light color.
    speednumber1Animation speed multiplier.
    side"left" | "right""left"Edge the light enters from.
    anglenumber0.35Downward tilt in radians.
    slatsnumber7Blind slats across the height.
    intensitynumber1Brightness.
    dustnumber0.6Amount of floating dust.
    classNamestring—Extra classes for the root element.