Connection beam
Sources feed a hub and the hub feeds destinations, with light running along each curve in the direction data goes. Curves are measured from where the real nodes land, so labels can be any length. A link can be idle.
- Stripe sends to Ledger
- Repository sends to Ledger
- Support inbox sends to Ledger (idle)
- Ledger sends to Warehouse
- Ledger sends to Team chat
- Ledger sends to Webhook (idle)
When to use
- Integrations and data flow on a settings or landing page.
- Showing which connections are live at a glance.
When not to use
- Real topologies with many links; use the flow diagram or system map.
- Anything where the order of events matters; a timeline says it better.
Installation
terminal
pnpm dlx shadcn@latest add @caliper/connection-beam
Adds its 2 files to components/ui/, each with its own stylesheet, and installs their packages. Pro installs with your access token, set up once per project. See Pro access. The first part also adds Caliper UI’s tokens; import them once as in Installation.
API reference
ConnectionBeam
6 props
PropTypeDefaultDescription
label *string—
hub *BeamNode—
sources *readonly BeamNode[]—
destinations *readonly BeamNode[]—
idlereadonly string[][]Ids of nodes whose link is idle.
classNamestring—
Keyboard
- No custom key handling; Tab and the native activation keys do the work.
Accessibility
It is built on native elements and keeps aria-hidden in step with state.
Notes for AI
Give your coding assistant this page as Markdown instead of screenshots: the props, keyboard and examples in one file.
/docs/components/connection-beam.mdThe index of every part is at /llms.txt.
More in Diagrams
Flow diagramA labelled node-and-edge diagram where packets travel along active connections.System mapServices on three tiers, drawn as planes: edge, services, data. Pick one to see what it needs, or what breaks if it fails, across the tiers. Affected blocks turn danger-tinted, needed ones turn grey, and the summary lists them by name.Orbiting logosLogos orbiting a centre.