Get StartedFoundationsComponentsPatternsIntegration
01.Get Started
02.Foundations
03.Components
04.Patterns
05.Integration
Overview
Confirmation
Empty State
Form Submission

CONFIRMATION

PreviousOverview
Empty StateNext
ELFBAR Design

V 0.1.0

A design system built for BMD teams.

Brand Marketing Department

Resources

  • GitHub
  • Storybook
  • Figma

Documentation

  • Changelog
  • Components
  • Tokens
  • Global market globe

Brands

  • ELFBAR Official
  • LostMary Official

Copyright © 2026 ELFBAR. All rights reserved.

Coming soon

The confirmation pattern applies to: deleting data, clearing a cart, submitting an irreversible form, account cancellation, and other high-risk actions.

Anatomy

  1. Trigger — Typically a danger-style Button (Error type)
  2. Confirmation Dialog — Centered modal containing:
    • Concise title (e.g. "Confirm deletion?")
    • One-sentence consequence description (e.g. "This action cannot be undone")
    • Cancel button (secondary) + Confirm button (destructive red)

Components Used

  • Button — Trigger and dialog action buttons
  • Dialogs — Confirmation Dialog type

Do's and Don'ts

Do

  • Use red/Error style for the confirm button to clearly communicate danger
  • Focus the title on the action itself ("Delete product") rather than a question ("Are you sure?")
  • Always provide a cancel path

Don't

  • Don't overuse confirmation dialogs (non-destructive actions don't need them)
  • Don't pre-select the "Confirm" button — default focus should be on "Cancel"
  • Don't include extra secondary actions in the dialog

This page is a work in progress and will include an interactive Demo and full design specifications.