Get StartedFoundationsComponentsPatternsIntegration
01.Get Started
02.Foundations
03.Components
04.Patterns
05.Integration
Overview
Accordion
Badge
Breadcrumb
Button
Gradient Button
FAB
Icon Button
Card
Checkbox
Chips
Date Picker
Dialogs
Divider
List
Loading
Menu
Options
Pagination
Radio
Scrollbar
Search
Selector
Skeleton
Slider
Swiper
Switch
Tabs
Text Field
TextArea
Toast
Tooltip

DIALOGS & SHEETS

PreviousDate Picker
DividerNext
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.

When to Use

Example: product shelf + Quick view dialog (decorative)

Pod lineup

Arctic Ice

Short description

$29
Add

Classic Mint

Short description

$29
Add

Berry Mix

Short description

$29
Add

Citrus Zest

Short description

$29
Add

Quick view

Classic Mint Pod

2 ml per pod · mesh coil

Strength

3%
5%
6%

Pack size

Single
3-pack
5-pack
Quantity
−
1
+

$29

Free shipping over $50

View full details

Close
Add to cart
  • Confirming destructive or irreversible actions (e.g. delete, discard changes)
  • Collecting short-form input that must be completed before proceeding
  • Presenting supplementary content in a side panel (Sheet) without leaving the current view
  • Showing a compact product summary from a listing (Quick view) without navigating to PDP
  • Avoid dialogs for long or complex forms — use a dedicated page instead

Usage Guidelines

DO

Keep titles concise and use red confirm buttons for destructive actions. Always provide a cancel/close path

Don’t

Don't nest dialogs — use a multi-step flow instead

DO

Keep forms inside dialogs simple (≤ 3 fields)

Don’t

Don't show large amounts of content in a dialog — use a separate page. Don't use dialogs for non-urgent information — use Toast instead

DO

Always provide a way out — keep at least one exit path (close button, cancel, or Escape)

Don’t

Don't disable all closing paths — users need a way out. Don't show large amounts of content in a dialog — use a separate page

Interaction Behavior

StateDescription
OpenOverlay fades in + dialog scales up from center; focus moves to first interactive element
Content interactionFocus is trapped inside dialog (focus trap), Tab cycles within
Click overlayCloses dialog (when closable=true)
EscapeAlways available, closes dialog
CloseAnimation reverses; focus returns to trigger element; page scroll resumes

Accessibility

RequirementImplementation
Semantic rolerole="dialog" + aria-modal="true"
Title associationaria-labelledby linked to the title element ID
Content descriptionaria-describedby linked to the body
Focus trapTab cycles within the dialog; cannot escape
Focus restorationFocus returns to the trigger button on close
Scroll lockDisables <body> scroll on open (overflow: hidden)