Pop-up

One frame for every menu, picker, confirm and form on a touch phone: a card floating at the thumb, clear of every edge. Cédric, 3 Dec 2026: “The new menu on iOS looks pretty bad. Let’s properly design how we make these kinds of pop-ups look, and then adapt the same style for everything.” Of three placements he picked B, a floating card at the thumb (MAR-4595). It replaces the six hand-made frames the iPhone app drew its 21 pop-ups with, which disagreed on row heights, lines, corners and ways out. The app builds it as PopUp (src/ui/pop-up.tsx); every number on this page is the popUp token block.

Touch only. A fine pointer (desktop web, the Mac window) keeps the popover menus, the anchored panels and the centred dialogs, such as the avatar menu’s popover. Which one a screen shows is still the caller’s existing choice; the pop-up adds no new device test.

A menu: the avatar menu

The avatar menu’s real rows, in its one order (the avatar menu and the account row): the account row, then the group under her name and the group “Airmond”. The rows sit straight on the card’s fill, with no card inside the card and no line between them; the groups are set apart by their small muted names. Meetings is drawn pressed. Help has the only chevron, because it opens a second level inside the pop-up; every other row simply goes somewhere. There is no Cancel row and no ✕.

The avatar menu, Neutral light

Conversations

GeneralFound a few in Bridgend open Saturday: Blackout Barber…
Iceland trip logisticsFlights are booked for the 20th; hotel options are in your…
Q4 board packI put the numbers into the deck and left two questions.

The avatar menu, Neutral dark

Conversations

GeneralFound a few in Bridgend open Saturday: Blackout Barber…
Iceland trip logisticsFlights are booked for the 20th; hotel options are in your…
Q4 board packI put the numbers into the deck and left two questions.

A short menu with a destructive row

A conversation’s menu. Two groups with no names, so 8 of space parts them. Delete chat is the destructive row: its words and its mark are danger, in place, with no box round it.

The conversation’s menu, Neutral light

Conversations

GeneralFound a few in Bridgend open Saturday: Blackout Barber…
Iceland trip logisticsFlights are booked for the 20th; hotel options are in your…
Q4 board packI put the numbers into the deck and left two questions.

The conversation’s menu, Neutral dark

Conversations

GeneralFound a few in Bridgend open Saturday: Blackout Barber…
Iceland trip logisticsFlights are booked for the 20th; hotel options are in your…
Q4 board packI put the numbers into the deck and left two questions.

A question: confirm

The same frame in the same place: at the thumb, never a centred box on a phone. A title, the sentence as its muted line, then one foot of two buttons, the quiet Cancel and the commit, side by side and half the width each. The commit keeps the colour it has today, danger for a delete. A question has no ✕ as well. A confirm that can happen in place still happens in place, with no pop-up at all, and only one confirmation shows at a time.

Delete this chat?, Neutral light

Conversations

GeneralFound a few in Bridgend open Saturday: Blackout Barber…
Iceland trip logisticsFlights are booked for the 20th; hotel options are in your…
Q4 board packI put the numbers into the deck and left two questions.
Delete this chat?
“Iceland trip logistics” and everything in it are deleted for good. Ada keeps what she learned.
CancelDelete chat

Delete this chat?, Neutral dark

Conversations

GeneralFound a few in Bridgend open Saturday: Blackout Barber…
Iceland trip logisticsFlights are booked for the 20th; hotel options are in your…
Q4 board packI put the numbers into the deck and left two questions.
Delete this chat?
“Iceland trip logistics” and everything in it are deleted for good. Ada keeps what she learned.
CancelDelete chat

A form: rename

One field, then Cancel and Save. With the keyboard up the card sits 8 above it, and its foot keeps only the 10 minimum, because the keyboard covers the home indicator.

Rename, Neutral light

Conversations

GeneralFound a few in Bridgend open Saturday: Blackout Barber…
Keyboard

Rename, Neutral dark

Conversations

GeneralFound a few in Bridgend open Saturday: Blackout Barber…
Keyboard

Anatomy

The anatomy, Neutral light

Conversations

What the tags measure

  • The card stands 8 from the left, right and bottom of the window, all four corners at 38, at most 420 wide.
  • 8 of padding at the sides and the top; under the last row max(10, the bottom inset less 8), 26 on an iPhone with a home indicator.
  • The grabber, 36 by 5 in faint, then 6 before the content.
  • Title, group names and marks stand on one line, 20 in from the card’s edge; the words start 12 after the 24 slot.
  • Rows at least 44 high, 56 with a second line, with 7 kept above and below the words when a large text size makes one taller; corner 12 on the pressed fill. The dashed squares are the mark slots, drawn only here; the app draws no line round anything.
