10 best modal design examples for dashboards (2027)

By Ingot UI11 min read

A great modal states the decision in its title, shows what will change before the user commits, and ends with a button that names the action (“Delete workspace”, not “OK”). The ten examples below are real confirm, destructive, create, multi-step, invite and payment dialogs taken from the Ingot UI dashboard systems, ranked by how well they do that.

Summarize withChatGPTClaudePerplexity

On this page
  1. What makes a good modal
  2. The 10 best modal design examples
  3. How to design a modal
  4. Common mistakes

Every example in this list comes from Ingot UI’s own design systems, which were built from real product screens. That makes us biased, so treat this as a list of patterns we have tested rather than a neutral survey. Each example opens with its Figma layers, and most also ship React + Tailwind code that was checked against the Figma original. Across the 9 systems there are 347 modal components to choose from.

This post is about how a modal should look and read. If you are still deciding whether the task belongs in a modal at all, read modal vs drawer first: modals are for decisions, drawers are for records.

What makes a good modal

  1. 1The title is the decision. “Retry 331 failed runs?” or “Invite members”, written so the user knows what they are agreeing to without reading the body.
  2. 2Consequences are shown, not implied. Counts, amounts, affected people and what happens next sit in the body before the button, so nobody has to guess.
  3. 3One primary action, named with a verb and object. “Approve $720.00”, “Send 2 invites”, “Revoke access”. Cancel is always secondary and always present.
  4. 4Risk changes the friction. Reversible actions need one click. Destructive ones add a typed name, a 2FA code or a cooling-off period, and the primary button turns red.
  5. 5The footer carries context. Step counters, fees, seat limits or “Drafts save automatically” sit on the left of the footer, so the buttons never stand alone.
  6. 6It fits the job. Short forms stay short. Anything longer than a few fields gets steps, a preview column or moves to a full page.

The 10 best modal design examples

1. Delete workspace dialog with typed confirm and 2FA

Delete the Acme workspace? modal from Auton, Figma and React, Pro

Delete workspace dialog with typed confirm and 2FA: Delete the Acme workspace? modal from the Auton dashboard design system
  • The title asks the real question, “Delete the Acme workspace?”, and the subtitle says data is kept for 7 days before it is erased.
  • A grey “This will” panel lists four concrete losses with icons and numbers: 128 live credentials, 8 integrations, 12 members and 2 invites, 48,213 audit events.
  • Two layers of friction suit the risk: type “acme” to confirm, then a six-box 2FA code with the active box outlined in blue.
  • The red “Delete workspace” button carries a bin icon and sits next to a plain Cancel, so the destructive path is clearly labelled and never the default look.

Use it when: Workspace, project or account deletion where the action cannot be undone from the UI.

Open the code and FigmaMore from Auton

2. Publish to production with changelog and pre-flight checks

Publish v15 to Production modal from Axon, Figma and React, Pro

Publish to production with changelog and pre-flight checks: Publish v15 to Production modal from the Axon dashboard design system
  • The subtitle sets the stakes in one line: v14 is live now and runs already in progress finish on v14.
  • A “Changes since v14” box marks each change with a plus, tilde or minus, including value changes like “Confidence threshold 90% → 92%”.
  • Pre-publish checks use green ticks for passed items (24 of 24 regression tests) and an amber warning for the one item that needs review.
  • Two radio cards, “Publish now” and “Canary 10%”, let the user pick the rollout, and an “Announce in #finance-ops” checkbox sits in the footer.

Use it when: Deploys, releases and any “push this live” action in workflow, CI or content tools.

Open the code and FigmaMore from Axon

3. Segment builder with a live count side panel

Segment builder modal from Loopo, Figma and React, free

Segment builder with a live count side panel: Segment builder modal from the Loopo dashboard design system
  • A two-column layout: rules on the left (Plan is any of Plus, Studio AND Last open within 30 days), live results on the right.
  • The right panel shows “288 people match”, a 12-week bar trend in the coral accent and the first three matching people with avatars.
  • An “In plain words” box restates the rules as a sentence, which helps people who do not think in AND/OR logic.
  • The footer shows the cost of acting, “Reach: 288 sends, $0.14 from balance”, next to the “Save segment” button.

Use it when: Audience, filter or rule builders where users need to see the result before saving.

Open the code and FigmaMore from Loopo

4. Create campaign modal with a four-step stepper

Create campaign modal from MailPulse, Figma and React, Pro

Create campaign modal with a four-step stepper: Create campaign modal from the MailPulse dashboard design system
  • A stepper under the header shows Format, Content, Audience & schedule and Review, with step 1 filled in violet.
  • Four format cards in a 2 by 2 grid each have an icon, a name and one line on when to use it; the selected card gets a violet border and filled radio.
  • Only three fields follow (campaign name, send to, template), so the first step stays light.
  • “Drafts save automatically” sits in the footer, and the primary button says where it goes next: “Continue to content”.

Use it when: The first step of any multi-step create flow: campaigns, reports, automations.

Open the code and FigmaMore from MailPulse

