A
Auralix UI

Animated Beam

An animated beam of light connecting two elements.

Preview

A
B

Installation

bash
npx auralix-ui add animated-beam

Usage

Props

NameTypeDefaultDescription
containerRefRefObject-Container ref.
fromRefRefObject-Source element ref.
toRefRefObject-Target element ref.
durationnumberrandomAnimation duration.

Variants

Uni-Directional
A
B
Bi-Directional
A
B
Multi-Path
Hub
1
2