Beck
Docs /Visual reference

Visual reference

A live catalogue of Beck's visual vocabulary. Every card below is generated by reflecting over the Beck.Authoring token enums, so this page can never drift from the engine: each token's name and description come straight from the source, and the preview is a real diagram using that value.

For the keys these tokens slot into, see the YAML schema; for motion, see Flow & animation.

Node kinds

kind is a shorthand that picks a fitting icon, accent, and variant at once — every part stays independently overridable.

Service service

A running service or application — the default. Primary accent, service icon.

Service
Db db

A database or datastore. Info accent, database icon.

Db
Queue queue

A message queue. Warn accent, queue icon.

Queue
Cache cache

A cache such as Redis or memcached. Warn accent, cache icon.

Cache
Gateway gateway

An API gateway, load balancer, or edge. Primary accent, gateway icon.

Gateway
External external

A third-party or external system. Neutral accent, external icon.

External
User user

A person or client. Success accent, user icon.

User
Ghost ghost

A faint placeholder — dashed and transparent. Neutral accent, ghost variant.

Ghost

Node variants

variant sets a card's visual weight, independent of its kind.

Solid solid

A full-weight card — the default.

Solid
Subtle subtle

A dimmed, lower-emphasis card.

Subtle
Ghost ghost

Dashed and transparent — a placeholder.

Ghost

Accents

A token follows the theme and recolours in light and dark mode. Anywhere a colour is accepted you can also pass a raw CSS colour, which stays frozen.

Primary primary

Your brand colour — the primary token.

Primary
Success success

A positive or healthy state (emerald by default).

Success
Warn warn

A warning state (amber by default).

Warn
Danger danger

An error or critical state (red by default).

Danger
Info info

An informational accent (violet by default).

Info
Neutral neutral

A muted, neutral grey.

Neutral

Edge kinds

kind sets an edge's default style, colour, and packet motion. Each card animates so the per-kind motion — size, speed, glow, and easing — reads at a glance.

Data data

A data flow — the default. Solid line; a medium, steady packet.

AB
Control control

A control signal. Solid line; a small, fast, accelerating packet.

AB
Async async

An asynchronous message. Dashed line; a large, slow, eased packet.

AB
Dependency dependency

A dependency relationship. Dashed neutral line; a small packet with no glow.

AB

Edge curves

curve shapes the routed line between two endpoints.

StepRound step-round

Orthogonal with rounded corners (default).

ABC
Straight straight

A straight line between endpoints.

ABC
S s

Smooth S-curve.

ABC

Edge styles

style overrides the line stroke. Edge kinds set this for you; set it explicitly to override.

Solid solid

A solid line.

AB
Dashed dashed

A dashed line.

AB

Arrowheads

arrow chooses which ends of an edge carry an arrowhead.

None none

No arrowheads — an undirected link.

AB
End end

An arrowhead at the target end — the default.

AB
Start start

An arrowhead at the source end.

AB
Both both

Arrowheads at both ends — a two-way link.

AB

Class relation kinds

kind on a type: class relation picks the UML line and end markers. Write each one the way you'd say it aloud — Order inherits Entity, Order is composed of OrderLines — and see Draw a class diagram for the direction conventions.

Inherits inherits

Child extends parent (hollow triangle at the parent).

OrderEntity
Implements implements

Class implements an interface (dashed, hollow triangle).

Order«interface»IAuditable
Association association

A plain directed association.

OrderCustomer
Aggregation aggregation

Whole–part where the part outlives the whole (hollow diamond at the whole).

TeamPlayer
Composition composition

Whole–part where the part's lifetime is owned (filled diamond at the whole).

OrderOrderLine
Dependency dependency

A usage dependency (dashed, open arrowhead).

Order«interface»INotifier

Layout directions

meta.direction sets the primary axis the layout flows along.

Tb Tb

Top to bottom (default).

`meta.direction` must be one of: TB, BT, LR, RL (got "Tb")
Bt Bt

Bottom to top.

`meta.direction` must be one of: TB, BT, LR, RL (got "Bt")
Lr Lr

Left to right.

`meta.direction` must be one of: TB, BT, LR, RL (got "Lr")
Rl Rl

Right to left.

`meta.direction` must be one of: TB, BT, LR, RL (got "Rl")

Packet shapes and easing

The shape and easing of a travelling packet live on the Flow & animation reference, where they animate alongside the rest of the motion vocabulary.