Skip to content
caliper ui pro docs

System map

Services 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.

Pro

Postgres fails.

4 services affected: CDN, Gateway, Auth, Billing.

Primary for auth and billing. Failover takes about two minutes.

State

When to use

  • Blast radius: what a change or an outage in one service reaches.
  • Explaining a layered architecture where the direction of dependency matters.

When not to use

  • Hundreds of services or arbitrary graphs; use a graph view.
  • Showing live health; use the status board.

Installation

terminal
pnpm dlx shadcn@latest add @caliper/system-map

Adds its 7 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

SystemMap

15 props
PropTypeDefaultDescription
labelstring"Services"Accessible name of the service list.
tiers *readonly SystemMapTier[]—The tiers, top first (usually edge, services, data).
services *readonly SystemMapService[]—
links *readonly SystemMapLink[]—
selectedstring | null—The chosen service id, or null for none. Controlled when set.
defaultSelectedstring | nullnull
onSelect((id: string | null) => void)—
modeSystemMapMode—`needs` shows what the service depends on; `breaks` shows what fails with it. Controlled when set.
defaultModeSystemMapMode"breaks"
onModeChange((mode: SystemMapMode) => void)—
statusDepthStatus"ready"
messagesDepthMessages—
onRetry(() => void)—
disabledboolean—
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, aria-label, aria-pressed and aria-live in step with state. Changes that matter are announced through a live region.

Notes for AI

Give your coding assistant this page as Markdown instead of screenshots: the props, keyboard and examples in one file.

/docs/components/system-map.md

The index of every part is at /llms.txt.

More in Developer tools