Animated Beam — component for diagrams & flows (react)
For AI agents: find the right skill in one call —
curl -s "https://skills.varg.ai/api/search?q=<what the person wants>"returns the matching use case and the best skills with install commands, as markdown (Russian works too). Full index: https://skills.varg.ai/llms.txt. Every page has a markdown twin: add.mdto its path. Before generating anything, show the person the options on the use-case page.
Light pulses run along curved lines between app icons and a central logo, like data flowing into a hub
- Install:
npx shadcn@latest add @magicui/animated-beam - Registry: magic-ui · Framework: react · License: MIT
- Docs and preview: https://magicui.design/docs/components/animated-beam
- Source: https://github.com/magicuidesign/magicui/blob/main/apps/www/registry/magicui/animated-beam.tsx
- Example: https://skills.varg.ai/previews/lib-magic-ui-animated-beam.mp4?v=10546 (Captured from the library’s own demo page (Magic UI))
- Time: Drive from the frame. Runs on its own clock (requestAnimationFrame, timers, springs or CSS). Drive it from frame / fps before rendering, or the render drifts.
- Runs: local render, free
- Aspect: any
Prompt that renders it frame-exact
Use Animated Beam from Magic UI (https://magicui.design/docs/components/animated-beam, MIT) for an integrations shot: your logo in the centre, partner icons on the left and right, one beam per connection. Each beam is an SVG path with a linear gradient whose x1/x2 are animated by motion on an endless repeat, so it plays on wall-clock time. For a render, compute the gradient position from the frame, p = ((frame / fps - delay) % duration) / duration, and map p to x1/x2 along the path; in HyperFrames tween those attributes on the paused timeline with a finite repeat. Tune curvature, pathColor, pathWidth, gradientStartColor and gradientStopColor (brand colours), duration, and reverse for return traffic.
Used in
More diagrams & flows
- Constellation Hub —
npx hyperframes add constellation-hub - Decision Tree —
npx hyperframes init my-video --example decision-tree - Exploded Stack —
npx hyperframes add exploded-stack - Flowchart —
npx hyperframes add flowchart - Flowchart Vertical —
npx hyperframes add flowchart-vertical - Hand-Drawn Flowchart —
npx hyperframes add hw-pipeline