Skip to content

Checked

Alert dialog

An alert dialog is a small modal window that interrupts a mobile screen to report a problem or ask for a decision. iOS calls it an Alert and Material 3 calls it a Dialog.

Why it matters

An alert stops the task, so every alert spends the person’s attention. Apple asks for alerts only when the information is essential and the person can act on it.

It is also the pattern most often misused: for news, at launch, or for an action that could simply be undone.

Alert dialog on iOS and Android

Also called Alert, Dialog, Confirmation dialog. The same idea in each system, with the values Appetite UI gives it.

Alert dialog at a glance, iOS, Android, Appetite UI
ValueiOSAndroidAppetite UI
NameAlertDialog: basic, list and scrollable listAlert and Modal
Dialog corner12 pt28 dpplatform/dialog/corner
Components side by side, component, iOS, Material 3, what differs
ComponentiOSMaterial 3What differs
DialogiOS / Alert, 300 wide at radius 32M3 / Basic dialog, 304 wide at radius 24Material has Basic, List and Scrollable list dialogs, iOS draws the alert as glass

In Appetite UI

Appetite UI has two components for it. Alert is the status dialog, with the types Verified, Error, Success and Warning, and Modal is the centered decision with a content slot. Both read their surface and text from semantic tokens, bg/raised, text/strong-950 and text/sub-700.

The Platform variable platform/dialog/corner moves the corner when a frame switches between iOS and Android.

Example

A notes app asks before throwing away an unsaved draft: the title “Discard Draft?”, the buttons Cancel and Discard. On iOS the two buttons sit side by side with the likely choice on the trailing side.

Common mistakes

  • Using an alert only to inform. If nothing is for the person to decide, show the message in context instead.
  • Titling the main button OK or Yes. Name the result, such as Discard or Convert; keep OK for purely informational alerts.
  • Opening an alert at launch. Show cached content and a quiet label instead.
  • Writing a title that wraps past two lines or reads “Error”. State what happened and why.

Questions

What is the difference between an alert and an action sheet on iOS?

An alert reports a situation or asks to confirm one action; an action sheet offers several choices that belong to an action the person started. Apple’s own example is cancelling a mail draft: delete, save or keep editing is an action sheet.

Is a Material 3 dialog the same as an iOS alert?

Both are modal windows that stop the task for a decision, but Material 3 has three kinds: basic, list and scrollable list. iOS has the one Alert with a title, optional text and up to three buttons.

Sources

The pages the facts above rest on, each read October 30, 2026.

  1. Apple Human Interface Guidelines: Alerts
  2. Material Design 3: Dialogs
  3. Material Components for Android: Dialog