Browse components
Glow Eddies
Luminous, colorful ether that flows on its own and swirls into eddies wherever the cursor moves. WebGL.
Glow Eddies
Installation
npx shadcn@latest add @glint-ui/glow-eddiesFirst time using @glint-ui? Add the registry to components.json once, or install by URL: npx shadcn@latest add https://glintui.vercel.app/r/glow-eddies.json
Usage
import { GlowEddies } from "@/components/ui/glow-eddies";
<div className="relative h-96">
<GlowEddies colors={["#7c3aed", "#22d3ee", "#f472b6"]} />
</div>Props
| Prop | Type | Default | Description |
|---|---|---|---|
| colors | string[] | ["#7c3aed","#22d3ee","#f472b6"] | Three colors blended through the flow. |
| speed | number | 1 | Animation speed multiplier. |
| scale | number | 2.2 | Noise scale; higher gives finer wisps. |
| swirl | number | 1 | How hard the cursor stirs the ether. |
| intensity | number | 1.2 | Brightness. |
| autoStir | boolean | true | Keep stirring on its own while the cursor is away. |
| className | string | — | Extra classes for the root element. |