A dialog that requires user response to proceed.
Made by imskyleenInstallation
Usage
API Reference
AlertDialog
Base UI API Reference - AlertDialog.RootAlertDialogTrigger
Base UI API Reference - AlertDialog.TriggerAlertDialogPortal
Base UI API Reference - AlertDialog.PortalThe keepMounted property is not supported in the AlertDialogPortal
component, as it is used for animation.
AlertDialogOverlay
Base UI API Reference - AlertDialog.Backdrop| Prop | Type | Default |
|---|---|---|
transition? | Transition | { duration: 0.2, ease: 'easeInOut' } |
...props? | HTMLMotionProps<"div"> | - |
The render property is not supported in the AlertDialogBackdrop component,
as it is used for animation.
AlertDialogPopup
Base UI API Reference - AlertDialog.Popup| Prop | Type | Default |
|---|---|---|
from? | 'top' | 'bottom' | 'left' | 'right' | top |
transition? | Transition | { type: 'spring', stiffness: 150, damping: 25 } |
...props? | HTMLMotionProps<"div"> | - |
The render property is not supported in the AlertDialogPopup component, as
it is used for animation.
AlertDialogClose
Base UI API Reference - AlertDialog.CloseAlertDialogHeader
| Prop | Type | Default |
|---|---|---|
...props? | React.ComponentProps<'div'> | - |
AlertDialogTitle
Base UI API Reference - AlertDialog.TitleAlertDialogDescription
Base UI API Reference - AlertDialog.DescriptionAlertDialogFooter
| Prop | Type | Default |
|---|---|---|
...props? | React.ComponentProps<'div'> | - |