Workflow Network, animated React component
One trigger fans out to its targets along curved wires on a dark dotted canvas. Light runs out of the source along every wire at once, fills each one up to its target, holds, then drains and starts again, with an optional dot riding the front of each beam. Hover or focus a target to light only its route. Wires are measured from the real cards, so they stay attached at any width.
- Pro
- AI Components
- Hover
- Spring
Play with it
Move the controls and watch it change. Copy code gives you a snippet with only the props you changed.
Error Trigger5xx Detected
Mattermostpost: message
Twiliosend: sms
Kafkalog: event
Props
| Prop | Type | Default | What it does |
|---|---|---|---|
| source | FlowNode | an Error Trigger node | The node the wires start from: title, sub, colour and an icon. |
| targets | FlowNode[] | three demo targets | The nodes the wires end at. Each takes a title, sub, colour and icon (an inline SVG or an img of a logo). |
| beamColor | string | "#3b6cf6" | Colour of the light and the dot. |
| cycle | number | 2.6 | Seconds for one fill, hold and drain. |
| dots | boolean | true | Rides a dot on the front of each beam. |
| mode | "loop" | "once" | "loop" | Loop forever, or fill once and stay lit. |
| autoplay | boolean | false | Runs the beams. Off, the wires rest filled. Pauses off screen. |
| className | string | — | Extra classes for the canvas. |