Skip to content

Anatomy

The Anatomy section provides a labeled breakdown of a component, including a component copy, numbered markers over meaningful parts, and a list naming and listing styles and bindings of each part.

An Anatomy exhibit on the Figma canvas, showing numbered markers over a component's artwork alongside a matching content list

What It Includes

The artwork includes:

  • Component instance — a copy of the component’s default
  • Numbered markers — over each uniquely named element

The content includes:

  • Numbered Element — matching every marked element by number
  • Attributes — of styles like color, size, corner radius, strokes, effects, and typography in their default values
  • Bindings — of text, boolean, instance swap and slot props

Additional variant exhibits are included whenever a new, uniquely named layer is detected.

Examples

Multiple Anatomy Blocks

When a component has variants that reveal elements hidden by default — like an error message that only appears in an “error” state — Specs adds a second exhibit just for that variant. It shows only the newly revealed elements, so nothing already shown gets repeated.

Two Anatomy exhibits for a Checkbox Group component: a default exhibit marking root, Group label, and Items, and a second exhibit marking only the Error message revealed in that variant
A Checkbox Group component's Anatomy: the default exhibit marks root, Group label, and Items (1–3); a second exhibit for the error variant marks only the newly revealed Error message (4), without repeating what's already shown.

When Anatomy Gets Crowded

Components with many small, tightly packed, or visually similar elements can produce an exhibit that’s harder to read than it is useful — overlapping markers and a long, repetitive attribute list. In these cases, treat Anatomy as a starting point rather than the full picture, and cross-reference the component’s other spec sections for the details that got crowded out.

A Date Picker component's Anatomy exhibit, densely packed with numbered markers 1 through 59 and overlapping leader lines connecting them to individual calendar dates and controls
A Date Picker component's Anatomy exhibit — 59 markers connect via overlapping leader lines to individual dates, controls, and labels, illustrating how quickly a small, repetitive element set can overwhelm the output.