Browse components
Beam Pour
A glowing laser beam pours down into a misty splash, with volumetric haze, flicker and drifting motes. Raw WebGL.
Beam Pour
Precision, poured into every pixel.
Installation
npx shadcn@latest add @glint-ui/beam-pourFirst time using @glint-ui? Add the registry to components.json once, or install by URL: npx shadcn@latest add https://glintui.vercel.app/r/beam-pour.json
Usage
import { BeamPour } from "@/components/ui/beam-pour";
<div className="relative h-96 bg-black">
<BeamPour 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. |