Animated beam
An SVG beam linking two nodes.
A
B
Curved
A
B
API reference
Inputs
| Prop | Type | Default | Description |
|---|---|---|---|
from | string | '' | CSS selector of the element the beam starts from. |
to | string | '' | CSS selector of the element the beam ends at. |
curvature | number | 0 | Upward bow of the connecting curve in pixels. |
duration | number | 3 | Seconds for the travelling light to traverse the beam. |
Every ng-blatui component also accepts a class input to merge extra Tailwind classes onto the host.