Browse components
Prismatic Burst
A radial burst of light rays pulsing outward from the center, split into rainbow fringes by chromatic dispersion. WebGL.
Prismatic Burst
Installation
npx shadcn@latest add @glint-ui/prismatic-burstFirst 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/prismatic-burst.json
Usage
import { PrismaticBurst } from "@/components/ui/prismatic-burst";
<div className="relative h-96">
<PrismaticBurst rays={16} dispersion={1} />
</div>Props
| Prop | Type | Default | Description |
|---|---|---|---|
| tint | string | "#ffffff" | Multiplies the ray colors. |
| speed | number | 1 | Animation speed multiplier. |
| rays | number | 16 | Number of main rays. |
| dispersion | number | 1 | Chromatic split strength. |
| pulse | number | 0.6 | Outward pulse strength. |
| intensity | number | 1 | Brightness. |
| followMouse | number | 0.2 | How far the center drifts toward the cursor. |
| className | string | — | Extra classes for the root element. |