Print Desk

The Atom design system, rendered live from its own tokens and components — it cannot drift from what ships.

Docs Components

SegmentedControlexperimental

A compact switch for changing how the same data is presented — list or grid, chart or table, desktop or TV. It never navigates.

segmentedtoggleview-switcher

API

PropTypeDescription
items required{id, label}[]2–5 segments.
value requiredstringActive segment id (controlled).
onValueChange requiredfunctionReceives the next id.
aria-label requiredstringNames the group; buttons carry aria-pressed.

Design specifications

  • frame color-border-rule / radius-sm
  • active color-bg-inverse / color-text-inverse
  • divider color-border-hairline
  • font type-body-sm / weight-medium

Guidelines

  • must-notIf a segment navigates to a different route, it is Tabs or nav — not a segment.
  • shouldMore than 5 options belongs in a Select.