Modal vs toast vs bottom sheet for AI builders and vibe coders: 12 real app examples with copy-paste prompts
When to use which overlay, with numbers from 313 real screens in 68 popular apps, and a copy-paste prompt for each pattern in Lovable, Bolt, v0 or Cursor.

Ask an AI builder to "confirm before deleting" or "show a message when it's saved" and it will pick an overlay for you, usually a centred modal for everything. That's how vibe-coded apps end up interrupting people for things that should be a quiet toast, and quietly deleting things that deserved a real warning.
This guide is for people who build: AI builders shipping with Lovable, Bolt or v0, developers in Cursor or Claude Code, and founders who want their app to behave like the big ones. Designers are welcome too.
We looked at 313 overlay screens from 68 popular iOS apps: every toast and dialog, plus each app's bottom sheets. Here is which overlay big apps use for which job, the 12 best examples, and a prompt for each that you can paste into your AI builder.
How to use the prompts
- Lovable, Bolt or v0: paste one prompt per message and name the action it belongs to ("when the user deletes a project…"). Overlays are behaviour, not just layout.
- Cursor or Claude Code: ask it to build each overlay once as a shared component (Toast, ConfirmDialog, Sheet) and reuse it everywhere, so every confirm in your app behaves the same.
- Replace the [brackets] with your real action names. "Delete project" on the button beats "Yes" every time.
- Keep your brand. The prompts describe layout and behaviour, not colours. Add "use my existing theme" if the tool starts restyling things.
What 68 apps actually use

Every app uses bottom sheets and nearly every app uses toasts. Centred dialogs are rarer than you'd think: only 49 of 68 apps use one at all, and they save them for decisions.
The writing is where apps split. Most dialogs name the action on the button ("Block", "Delete", "Move to bin") instead of "Yes", but only 22% of toasts give you something to do, and just 8 offer Undo. An Undo toast is the single best upgrade in this post, because it lets you skip most confirmation dialogs altogether.
Here's the cheat sheet. Six jobs, the overlay big apps use for each, how often we saw it, and the app to copy:

