Metapane Docs Request early access

Design system / Components

Components

Screens are built from these components instead of styling their own controls. Each one has hover, pressed, focus and disabled states, works from the keyboard, and stays still under reduced motion.

Buttons

Primary, secondary, ghost, AI and danger buttons in three sizes, disabled buttons and icon buttons
Primary
The one main action in a view, like Done. Use it once per view.
Secondary
Other actions, like Reset to default.
Ghost
Quiet actions, like Cancel.
AI
Actions that run AI, like ✦ Make pictures.
Danger
Actions that remove something, like Delete page.
Icon button
An action shown as an icon only. It always has a name, shown as a tooltip on hover and keyboard focus, and read by screen readers.

Switch, checkbox and segmented control

Switches in ink and AI purple, checkboxes ticked, partly ticked and empty, and two segmented controls
UseWhenExample
SwitchA setting that applies at onceRemember my layout on this computer
CheckboxPicking items from a list, or agreeing before you press a buttonLink to Art direction, then Create
Segmented controlOne choice out of two to five named statesMap or Workflow

Tip: Settings that belong to AI, like checking each picture against the brief, use the purple switch.

Fields

Text fields with a hint and an error, a select, a disabled field and a text area

A field has a label above and at most one hint line below. When something's wrong, the error replaces the hint, says how to fix it, and is read out to screen readers.

Chips, badges and keys

Chips picked and not picked, an AI chip, status badges and keyboard keys
Chip
A small choice you can turn on: a filter, a suggestion.
Badge
A short status word, like Kept or Off brief. A badge is never a button.
Key
A keyboard shortcut, like Ctrl ,.

Tooltip, menu, info and dialog

Tooltip
The name of a control, after a short hover or at once on keyboard focus. One line only.
Info (i)
A third sentence or more. It opens on click or Enter, closes with Esc, and works on touch.
Menu
A list of actions. It closes when you pick one, click outside it, or press Esc.
Dialog
A task that needs your full attention. Tab stays inside it, Esc or a click outside closes it, and focus goes back to what opened it.

Feedback

Spinners, a progress ring, an info toast and an error toast, and an empty state
Spinner
Something is running. Purple when AI is working.
Progress ring
How full something is, like how much of the chat's context is used.
Toast
What just happened, for a few seconds. Errors stay longer and are read out.
Empty state
What a place says before anything is in it: one question, one line and one action.

AI motion

Three effects show what AI is doing. The beam and the thinking orb come from libraries.dev (MIT); the picture loader is our own. Each one appears only while AI works or you're talking to it, and stays still with reduced motion turned on.

Four pictures, then four purple mosaic tiles while new pictures are made, then the new pictures
Beam
Light in a full spectrum rises from the bottom edge of what AI is working on, and the other edges answer it: an Ask node while it answers, and the Chat input while Chat answers.
Thinking orb
A small dotted orb next to what AI is doing, like Working….
Making pictures
One white or dark tile for each picture being made, with the beam glowing on all four edges. When the pictures arrive, each one develops in its tile, from blurred to sharp, a beat apart.