Skip to content

    Browse components

    Night Fold

    A dark, moody veil of slowly folding noise with a soft color tint and film grain. WebGL.

    Night Fold

    Open
    Customize

    Installation

    npx shadcn@latest add @glint-ui/night-fold

    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/night-fold.json

    Usage

    import { NightFold } from "@/components/ui/night-fold";
    
    <div className="relative h-96">
      <NightFold color="#7c5cff" />
    </div>

    Props

    PropTypeDefaultDescription
    colorstring"#7c5cff"Tint of the veil folds.
    speednumber1Flow speed multiplier.
    scalenumber1Size of the folds.
    intensitynumber1Brightness of the folds.
    grainnumber0.05Film grain amount.
    classNamestring—Extra classes for the root element.