AlertDialog
A AlertDialog component from the Sigil design system.
Import
import { AlertDialog, AlertDialogTrigger, AlertDialogContent, AlertDialogHeader, AlertDialogFooter, AlertDialogTitle, AlertDialogDescription, AlertDialogAction, AlertDialogCancel } from "@sigil-ui/components";Preview
Usage
<AlertDialog>...</AlertDialog>Sub-components
This component includes the following parts:
<AlertDialogTrigger><AlertDialogContent><AlertDialogHeader><AlertDialogFooter><AlertDialogTitle><AlertDialogDescription><AlertDialogAction><AlertDialogCancel>
Token integration
| CSS Variable | Purpose |
|---|---|
--s-overlay-bg | Overlay bg |
--s-overlay-blur | Overlay blur |
--s-duration-fast | Duration fast |
--s-overlay-padding | Overlay padding |
--s-overlay-radius | Overlay radius |
--s-radius-lg | Radius lg |
--s-overlay-surface | Overlay surface |
--s-surface | Surface |
--s-border-style | Border style |
--s-overlay-border | Overlay border |
--s-border | Border |
--s-overlay-shadow | Overlay shadow |