Foundation

Border radius

Inline is a writing surface, not a collection of bubbles. Corners begin with the square highlighter mark and soften only as interface layers move away from the manuscript.

Character

The radius hierarchy moves outward from identity and writing: 0px for the mark, the document, and its margin question cards, 4px for controls, 8px for detached groups, and 12px for the largest isolated shell.

12px · large panel
8px · content card
0px · manuscript and mark
4px · control

Scale

The UI scale intentionally stops at 12px. Full radius is a semantic circle, not another card size.

None0px

Mark, document, margin card

XS2px

Indicator detail

Small4px

Control

Medium8px

Card

Large12px

Dialog or panel

Full9999px

Circle only

Component mapping

Choose radius by structural role. Importance, color, and size do not change the corner.

Border radius component mapping
ElementTokenValueReason
Inline markernone0pxSquare highlighter identity
Draft/manuscript planenone0pxCrisp document silhouette
Table/full-bleed listnone0pxOne continuous reading plane
Feedback/question cardnone0pxAnnotations share the manuscript plane
Code/progress trackxs2pxQuiet optical easing
Button/input/selectsm4pxDirect control silhouette
Tab/nav row/tagsm4pxAvoids pill-heavy chrome
Menu/popover/general cardmd8pxDefault detached surface
Dialog/major panellg12pxMaximum softening for an isolated layer
Avatar/status dot/radiofull9999pxShape carries identity, point status, or selection
Meter/progress trackfull9999pxA track under 8px tall reads as a line, not a pill

Nesting

Move down one step as surfaces move inward. When a child touches its parent edge, square the touching corners.

12px parent
8px card
4px field
0px rule
12px parent
8px child · 4px control
8px card
4px inset · 2px indicator
4px group
2px selection · 0px rule

Editorial, not bubbly

The square marker, the paper canvas, and the document plane with its margin question cards carry Inline’s identity. Radius supports containment; it is never the decoration.

Do
01

What is the one claim this essay defends?

Keep the button a crisp 4px rectangle and the draft plane square, and let the margin question card share the manuscript geometry.

Don’t
01

What is the one claim this essay defends?

Do not combine a pill button, a rounded question card, and an oversized document curve in the same workspace.

Rules

Radius communicates structure through a small, repeatable hierarchy.

  1. Keep the marker square. No radius may touch the Butter Yellow logo square.
  2. Default controls to 4px. Buttons and fields are soft rectangles, never pills.
  3. Default detached cards to 8px. Reserve 12px for dialogs and major standalone panels.
  4. Keep documents square. Draft planes, margin question cards, tables, and full-bleed lists do not need card corners.
  5. Step inward. Nested children use the same or a smaller radius, normally one step smaller.
  6. Reserve full for circles and thin tracks. Avatars, status dots, radios, circular controls, and meter tracks under 8px tall.
  7. Reject nearby one-offs. Do not introduce 6px, 10px, 14px, or 20px.
  8. Do not decorate with radius. Shape clarifies containment or interaction.