Browse components
Soft Aurora
Gentle pastel aurora curtains that sway in slow vertical folds, with soft light rays. WebGL.
Soft Aurora
Installation
npx shadcn@latest add @glint-ui/soft-auroraFirst time using @glint-ui? Add the registry to components.json once, or install by URL: npx shadcn@latest add https://glint-ui-seven.vercel.app/r/soft-aurora.json
Usage
import { SoftAurora } from "@/components/ui/soft-aurora";
<div className="relative h-96">
<SoftAurora 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. |