Browse components
Column Lines
Evenly spaced column lines with colored light pulses falling down them at random. Canvas 2D.
Column Lines
Installation
npx shadcn@latest add @glint-ui/column-linesFirst 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/column-lines.json
Usage
import { ColumnLines } from "@/components/ui/column-lines";
<div className="relative h-96">
<ColumnLines colors={["#a78bfa", "#f472b6", "#38bdf8"]} />
</div>Props
| Prop | Type | Default | Description |
|---|---|---|---|
| colors | string[] | ["#a78bfa","#f472b6","#38bdf8"] | Pulse colors (hex), picked at random. |
| lineColor | string | "#2f2f35" | Column line color. |
| gap | number | 40 | Distance between columns in px. |
| speed | number | 1 | Fall speed multiplier. |
| frequency | number | 2 | New pulses per second per 10 columns. |
| className | string | — | Extra classes for the root element. |