Components / Overlays / ConfirmOpen in Figma
Confirm
ReadyA small centred popup that asks people to confirm an action before it happens.
When to use
- The action can't be undone, such as delete or cancel.
- The action has a cost people may not expect.
When not to use
| If people need to | Use |
|---|---|
| Choose between several options | Bottom sheet |
| Tell people an action worked or failed | Toast |
| Ask for a reason when rejecting | Bottom sheet with a text field |
Anatomy
gpp_maybe
Title
Body text that says what will happen.
- Hero icon · required, 64
- Title · required: the question
- Body · optional: what will happen
- Cancel · required, outline, left
- Action · required, filled, right
Variants
| Variant | Purpose | Figma |
|---|---|---|
| Destructive | Delete, cancel, remove: Coral icon and Coral action | Designed |
| Non-destructive | An action with a cost that is not a loss: Antz green icon and action | Temporary rule |
States
| State | When | What changes | Figma |
|---|---|---|---|
| Default | The popup is open | As drawn | Designed |
Behaviour
- Opens over a Navy backdrop at 50%, centred on the screen.
- Cancel, or tapping the backdrop, closes it and nothing happens.
- The action button does the action and closes the popup; a toast confirms the result.
- Never stack a confirm on another confirm.
Phone and tablet
| Phone | Tablet | |
|---|---|---|
| Width | 358 (full width less 16 each side) | 358, centred |
Content
| Part | Rule |
|---|---|
| Title | A short question naming the action and the thing: "Delete record?" |
| Body | What will happen, in one or two lines |
| Action | The same verb as the title, such as "Delete"; never "Yes" or "OK" |
Do and don't
Delete record?
DoRepeat the verb on the action button.
Are you sure?
Don'tAsk "Are you sure?" with Yes and No.
Related
Specs
Click a value to copy it.
| Part | Property | Phone | Tablet |
|---|---|---|---|
| Backdrop | Colour | ||
| Popup | Fill | ||
| Corners | |||
| Width | |||
| Padding | |||
| Hero icon | Size | ||
| Colour | |||
| Title | Type | ||
| Colour | |||
| Space | |||
| Body | Type | ||
| Colour | |||
| Sides | |||
| Buttons | Height | ||
| Gap | |||
| Padding | |||
| Corners | |||
| Type | |||
| Cancel | Style | ||
| Action | Fill |
Accessibility
- The popup is an alert dialog: focus moves to the title; the screen behind can't be reached until it closes.
- Focus starts on Cancel, so a stray tap or key can't do the destructive action.
- White on Coral scores 3.1 for readability; the label is 16 Medium and one word, and the hero icon repeats the warning.
- Title in Teal ink scores 8.8 on white.
Changes
| Date | Change |
|---|---|
| 26 Oct 2026 | Added from Figma. Buttons set to 56. |
| 26 Oct 2026 | Non-destructive variant added as a temporary rule. |