# AlertDialog API

> Auto-generated API reference for `AlertDialog` from @vuetify/v0 (Vuetify0).
> Source of truth: https://0.vuetifyjs.com/api/alert-dialog

## Related

- https://0.vuetifyjs.com/components/disclosure/alert-dialog
- https://0.vuetifyjs.com/components/disclosure/dialog
- https://0.vuetifyjs.com/components/disclosure/popover

## AlertDialog.Root

### Props

| Name | Type | Default | Required | Description |
|---|---|---|---|---|
| `namespace` | `string \| undefined` | `"v0:alert-dialog"` | no | Namespace for dependency injection |
| `id` | `string \| undefined` | — | no | Unique identifier for the alert dialog (auto-generated if not provided) |
| `modelValue` | `boolean \| undefined` | `false` | no | — |

### Events

| Name | Type | Description |
|---|---|---|
| `update:model-value` | `[value: boolean]` | — |

### Slots

| Name | Type | Description |
|---|---|---|
| `default` | `AlertDialogRootSlotProps` | — |

## AlertDialog.Action

### Props

| Name | Type | Default | Required | Description |
|---|---|---|---|---|
| `namespace` | `string \| undefined` | `"v0:alert-dialog"` | no | Namespace for dependency injection |
| `disabled` | `boolean \| undefined` | `false` | no | Whether the action button is disabled |

### Events

| Name | Type | Description |
|---|---|---|
| `action` | `[event: AlertDialogActionEvent]` | — |

### Slots

| Name | Type | Description |
|---|---|---|
| `default` | `AlertDialogActionSlotProps` | — |

## AlertDialog.Activator

### Props

| Name | Type | Default | Required | Description |
|---|---|---|---|---|
| `namespace` | `string \| undefined` | `"v0:alert-dialog"` | no | Namespace for dependency injection |

### Slots

| Name | Type | Description |
|---|---|---|
| `default` | `AlertDialogActivatorSlotProps` | — |

## AlertDialog.Cancel

### Props

| Name | Type | Default | Required | Description |
|---|---|---|---|---|
| `namespace` | `string \| undefined` | `"v0:alert-dialog"` | no | Namespace for dependency injection |
| `disabled` | `boolean \| undefined` | `false` | no | Whether the cancel button is disabled |

### Slots

| Name | Type | Description |
|---|---|---|
| `default` | `AlertDialogCancelSlotProps` | — |

## AlertDialog.Close

### Props

| Name | Type | Default | Required | Description |
|---|---|---|---|---|
| `namespace` | `string \| undefined` | `"v0:alert-dialog"` | no | Namespace for dependency injection |

### Slots

| Name | Type | Description |
|---|---|---|
| `default` | `AlertDialogCloseSlotProps` | — |

## AlertDialog.Content

### Props

| Name | Type | Default | Required | Description |
|---|---|---|---|---|
| `namespace` | `string \| undefined` | `"v0:alert-dialog"` | no | Namespace for dependency injection |
| `closeOnClickOutside` | `boolean \| undefined` | `false` | no | Close dialog when clicking outside content |
| `closeOnEscape` | `boolean \| undefined` | `false` | no | Close dialog when pressing Escape |
| `blocking` | `boolean \| undefined` | `false` | no | Whether this dialog blocks scrim dismissal |

### Events

| Name | Type | Description |
|---|---|---|
| `cancel` | `[e: Event]` | — |
| `close` | `[e: Event]` | — |

### Slots

| Name | Type | Description |
|---|---|---|
| `default` | `AlertDialogContentSlotProps` | — |

## AlertDialog.Description

### Props

| Name | Type | Default | Required | Description |
|---|---|---|---|---|
| `namespace` | `string \| undefined` | `"v0:alert-dialog"` | no | Namespace for dependency injection |

### Slots

| Name | Type | Description |
|---|---|---|
| `default` | `AlertDialogDescriptionSlotProps` | — |

## AlertDialog.Title

### Props

| Name | Type | Default | Required | Description |
|---|---|---|---|---|
| `namespace` | `string \| undefined` | `"v0:alert-dialog"` | no | Namespace for dependency injection |

### Slots

| Name | Type | Description |
|---|---|---|
| `default` | `AlertDialogTitleSlotProps` | — |