1. Bottom sheets: for choosing
A sheet slides up over the page and keeps it in view. Use it when the person is picking something: a filter, an option, an action.
Zomato: a filter sheet that says what you'll get
Zomato's filter sheet is a small app of its own, and it ends with one clear button.
- 1"Filters and sorting" with "Clear All" in red at the top right. Undoing everything is one tap.
- 2A side rail of categories (Type, Flavour, Base, Roast level…), with a count badge on the ones you've used.
- 3Picture tiles instead of checkboxes: Latte, Filter, Irish, Cappuccino. Selected tiles get a coloured border.
- 4"Close" and a big "Show results" button pinned at the bottom, always in reach.
Build a filter bottom sheet for my [search results] page. It slides up to 90% height with a drag handle and a dimmed backdrop (tap or swipe down to close). Header: "Filters and sorting" on the left, a red "Clear all" text button on the right. Body: a left rail of filter categories with a small count badge when a category has active filters, and on the right a grid of image tiles for the active category; selected tiles get my accent border. Footer pinned to the bottom: a "Close" text button and a primary "Show [n] results" button that updates the count live as filters change.
Uber Eats: one filter, one small sheet
Not every filter needs a full screen. Uber Eats opens a short sheet for one question.
- 1The results stay visible behind the sheet ("80 results"), so you keep your place.
- 2"Rating" as the sheet's only title, with the current choice, "Over 4.5", spelled out under it.
- 3A stepped slider: 3+, 3.5+, 4+, 4.5+, 5. Faster than a list of radio buttons.
- 4A black "Apply" button with "Reset" under it. The main action is obvious; the escape is right there.
When the user taps a filter chip like [Rating] on my results page, open a short bottom sheet (auto height, not full screen) over a dimmed backdrop. Title centred: "[Rating]". Under it, the current value in words ("Over 4.5"). Then a stepped slider with labelled stops ([3+, 3.5+, 4+, 4.5+, 5]). Footer: a full-width primary "Apply" button and a text "Reset" button below it. Apply updates the chip label to the chosen value and closes the sheet.Runna: an action list with the danger at the bottom
When an item has several actions, Runna lists them in a sheet and makes the risky one look different.
- 1Edit and "Retire shoe" with icons, the safe actions first.
- 2"Delete shoe" last, in red, with a bin icon. Red text tells you this one is different before you read it.
- 3A separate "Cancel" button below the group, so a miss-tap can't delete anything.
Add an actions sheet to each [item] in my app, opened from a "…" button. It slides up from the bottom with rounded corners and shows a grouped list of actions with leading icons: [Edit], [Archive/Retire], and last a destructive "Delete [item]" in red with a bin icon. Below the group, a separate full-width "Cancel" button. Tapping Delete opens a confirm dialog; tapping anything else runs the action and closes the sheet.
2. Dialogs: for decisions
A centred dialog stops everything. Save it for actions that are hard to undo, and write the button as the action.
Cash App: name the person, explain the cost
A block is easy to do and hard to understand. Cash App's dialog fixes the second part.
- 1"Block Alaska?" The title is the action and the name, as a question.
- 2"They won't be able to send and receive money with you. Any pending payments will be canceled." Exactly what happens, in plain words.
- 3"Block" in red. The button repeats the action, not "Yes" or "OK".
- 4"Cancel" in grey underneath, so the safe choice is easy to find.
Make a reusable ConfirmDialog component and use it for [blocking a user]. Centred card over a dimmed backdrop. Title: "[Block] [name]?". Body: one or two sentences saying exactly what will happen ("They won't be able to [x]. Any [pending y] will be [z]."). Two stacked full-width text buttons: the action verb in red ("[Block]") and "Cancel" in grey. Focus starts on Cancel, Escape closes it, and the action button shows a spinner while the request runs.Google Photos: say what's lost and what's safe
Deleting a shared album worries people for the wrong reasons. Google Photos answers both questions.
- 1"Delete shared album?" A clear question as the title.
- 2"Deleting this album will permanently remove any photos added by others." What you lose.
- 3"Your photos and videos will remain safe in Google Photos…" What you keep. This line stops people panicking.
- 4"Keep album" and "Delete". Both buttons are verbs, so you never have to work out what "Cancel" cancels.
When the user deletes a [shared item] in my app, show a dialog titled "Delete [shared album]?" with two short paragraphs: first what will be permanently lost ("This will permanently remove [what others added]."), then what stays safe ("Your [own items] will remain safe in [App], but others will no longer be able to see them."). Buttons on the right, both verbs: "Keep [album]" and "Delete". Default focus on Keep.Zomato: two answers that aren't yes and no
Switching off Veg Mode isn't a yes-or-no question, so Zomato doesn't ask one.
- 1A big red alert icon signals a change worth reading.
- 2"Switch off Veg Mode? You'll see all restaurants, including those serving non-veg dishes." The consequence, in one line.
- 3"Just for today" is the first answer: the gentler choice.
- 4"All days" is the permanent one. An × at the top right is the way out.
When the user turns off [a preference] in my app, show a dialog with a round alert icon, the title "Switch off [Mode]?" and one line on what changes ("You'll see [x], including [y]."). Instead of Yes/No, give two stacked text buttons with real choices: "Just for today" (sets the preference off until midnight) and "All days" (turns it off permanently), plus a close × that keeps it on.3. Toasts: for news
A toast says "done" and gets out of the way. The best ones also say "undo".
Notion: a toast that can take it back
Notion changes your page instantly and shows a dark toast with Undo. No dialog needed.
- 1"Turned To-Do List into a wiki" and "Undo" in a small dark pill above the input. The change is already done, and reversing it is one tap.
Add a global toast system to my app. Toasts appear just above the bottom bar as a small dark pill: a short past-tense message ("[Turned page into a wiki]") and an optional action with an icon ("Undo"). They stay for 5 seconds (pause on hover or press), stack if several fire, and are announced to screen readers via aria-live="polite". Use it after [converting/archiving/moving] items: apply the change immediately, and call the reverse function if Undo is tapped.Wise: make Undo the most visible thing
Hiding a transaction is easy to do by mistake. Wise's toast makes undoing it the obvious move.
- 1"Transaction hidden" in a dark toast at the bottom, right where your thumb is.
- 2"Undo" in a bright green pill, the most colourful thing on the screen.
When the user [hides/archives/removes] an item from a list in my app, remove it immediately with a short collapse animation and show a dark bottom toast: "[Transaction hidden]" on the left and "Undo" as a pill button in my accent colour on the right. Keep the toast for 6 seconds. If Undo is tapped, restore the item to its exact position. Only call the server's delete endpoint after the toast expires, or treat the action as a soft delete.
Monzo: a toast that says how long
Copying a card number is sensitive. Monzo's toast adds the one detail that makes it safe.
- 1"Card number copied to clipboard for 2 minutes" with a green tick. It confirms the copy and tells you the clipboard will clear itself.
Add copy buttons next to [sensitive fields] in my app. On tap, copy the value, show a success toast with a check icon ("[Card number] copied to clipboard for 2 minutes"), and clear the clipboard after 2 minutes if it still holds that value. Place the toast above the bottom navigation, rounded, in a soft success colour, and dismiss it after 4 seconds.4. High stakes and permissions
When the stakes are high, a small dialog isn't enough. These apps give the moment more room.
Luma: slide to delete
Deleting an account should take more than one tap. Luma makes you slide, after telling you everything you'll lose.
- 1A red banner at the top: "Please cancel your future events before deleting your account." It catches the problem before you start.
- 2"Are you sure" in a sheet with a warning icon.
- 3What you'll lose, item by item: tickets, attendance records, events and guest data.
- 4"This action can't be reverted." In red, on its own line.
- 5"Slide to Delete". A slider can't be triggered by a stray tap.
For [account deletion] in my app, show a bottom sheet with a warning icon, the title "Are you sure", and a list of exactly what will be lost ("You will lose access to [x]. If you [y], all your [z] will be permanently erased.") followed by a red line "This action can't be reverted." Instead of a button, use a full-width red "Slide to delete" control that only fires when dragged to the end. Before the sheet opens, check for blockers (like [active subscriptions or upcoming events]) and show them as a red banner at the top instead.Turo: ask for notifications on a full screen
Before iOS shows its permission prompt, Turo explains what you'll get in its own words.
- 1"Later" in the top corner. Saying no is easy and doesn't feel like a fail.
- 2"Stay up to date" as the headline, not "Allow notifications".
- 3"If you allow notifications, you'll receive:" three specific things with icons, including trip instructions and host messages.
- 4"Allow notifications" only at the bottom, after the reasons.
Before triggering the system notification prompt, show my own full-screen pre-ask: a friendly illustration, the headline "[Stay up to date]", one sentence on why, then "If you allow notifications, you'll receive:" and three rows with icons listing specific notification types for my app. A primary "Allow notifications" button at the bottom triggers the real system prompt; a "Later" text button in the top corner dismisses it and asks again after the user's [first booking].
Linktree: show the notifications before asking
Linktree's permission sheet shows three real notifications, so you know what you're saying yes to.
- 1Three sample notifications on a bright card: "Your new link is popular!", a discount, a new feature.
- 2"Want tips, updates and early-access discounts on the go?" The question is about benefits, not permissions.
- 3"Get push notifications" as the main button.
- 4"Not now" as an outlined second button, as easy to press.
- 5A small note that you can opt in later in settings, so "Not now" isn't a dead end.
Show a notification pre-ask as a bottom sheet in my app, triggered after the user's first [success moment]. Top half: a brand-coloured card with three stacked mock notifications from my app (icon, bold title, one line, timestamp) showing real examples. Then the question "Want [tips, updates and discounts] on the go?", a primary "Get push notifications" button that triggers the system prompt, an outlined "Not now" button, and small grey text: "If an opt-in doesn't appear, you can turn it on in your device settings."
The overlay checklist
- Toast for news, dialog for decisions, sheet for choices.
- Prefer Undo to "Are you sure?" for anything you can reverse.
- Write buttons as verbs: "Delete project", "Keep album", never "Yes" or "OK".
- Say the consequence in one plain sentence before any destructive action.
- Put destructive actions in red and last in the list.
- Always have an easy way out: Cancel, an ×, a swipe down or a tap on the backdrop.
- Keep sheets connected to the page: show the content behind them and live result counts.
- Toasts: short, past tense, 4–6 seconds, announced with aria-live.
- Ask for permissions on your own screen first, with real examples and a "Not now".
- Make high-stakes actions physical: type the name, or slide to confirm.
Create a consistent overlay system for my app using my existing theme, then refactor existing alerts and modals to use it. 1) <Toast>: bottom-anchored dark pill, past-tense message, optional action ("Undo", "View"), 5-second timeout that pauses on hover, stacking, aria-live="polite". Use it after every save, copy, move or hide. 2) <UndoableAction>: applies a change instantly, shows a Toast with Undo, and only commits to the server when the toast expires. 3) <ConfirmDialog title body confirmLabel destructive>: centred card, consequence sentence in the body, the confirm button labelled with the verb and red when destructive, Cancel focused by default, Escape to close. Use it only for permanent actions. 4) <Sheet>: bottom sheet with drag handle, swipe-down and backdrop to close, sticky footer for primary actions; use it for filters (with a live "Show [n] results" button), pickers and item action lists (destructive item last, in red, plus a separate Cancel). 5) <PermissionPrompt type>: full-screen or sheet pre-ask with three example notifications or reasons, a primary allow button that triggers the system prompt, and a "Not now".Modal, toast and bottom sheet FAQ
What's the difference between a modal, a toast and a bottom sheet?
A modal dialog interrupts and needs an answer; a toast is a brief message that disappears on its own; a bottom sheet slides up from the bottom and holds content or choices while keeping the page in view. In the 68 apps we studied, every app used bottom sheets, 66 used toasts and 49 used centred dialogs.
When should I use a toast instead of a modal?
Use a toast to confirm something that already happened, such as saved, copied, sent or moved, and a modal only when the person must decide before something permanent happens. 91 of the 141 toasts we found confirm a success.
Should delete confirmations say Yes and No?
No. 69% of the dialogs we scored name the action on the button ("Block", "Delete", "Move to bin"). Pair it with one sentence on the consequence and, when it's destructive, make the button red.
Is an Undo toast better than a confirmation dialog?
For anything reversible, yes: it doesn't interrupt, and it protects against mistakes after they happen. Only 8 of the 118 toasts we checked offered Undo, so it's an easy way to feel more polished than most apps.
How do I build these with Lovable, Bolt, v0 or Cursor?
Ask for shared components, Toast, ConfirmDialog and Sheet, and use them everywhere. Each example above has a prompt for one pattern, and the starter prompt sets up the whole system at once.
How we did this. We counted which apps use each overlay from the element tags on all 39,257 screens of 68 iOS apps captured in 2026. We then looked at 313 overlay screens, every toast, dialog and action sheet plus one bottom sheet per app, and scored each toast and dialog by eye for actions, button wording, consequences and colour.
All product names belong to their owners. We show these screens to discuss design. No app on this page endorses this article. The small icons open each app's screens on UI Shots.
1234
1234
123
1234
1234
1234
1
12
1
12345
1234
12345

