Signal Beam Diagram

An integration map where light travels: sources fire gradient pulses along hairline S-curves into a glass hub, which relays them to destinations. Select a node to isolate its route and read what flows through it.

Try it: Click (or Tab + Enter) a node to trace its route; use the pause button to stop the pulses.

Installation

Install with the shadcn CLI:

npx shadcn@latest add https://www.framekitui.live/r/signal-beam-diagram.json

Or, with the @framekit namespace registered: npx shadcn@latest add @framekit/signal-beam-diagram. You can also copy the source into components/ui/signal-beam-diagram.tsx (view on GitHub).

Usage

import { SignalBeamDiagram } from '@/components/ui/signal-beam-diagram'

Props

Component props
PropTypeDefaultNotes
sources / targetsBeamNode[]4 / 3 nodes{ id, label, detail?, icon? } on the left and right. `detail` is shown and announced when selected.
hub{ label, detail?, icon? }{ label: 'Relay' }The centre node; icon defaults to an abstract relay mark.
durationnumber2.6Seconds for one pulse to travel a path (1–8).
colors[string, string]['#8b74b5', '#f97316']Inbound and outbound pulse colours.
curvaturenumber0.55Connector bend, 0 (straight) – 1 (deep S).
autoPlaybooleantrueStart with pulses running. A pause button is always shown.
onSelect(id: string | null) => void—Fires when a node is selected or cleared.
classNamestring—Extra classes merged onto the root.

Dependencies

  • motion
  • lucide-react
  • Swing Price Tag

    A luxury swing tag hanging from a brass rail on a waxed cord. Brush past it and it swings like a real, lightly damped pendulum that settles and sleeps; tap it and it twirls over to the back for…

  • World Clock Globe

    A dotted planet you can spin, lit by the real sun — the night side dims along a live terminator, a 24-hour ring tracks the chosen city and every card ticks its own local time. Canvas 2D, no map tiles.

  • Paper Fold Accordion

    FAQ rows that open like a folded letter: two creased paper leaves swing open in CSS 3D (the top from its hinge, the bottom a beat later from the crease), shadows lift off the paper as it flattens…

  • Now Playing Widget

    A vinyl slides out of a generated sleeve and spins as a tonearm settles on it, an EQ breathes beside the title and progress ticks live with a scrubbable seek bar. Visual only — wire it to your own…

  • Tear-Stub Boarding Pass

    A frosted-glass boarding pass with a perforated stub. Drag the stub away and it resists, tears free with a ragged edge and tumbles out of frame while a "Boarded" stamp thumps onto the pass. Lays out…

  • Ring Progress Cluster

    Cluster of animated progress rings for queue depth, SLA, and capacity.

See all 15 Widgets components