5. Send payment step with balance and approval notice

Send payment modal from Montra, Figma and React, Pro

Send payment step with balance and approval notice: Send payment modal from the Montra dashboard design system
  • Step 2 of 3 is clear from the Payee, Amount, Review stepper and the “Step 2 of 3” footer label.
  • The payee from step 1 stays visible as a summary row (Ravi Patel, contractor, wire to Bank of America) with a “Change” link.
  • The “From account” select shows the available balance in green, $11,920, right where the user picks the source.
  • A blue info strip explains that payments over $1,000 need a second approver and names who, before the user reaches review.

Use it when: Payouts, transfers, refunds and any money movement split into steps.

Open the code and FigmaMore from Montra

6. Invite members with role cards and seat count

Invite members modal from Loopo, Figma and React, free

Invite members with role cards and seat count: Invite members modal from the Loopo dashboard design system
  • Emails become chips with initials inside a single field, and a line below says “2 people, 8 of 10 seats once they accept”.
  • Four role cards (Admin, Editor, Finance, Viewer) each explain the role in one line, so nobody has to open a permissions page.
  • An optional personal message is pre-filled with a realistic note, showing how the email will read.
  • The footer says “Invites expire in 7 days” and the button counts the result: “Invite 2 people”.

Use it when: Team, workspace and project invites in any multi-seat SaaS product.

Open the code and FigmaMore from Loopo

7. Bulk approval with budget impact bars

Approve 3 requests modal from Spendix, Figma and React, Pro

Bulk approval with budget impact bars: Approve 3 requests modal from the Spendix dashboard design system
  • The header uses a green check and states the total up front: $720.00 charged to Marketing and Engineering.
  • Each request is a row with vendor logo, item, requester and amount, ending in a bold total.
  • “Budget after approval” shows two progress bars with before and after values, for example $1,900 → $2,380 of $6,000.
  • The primary button repeats the amount, “Approve $720.00”, and a “Notify requesters” checkbox sits to its left.

Use it when: Bulk approve or reject flows in spend, procurement and review queues.

Open the code and FigmaMore from Spendix

8. One-time secret with countdown and stored confirmation

Credential issued modal from Auton, Figma and React, Pro

One-time secret with countdown and stored confirmation: Credential issued modal from the Auton dashboard design system
  • The subtitle sets the rule: copy it now, this is the only time the secret is shown.
  • The secret sits in a monospace field with a hide toggle and a green “Copied” state, plus a “hides in 4:52” timer above it.
  • A two-column list shows credential, agent, expiry, auto-rotate and scopes as small code chips.
  • There is no Cancel; the only exit is “I have stored it”, which makes the user acknowledge before the dialog closes.

Use it when: API keys, tokens, recovery codes and other values shown once.

Open the code and FigmaMore from Auton

9. Run a scan with depth cards and time estimates

Run a scan modal from Veriq, Figma and React, Pro

Run a scan with depth cards and time estimates: Run a scan modal from the Veriq dashboard design system
  • Three option cards (Quick, Full, AI pentest) each show what they cover and how long they take: about 4, 18 and 45 minutes.
  • The selected Full card is tinted orange and its time turns orange too, so the estimate follows the choice.
  • Assets are removable chips with a “+1 more” overflow, followed by Branch and Notify selects side by side.
  • The footer sums up the run, “Est. 18 min, 4 assets, 2 already running”, beside an orange “Start scan” button.

Use it when: Launching jobs, scans, exports or syncs that take time and use resources.

Open the code and FigmaMore from Veriq

10. Dark set-target modal with a split preview

Set a revenue target modal from Vantage, Figma and React, Pro

Dark set-target modal with a split preview: Set a revenue target modal from the Vantage dashboard design system
  • A dark surface with a violet accent shows how the same anatomy holds in a dark theme: icon, title, subtitle, close button.
  • Target and month sit side by side, with helper text showing the current value and the gap ($77,839, gap $2,161).
  • A “Split across legs” toggle reveals a table with violet bars, percentages and amounts that add up to the $80,000 total.
  • An amber note translates the target into effort: about 49 more subscriptions in August at today’s ARPU.

Use it when: Goal, budget and forecast settings in analytics or revenue dashboards.

Open the code and FigmaMore from Vantage

How to design a modal

The specs below are the ones the examples above share. They are a starting point for a dashboard on desktop, not a law; adjust them to your type scale and grid. The Ingot systems express them as tokens, which we cover in dashboard design best practices.

Sizes

Cap height at about 85% of the viewport and scroll the body, never the header or footer.
Modal typeWidthTypical content
Confirm or destructive440 to 520pxTitle, 1 to 2 lines of body, a consequence list, 2 buttons
Short create form520 to 600px3 to 6 fields in one or two columns
Multi-step or picker640 to 760pxStepper, option cards, tables or a grid of templates
Builder with preview880 to 1040pxTwo columns: form on the left, live result on the right

