Overview
The Animated Beam component creates an SVG beam that connects elements with smooth animation. It’s perfect for visualizing connections, data flow, or relationships between UI elements.Usage
Props
Additional CSS classes to apply to the component for customization.
Reference to the container element where the beam is rendered.
Reference to the starting element from which the beam originates.
Reference to the ending element where the beam points to.
Controls the curvature of the beam; higher values create a more curved path.
Reverses the animation direction of the beam if set to
true.Color of the beam’s path.
Stroke width of the beam’s path.
Opacity of the beam’s path.
Starting color of the beam’s gradient animation.
Ending color of the beam’s gradient animation.
Delay before the beam’s animation starts, in seconds.
Duration of the beam’s animation cycle, in seconds.
Horizontal offset for the beam’s starting point.
Vertical offset for the beam’s starting point.
Horizontal offset for the beam’s ending point.
Vertical offset for the beam’s ending point.