Warning Modal

Warning Modal is a Modals block from Orvain UI, built for React and Vue with a matching Figma frame.

Best for

Destructive actions that need a deliberate confirmation

Anatomy

Page with the button that opens it · alert dialog with focus on Keep it · tinted warning tile beside the text · solid red Delete · toast with Undo that restores the struck-through item · Don't-show-again with a Turn on link · bottom sheet on a phone

MCPConnect the MCP server
Northwind designComponents
AR
Button · PrimaryPlaced in 41 screens · edited 2 days ago
Used in
Checkout12 places
Sign in6 places
Account settings4 places

In the Orvain Library

Get Warning Modal for your product

The block’s code in React and Vue, its frame in the Figma file, and the Orvain MCP so your AI tools build with it. Part of every Library plan, alongside every other block.

  • React
  • Vue
  • Figma frame
  • Orvain MCP

About this block

Part of Modals

What’s inside

07parts

The pieces it is built from. Keep them all, or drop the ones your product doesn’t need.

  1. Page with the buttonthat opens it
  2. Alert dialogwith focus on Keep it
  3. Tinted warning tile beside the text
  4. Solid red Delete
  5. Toast with Undothat restores the struck-through item
  6. Don't-show-again with a Turnon link
  7. Bottom sheeton a phone

Responsive behaviour

880 px

Drawn at this width and never stretched past it. Below it, controls, text and spacing step down from the box the block sits in, not the window.

1440pxDesktop · 12 columns

When to use it

Where Modals earns its place

Reach for Modals

  • A destructive action you want someone to confirm deliberately
  • An error that has to be acknowledged before the app can carry on
  • A short form that would lose the reader's place if it took over the page
  • Announcing a change that has already happened behind the scrim

Reach for something else

  • Anything the reader does not have to answer: a toast says it and leaves
  • Long or multi-section forms: give them a page or a side panel so the work can be saved
  • Prompts fired on load before anyone has done anything: put that inline or in a banner

Accessibility

06to keep

What the block ships with. Hold on to these as you make it yours.

  • Named controlsEvery icon-only button keeps a text label, so a screen reader can say what it does.
  • Keyboard firstEvery control is reachable with Tab, and its focus ring stays visible.
  • More than colourA state never rides on colour alone; a mark or a word goes with it.
  • Contrast holdsRetheme freely, but keep text at or above the contrast it ships with.
  • Calm motionFor visitors who ask for reduced motion, things simply appear.
  • Room to hitTargets stay at least 24px, with space between neighbours.

Notes for AI

1 line

Is all your assistant needs. With the Orvain MCP connected, it builds the block from your own tokens and components.

Add the Orvain “Warning Modal” block to this page: page with the button that opens it, alert dialog with focus on Keep it, tinted warning tile beside the text, solid red Delete, toast with Undo that restores the struck-through item, Don't-show-again with a Turn on link, bottom sheet on a phone.

Works in
Connect the MCP

Questions about Warning Modal.

What is the Warning Modal block?

Warning Modal is a Modals block from Orvain UI, built for React and Vue with a matching Figma frame. Best for destructive actions that need a deliberate confirmation.

What is the Warning Modal block made of?

Is the Warning Modal block responsive?

Is the Warning Modal block accessible?

How do I add the Warning Modal block to my project?

When should I not use a Modals block?

More Modals blocks

All Modals

Error Modal

A problem the reader has to acknowledge before carrying on

Success Modal

Confirming something finished, with the icon over the words

Information Modal

Announcements the reader only has to read

Status modal, morph

Confirmations that should feel tied to the button that asked for them

Status modal, stakes

Decisions that should be made from the facts, and destructive ones that need a deliberate press

The Orvain Dispatch

Premium components, free in your inbox.

Join the Orvain Dispatch and get production-ready components, free to keep: React and Vue code plus the Figma frame, yours to ship.

Just components, never spam. You can unsubscribe anytime.