Alert dialog
Confirmation for consequential actions.
Example
A representative composition rendered with the published package API.
Options
The decisions most consumers need to make when adopting this family.
opencontrolled · uncontrolled
Use controlled state when the application must coordinate the outcome.
| Option | Values or anatomy | Guidance |
|---|---|---|
open | controlled · uncontrolled | Use controlled state when the application must coordinate the outcome. |
Usage
Copy the package import and adapt the composition to product-owned content and state.
import { AlertDialog, AlertDialogAction, AlertDialogBody, AlertDialogCancel, AlertDialogClose } from "@conscia-labs/design-system";