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

# CommandGroup

## Overview

Groups related CommandItem elements with an optional heading.

Theme entry: [CommandGroup](/v3/reference/theming/keys/CommandGroup.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-heading">heading</span> | `string` |  | `undefined` | Optional heading text displayed above the group. |
| <span id="prop-as">as</span> | `string\|object` |  | `undefined` | The HTML element or component to render as. |
| <span id="prop-asChild">asChild</span> | `boolean` |  | `undefined` | Whether to render as a child element. |

## Slots

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

Slot.

## Source

`client/lib/controls/command/CommandGroup.vue`
