Components
Confirmation Modal
A dialog for confirming user actions before proceeding
A modal dialog component that asks users to confirm important actions before proceeding, helping prevent accidental operations.
Usage
Tips
Confirmation Modal Variants
The Confirmation Modal isn't limited to destructive actions. It's versatile and can be used for any action requiring user confirmation. Available variants include:
default
destructive
outline
secondary
ghost
link
Each variant offers a distinct visual style to match the context and importance of the action being confirmed.
- Use for destructive or irreversible actions like deleting content
- Make the consequences of the action clear in the description
- Use color to indicate the severity of the action (red for destructive)