Browse components
Laser Flow
A glowing laser beam pours down into a misty splash, with volumetric haze, flicker and drifting motes. Raw WebGL.
Laser Flow
Precision, poured into every pixel.
Installation
npx shadcn@latest add @glint-ui/laser-flowFirst 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/laser-flow.json
Usage
import { LaserFlow } from "@/components/ui/laser-flow";
<div className="relative h-96 bg-black">
<LaserFlow color="#b388ff" />
</div>Props
| Prop | Type | Default | Description |
|---|---|---|---|
| color | string | "#b388ff" | Beam color. |
| speed | number | 1 | Flow speed multiplier. |
| intensity | number | 1 | Overall brightness. |
| width | number | 1 | Beam core width multiplier. |
| impact | number | 0.28 | Where the beam lands (0 = bottom). |
| flicker | number | 0.5 | Flicker amount. |
| className | string | — | Extra classes for the root element. |