Lumeo

AnimatedBeam

SVG beam that traces an animated gradient path between two DOM elements.

When to Use

  • Visualize data flows between services in integration or architecture diagrams.
  • Connect icon nodes in a feature showcase or product diagram.
  • Add motion to "how it works" sections by tracing steps together.
A
B
🔌

API Reference

Property Type Default Description
FromIdstring?nullThe id of the source element.
ToIdstring?nullThe id of the destination element.
DurationMsint3000Duration of one traversal in milliseconds.
DelayMsint0Delay before the first cycle.
Curvaturedouble0.3Bezier curvature (0 = straight line).
Colorstring"var(--color-primary)"CSS color of the beam gradient.
Opacitydouble0.85Peak opacity of the beam (0–1).
PathWidthdouble1Width of the guide path stroke in px.
BeamWidthdouble2Width of the animated beam stroke in px.
  • Ripple — Concentric expanding rings emanating from a center.
  • Sparkles — Decorative sparkle particle animation.