---
url: "https://vueda.dev/v3/reference/theming/keys/CommandDialog.md"
title: "CommandDialog"
---

# CommandDialog

Source: `client/lib/theme/vueda-tailwind/controls/index.js`

> The [DialogContent.root](/v3/reference/theming/keys/DialogContent.md#theme-key-DialogContent-root) pane that hosts a [Command.root](/v3/reference/theming/keys/Command.md#theme-key-Command-root) at modal scale. Drops all padding so Command's own card radius, fill, and inner geometry own the dialog box, and `overflow-hidden` keeps the inner list's scroll edges clipped to the rounded corners.

Vue component: [CommandDialog](/v3/reference/api/vue/CommandDialog.md)

| Slot | Default classes | Description |
| --- | --- | --- |
| [content](/v3/reference/theming/keys/CommandDialog.md#theme-key-CommandDialog-content) | `overflow-hidden p-0` | The [DialogContent.root](/v3/reference/theming/keys/DialogContent.md#theme-key-DialogContent-root) pane that hosts a [Command.root](/v3/reference/theming/keys/Command.md#theme-key-Command-root) at modal scale. Drops all padding so Command's own card radius, fill, and inner geometry own the dialog box, and `overflow-hidden` keeps the inner list's scroll edges clipped to the rounded corners. |
| [header](/v3/reference/theming/keys/CommandDialog.md#theme-key-CommandDialog-header) | `sr-only` | The dialog header. Hidden with `sr-only` because the Command's own [CommandInput.root](/v3/reference/theming/keys/CommandInput.md#theme-key-CommandInput-root) acts as the visible label; the header still ships so accessible-name requirements are met for screen readers. |

<a id="theme-key-CommandDialog-content"></a>

## content

> The [DialogContent.root](/v3/reference/theming/keys/DialogContent.md#theme-key-DialogContent-root) pane that hosts a [Command.root](/v3/reference/theming/keys/Command.md#theme-key-Command-root) at modal scale. Drops all padding so Command's own card radius, fill, and inner geometry own the dialog box, and `overflow-hidden` keeps the inner list's scroll edges clipped to the rounded corners.

Default classes:

`overflow-hidden p-0`

Source: `client/lib/theme/vueda-tailwind/controls/CommandDialog.theme.js:18`

<a id="theme-key-CommandDialog-header"></a>

## header

> The dialog header. Hidden with `sr-only` because the Command's own [CommandInput.root](/v3/reference/theming/keys/CommandInput.md#theme-key-CommandInput-root) acts as the visible label; the header still ships so accessible-name requirements are met for screen readers.

Default classes:

`sr-only`

Source: `client/lib/theme/vueda-tailwind/controls/CommandDialog.theme.js:20`
