Cave design system
العربية

Components

Overlays

Dialog

A modal decision with predictable focus and dismissal.

Interactive preview

Open web example

Locale updates direction, built-in messages and formatting. Applications provide their content translations. Isolate emails, phone numbers and identifiers from paragraph direction.

Configured code

Guidance

Use a native dialog on web and showDialog in Flutter. Give it a title. Focus stays inside while open, Escape closes it, and focus returns to the trigger. Use a clear cancel action.