Components
Alert Dialog
A modal dialog for alerting users about important actions or decisions.
Installation
NPM packages are currently unstable and may cause issues. Use it at your own risk.
Usage
AlertDialog Style Slots
| Slot Name | Targeted Component | Purpose |
|---|---|---|
base | AlertDialog | Styles the root AlertDialog component. |
trigger | AlertDialogTrigger | Styles the trigger element for the dialog. |
overlay | AlertDialogOverlay | Styles the background overlay for the dialog. |
contentWrapper | AlertDialogContent | Styles the wrapper around dialog content. |
content | AlertDialogContent | Applies styles to the dialog content element. |
header | AlertDialogHeader | Styles the dialog header. |
footer | AlertDialogFooter | Styles the dialog footer. |
title | AlertDialogTitle | Styles the title of the dialog. |
description | AlertDialogDescription | Styles the description text inside the dialog. |
action | AlertDialogAction | Styles the action buttons inside the dialog. |
cancel | AlertDialogCancel | Styles the cancel button inside the dialog. |