Browse components
Pastel Curtains
Gentle pastel aurora curtains that sway in slow vertical folds, with soft light rays. WebGL.
Pastel Curtains
Installation
npx shadcn@latest add @glint-ui/pastel-curtainsFirst 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
| Prop | Type | Default | Description |
|---|---|---|---|
| colors | string[] | ["#6ee7b7","#a78bfa","#f9a8d4"] | Three curtain colors, back to front. |
| speed | number | 1 | Drift speed multiplier. |
| scale | number | 1 | Width of the folds. |
| intensity | number | 1 | Overall brightness. |
| className | string | — | Extra classes for the root element. |