PartTokenValue
The card’s placepopUp.frame.inset8 from the left, right and bottom of the window
Corner, all fourpopUp.frame.radius38
WidestpopUp.frame.maxWidth420, centred on a wider touch window
Above the keyboardpopUp.frame.keyboardGap8
Padding at the sides / toppopUp.frame.paddingHorizontal / paddingTop8 / 8
Padding under the last rowpopUp.frame.paddingBottomMin / bottomInsetGivemax(10, bottom inset − 8)
TallestpopUp.frame.topClearancethe window less the top inset and 56 (8 plus a 48 tap target of dim, the one way out in a phone browser); past that the body scrolls
Line round the cardpopUp.frame.borderWidth0: none
GrabberpopUp.grabber.width / height / radius / gapBelow36 × 5, fully round, 6 above the content, faint
Title and muted linepopUp.head.inset / titleType / lineType / lineGap / gapBelow12 in from the content edge (on the marks), subheading over callout muted, 2 apart, 12 before what follows
RowpopUp.row.height / heightTwoLine44, 56 with a second line
Row padding / gap / cornerpopUp.row.paddingHorizontal / gap / radius12 / 12 / 12
Row padding above and belowpopUp.row.paddingVerticalat least 7, so a row grown by a large text size never touches the next; 44 and 56 already hold it
MarkpopUp.row.mark / markSlot / markTone20 outline in a 24 slot, ink; every row keeps the slot once one row has a mark
A person’s facepopUp.row.face32, the account row only, centred on the slot
Words / second linepopUp.row.wordsType / lineTypebody ink / caption muted
Right endpopUp.row.valueType / tick / chevrona caption muted value, or the 16 ink tick; a 16 chevron only for a second level
Line between rowspopUp.row.borderWidth0: none, anywhere
Between groupspopUp.group.gap8 of space
Group namepopUp.group.nameType / nameTop / nameBottom / nameInsetcaption muted, 14 above, 4 below, 12 in
Foot (a question or a form)popUp.foot.gap / top / buttonSizetwo buttons, half the width each, 8 apart, 16 below the sentence or field, the kit Button md (46); the quiet one’s plate is the pressed row’s fill
FillpopUp.tones.fillLight / fillDarksurface / surfaceRaised
Dim behindpopUp.tones.dimscrim; it fades, never slides
Pressed and current rowpopUp.tones.pressedLight / pressedDarksidebarAccent / ink at 0.08 over the fill (#333335)
DestructivepopUp.tones.destructivedanger words and mark, in place
MotionpopUp.motion.in / out / rise / easingrises 24 and fades in over base (240), leaves over quick (160), easeOut; under reduced motion nothing moves

The rules

RuleDoDon’t
No line between rowsPart groups with 8 of space or a small muted name.Draw a hairline, a rule or a divider between rows or groups, anywhere. Lines read as machine-made.
The ways outTap the dim, drag the card down, or press Android Back. The dim is the one accessible “Close” control.Add a Cancel row or a ✕ to a menu.
A pop-up that guards typingWhen the dim does not close it (a form protecting half-typed work), a drag down does not close it either; its Cancel does.Let a drag throw away what the dim protects.
Room to get outA tall pop-up stops 56 below the top inset, so a 48 band of dim always stays above it to tap.Grow the card to an 8 sliver under the top, which no finger can hit.
A question keeps its buttonsCancel and the commit as the foot, side by side, half the width each.Add a ✕ as well, or stack the two buttons as rows.
One cardA solid fill (never glass: words behind would read through it), rows straight on it, the card 8 clear of the sides and bottom, all four corners round.A grey card inside a white sheet, a sheet square to the bottom edge, or a centred box on a phone.
One rowThe standard menu row: at least 44 high (56 with a second line) and 7 above and below its words when it grows, a 20 ink mark in a 24 slot, words in body.A row of a different height or type size, or a chevron on a row that just goes somewhere.
Fine pointers keep the popoverDesktop web and the Mac window keep the popover menus and centred dialogs. Where a fine pointer does meet the card, it draws no grabber, since nothing drags there; Escape and a click on the dim are its ways out.Draw a grabber where nothing can drag, or bring the card to a screen that has a popover today.
ColourKit tones by name; coral only on a face; danger only on a destructive row or a delete.A new colour, blue or green.

Measured

PartColoursNeutral lightNeutral dark
Wordsink on the card18.88:113.28:1
Second line, value, group namemuted on the card5.99:15.81:1
A destructive rowdanger on the card5.20:14.58:1
A markink on the card (3.0 non-text)18.88:113.28:1
Words on a pressed rowink on the pressed fill15.70:110.67:1
Second line on a pressed rowmuted on the pressed fill4.98:14.67:1
A destructive row while presseddanger on the pressed fill (3.0: only while a finger is on it)4.32:13.68:1
The pressed fill, as a shapepressed fill on the card (texture)1.20:1 recorded1.24:1 recorded
The grabber, as a shapefaint on the card (texture: the dim is the control)2.58:1 recorded2.86:1 recorded

In dark, sidebarAccent is the same grey as the card’s surfaceRaised, so a pressed row drawn in it would vanish. Dark draws the pressed row as ink at 0.08 over the card instead (the Library row’s selected wash), which stands off the card as far as light’s does. The pairings above are claims in tokens/tokens.json, re-run by build/contrast-test.mjs, and build/pop-up-test.mjs pins the rest.

Consuming it

React Native: popUp in dist/ts/tokens.ts (tones are names of colors; popUp.tones.pressedDark is drawn at pressedDarkOpacity over the fill). Web: the --pop-up-* numbers in dist/css/airmond.css. The motion is the app’s own scale by name, motion.base in and motion.quick out. The row is the app’s MenuRowWords and MenuRowEnd (the standard menu row).