Getting Started
Components
Text Animations
import { AlertDialogDemo } from "@/registry/example/alert-dialog-demo"<div className="relative h-[500px] w-full overflow-hidden">
<AlertDialogDemo />
</div>| Prop | Type | Default | Description |
|---|---|---|---|
className | string | - | Additional CSS classes for styling. |
open | boolean | - | Controls open state manually. |
onOpenChange | (open: boolean) => void | - | Callback to handle open state changes. |
| Prop | Type | Default | Description |
|---|---|---|---|
asChild | boolean | false | Whether to render the trigger as a child element. |
className | string | - | Additional CSS classes. |
| Prop | Type | Default | Description |
|---|---|---|---|
className | string | - | Additional CSS classes for styling. |
overlayClassName | string | - | CSS classes for the overlay. |
closeOnClickOutside | boolean | true | Whether clicking outside closes the dialog. |
| Prop | Type | Default | Description |
|---|---|---|---|
asChild | boolean | false | Whether to render the close trigger as a child element. |
className | string | - | Additional CSS classes. |
This is a container for the dialog header.
This is the title of the dialog.
This is a brief description of the dialog’s purpose.
This is a container for footer actions (e.g., buttons).