This component is intended for staff-facing use only.
Use a dialog to:
- have a user confirm a potentially dangerous or destructive action
- allow a user to "peek" at the details of something without losing the context of the page underneath
Dialogs should only allow a user to take a single action. If many actions are possible, use a whole page instead.
Our dialog component is only compatible with React. It's based on the Reach UI dialog.