Animated beam

An SVG beam linking two nodes.

A
B

Curved

A
B

API reference

Inputs

PropTypeDefaultDescription
fromstring''CSS selector of the element the beam starts from.
tostring''CSS selector of the element the beam ends at.
curvaturenumber0Upward bow of the connecting curve in pixels.
durationnumber3Seconds 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.