Browse components
Aurora
Slow drifting color blobs, blurred into a northern-lights glow. Pure CSS.
Installation
npx shadcn@latest add @glint-ui/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/aurora.json
Usage
import { Aurora } from "@/components/ui/aurora";
<div className="relative h-96">
<Aurora />
</div>Props
| Prop | Type | Default | Description |
|---|---|---|---|
| colors | string[] | ["#c6ff3d","#22d3ee","#a78bfa"] | Three blob colors. |
| speed | number | 14 | Seconds per drift cycle. |
| blur | number | 90 | Blur radius in px. |
| opacity | number | 0.55 | Blob opacity. |
| className | string | — | Extra classes for the root element. |