Browse components
Charge Band
A glowing horizontal band of plasma wrapped in flickering electric filaments; it bends toward the cursor. WebGL.
Charge Band
Installation
npx shadcn@latest add @glint-ui/charge-bandFirst time using @glint-ui? Add the registry to components.json once, or install by URL: npx shadcn@latest add https://glintui.vercel.app/r/charge-band.json
Usage
import { ChargeBand } from "@/components/ui/charge-band";
<div className="relative h-96">
<ChargeBand colorA="#38bdf8" colorB="#a855f7" />
</div>Props
| Prop | Type | Default | Description |
|---|---|---|---|
| colorA | string | "#38bdf8" | Color on one end of the band. |
| colorB | string | "#a855f7" | Color on the other end. |
| speed | number | 1 | Animation speed multiplier. |
| amplitude | number | 1 | Wave height. |
| thickness | number | 1 | Band thickness. |
| filaments | number | 6 | Electric filaments around the core. |
| intensity | number | 1 | Brightness. |
| className | string | — | Extra classes for the root element. |