---
url: "https://vueda.dev/v3/reference/api/vue/AlertDialogContent.md"
title: "AlertDialogContent"
---

# AlertDialogContent

## Overview

The content panel of an AlertDialog, rendered in a portal with an overlay.

Theme entry: [AlertDialogContent](/v3/reference/theming/keys/AlertDialogContent.md)

## Props

| Name | Type | Required | Default | Description |
| --- | --- | --- | --- | --- |
| <span id="prop-themeOverride">themeOverride</span> | `Object` |  | `null` | A partial ThemeObject keyed by component name, merged over this component's theme and provided to descendants. |
| <span id="prop-class">class</span> | `import('vue').HTMLAttributes['class']` |  | `undefined` | Additional CSS classes to apply to the root element. |
| <span id="prop-trapFocus">trapFocus</span> | `boolean` |  | `undefined` | Whether to trap focus inside the content. |
| <span id="prop-forceMount">forceMount</span> | `boolean` |  | `undefined` | Whether to force mount the content. |

## Slots

### `default` {#slot-default}

Slot.

## Events

| Name | Description |
| --- | --- |
| `openAutoFocus` | Emitted when focus moves inside the content after it opens. |
| `closeAutoFocus` | Emitted when focus returns to the trigger after the content closes. |
| `escapeKeyDown` | Emitted when the Escape key is pressed. |

[Full event reference](/v3/reference/api/vue/AlertDialogContent/events.md)

## Source

`client/lib/shell/alert-dialog/AlertDialogContent.vue`
