Light runs the edge
Pure CSS, no JS per frame.
Light runs the edge
Pure CSS, no JS per frame.
Installation
bash
npx shadcn@latest add https://ui.noicess.fun/r/border-beam.jsonProps
| Prop | Type | Default | Description |
|---|---|---|---|
| duration | number | 8 | Seconds per revolution. |
| size | number | 140 | Beam width in px. |
| offset | number | 0 | Starting offset along the border, in degrees. |
| delay | number | 0 | Seconds before the beam starts. |