Radius & sizes
Rounder popups, concentric corners: a menu is its item radius plus its inset (20 + 8 = 28). Every target is 44pt or more.
12radius/chip
14radius/control
20radius/card
28radius/popup
44radius/sheet
fullradius/full
size
Heights and hit areas.
| Token | Value | Points at | Flutter | CSS |
|---|---|---|---|---|
| size/icon | 24 | — | MoonshotSize.icon | var(--size-icon) |
| size/target | 44 | — | MoonshotSize.target | var(--size-target) |
| size/control | 48 | — | MoonshotSize.control | var(--size-control) |
| size/button-s | 48 | size/control | MoonshotSize.buttonS | var(--size-button-s) |
| size/menu-item | 48 | — | MoonshotSize.menuItem | var(--size-menu-item) |
| size/icon-button | 52 | — | MoonshotSize.iconButton | var(--size-icon-button) |
| size/key | 64 | — | MoonshotSize.key | var(--size-key) |
| size/button-l | 64 | — | MoonshotSize.buttonL | var(--size-button-l) |
radius
Corner radii. full is a StadiumBorder in Flutter.
| Token | Value | Points at | Flutter | CSS |
|---|---|---|---|---|
| radius/chip | 12 | — | MoonshotRadius.chip | var(--radius-chip) |
| radius/control | 14 | — | MoonshotRadius.control | var(--radius-control) |
| radius/card | 20 | — | MoonshotRadius.card | var(--radius-card) |
| radius/popup | 28 | — | MoonshotRadius.popup | var(--radius-popup) |
| radius/sheet | 44 | — | MoonshotRadius.sheet | var(--radius-sheet) |
| radius/full | 999 | — | MoonshotRadius.full | var(--radius-full) |
Corner smoothing
Every module that is not a pill or a circle uses 60% corner smoothing, the iOS setting in Figma. That covers cards, sheets, menus, chips and the fee receipt. The curve starts earlier and eases into the straight edge, which is what makes a corner feel native on an iPhone. This site still draws plain radii, so judge the corners in Figma or in the app.
Dart
// pubspec.yaml: figma_squircle under dependencies
Container(
decoration: ShapeDecoration(
color: c.bgRaised,
shape: SmoothRectangleBorder(
borderRadius: SmoothBorderRadius(cornerRadius: MoonshotRadius.card, cornerSmoothing: .6),
),
),
)
// A pill stays a StadiumBorder and a circle a CircleBorder: smoothing changes nothing there.