Anatomy and spacing

  • Header: 20 to 24px padding, a 32 to 40px icon tile, a 16 to 18px semibold title and a 13 to 14px muted subtitle. The close button sits top right with at least a 32px hit area.
  • Body: 20 to 24px side padding, 16 to 20px between field groups, 6 to 8px between a label and its input. Inputs are 36 to 40px tall.
  • Footer: a top border or a slightly tinted background, 16 to 20px padding, buttons on the right with 8px between them. Put context text (fees, step count, autosave) on the left.
  • Radius and depth: 12 to 16px corner radius with a soft, large shadow. The backdrop is a 40 to 60% dark overlay; a light blur is optional.
  • Buttons: primary on the far right, secondary to its left. Destructive actions use the danger colour for the primary only, never for Cancel.

States

  • Default: focus lands on the first field, or on Cancel for destructive dialogs, so Enter never deletes by accident.
  • Disabled primary: until required fields are valid or the typed confirm matches. Say why in helper text, as the Auton revoke dialog does (“The Revoke button unlocks when the name matches”).
  • Loading: keep the modal open, swap the primary label for a spinner plus a verb (“Publishing…”) and disable both buttons.
  • Error: show field errors inline and a single banner for server errors. Never close the modal on failure.
  • Success: close and show a toast for simple actions. Use a result state inside the modal only when there is something to copy or a next step to choose, like a one-time key.
  • Empty: pickers and template grids need an empty search state with a way out, such as “Start from blank”.

Multi-step modals

Use steps when the task has three or four clear phases and each one fits on one screen. Show a stepper with labels, keep earlier answers visible as a summary row with a “Change” link, and put “Step 2 of 3” in the footer. Back goes left of the primary button. If you need more than four steps, branching logic or a URL people can share, it belongs on a full page. The empty state guide covers what to show once the new thing exists but has no data yet.

Responsive behaviour

  • Below about 640px, turn the modal into a bottom sheet or a full-screen step with a sticky footer.
  • Collapse two-column fields to one column and move any preview panel below the form or behind a “Preview” tab.
  • Keep the primary button reachable with the keyboard open: a sticky footer, not a button at the end of a long scroll.

Accessibility

  • Use role="dialog" (or alertdialog for destructive confirms) with aria-modal="true", and point aria-labelledby and aria-describedby at the title and subtitle.
  • Trap focus inside the modal, close on Escape and return focus to the trigger when it closes. Base UI and Radix handle this for you.
  • Keep text at 4.5:1 contrast, including muted subtitles and footer notes, which are the usual failures.
  • Do not rely on red alone for danger. Pair it with an icon and words like “Delete” or “Revoke”.
  • Announce async results (copied, saved, failed) with a live region so screen reader users hear them.

Common mistakes

  • “Are you sure?” titles with “OK” and “Cancel” buttons. Name the object and the action instead.
  • Hiding the consequence. If 14 queued runs, 3 people or $720 are affected, say so in the body.
  • Typed confirmation on every action. Save it for the few that cannot be undone, or people stop reading.
  • Modals that open more modals. Use a step inside the same dialog or a page.
  • Long forms crammed into a modal with an inner scroll and the buttons pushed below the fold.
  • Closing the modal on a server error, which throws away everything the user typed.
Copy to FigmaCopy React codeSave
Copy to Figma (Pro)Copy React code (Pro)Save
Copy to Figma (Pro)Copy React code (Pro)Save
Copy to Figma (Pro)Copy React code (Pro)Save
Four more worth opening: a top-up with fee comparison, a bulk retry with failure breakdown, a card freeze with a “what happens” list, and an attack simulation with technique cards.

Modals rarely live alone. The dropdowns and popovers that open them are covered in dropdown menu design, and the wider picture of a working dashboard is in dashboard design examples. If you build with an AI coding agent, the Ingot MCP server lets it pull these exact components instead of inventing new ones.

Frequently asked questions

What is a modal in UI design?

A modal is a window that opens on top of the page and blocks it until the user finishes or dismisses a task. In dashboards it is used for decisions: confirm, create, connect, invite or delete.

How wide should a modal be?

Around 440 to 520px for confirm dialogs, 520 to 600px for short forms and 640 to 760px for multi-step or picker modals. Two-column builders with a live preview can go to about 1,000px on desktop.

Should a destructive modal use a red button?

Yes, use the danger colour on the destructive primary button and name the action, such as “Delete workspace”. Keep Cancel neutral and put initial focus on it.

When should a modal have multiple steps?

When the task has three or four clear phases that each fit on one screen, such as format, content, audience and review. Longer or branching flows work better as a full page.

How do I make a modal accessible?

Give it a dialog role with a labelled title, trap focus inside, close on Escape and return focus to the trigger. Keep all text at 4.5:1 contrast and never signal danger with colour alone.

About Ingot UI

Ingot UI is a library of nine dashboard design systems built from real product screens. Every generated React component is checked against its Figma original before it ships. How we write guides.

Components in this guide

Copy to FigmaCopy React codeSave
Copy to FigmaCopy React codeSave
Copy to Figma (Pro)Copy React code (Pro)Save
Copy to Figma (Pro)Copy React code (Pro)Save

Keep reading