Browse components
Luminescent Flows
Glowing currents drift like bioluminescent tides, with light pulses traveling along them and specks of plankton. WebGL.
Luminescent Flows
Installation
npx shadcn@latest add @glint-ui/luminescent-flowsFirst 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/luminescent-flows.json
Usage
import { LuminescentFlows } from "@/components/ui/luminescent-flows";
<div className="relative h-96">
<LuminescentFlows colorA="#2dd4bf" colorB="#818cf8" />
</div>Props
| Prop | Type | Default | Description |
|---|---|---|---|
| colorA | string | "#2dd4bf" | First current color. |
| colorB | string | "#818cf8" | Second current color. |
| count | number | 7 | Number of glowing currents. |
| speed | number | 1 | Flow speed multiplier. |
| scale | number | 1 | Size of the curves. |
| intensity | number | 1 | Overall brightness. |
| className | string | — | Extra classes for the root element. |