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

# CommandGroup

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

> A section of related [CommandItem.root](/v3/reference/theming/keys/CommandItem.md#theme-key-CommandItem-root) rows inside [CommandList.root](/v3/reference/theming/keys/CommandList.md#theme-key-CommandList-root). See also: [ComboboxGroup.root](/v3/reference/theming/keys/ComboboxGroup.md#theme-key-ComboboxGroup-root); identical recipe.

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

| Slot | Default classes | Description |
| --- | --- | --- |
| [root](/v3/reference/theming/keys/CommandGroup.md#theme-key-CommandGroup-root) | `text-foreground overflow-hidden p-1` | A section of related [CommandItem.root](/v3/reference/theming/keys/CommandItem.md#theme-key-CommandItem-root) rows inside [CommandList.root](/v3/reference/theming/keys/CommandList.md#theme-key-CommandList-root). See also: [ComboboxGroup.root](/v3/reference/theming/keys/ComboboxGroup.md#theme-key-ComboboxGroup-root); identical recipe. |
| [heading](/v3/reference/theming/keys/CommandGroup.md#theme-key-CommandGroup-heading) | 2 classes | The optional heading row above a group's items. See also: [ComboboxGroup.heading](/v3/reference/theming/keys/ComboboxGroup.md#theme-key-ComboboxGroup-heading); identical caps-mono-micro eyebrow on `--muted-foreground`. The class-order difference (no leading `font-mono`) is incidental: the rendered recipe matches because `font-mono` is restated later in the list. |

<a id="theme-key-CommandGroup-root"></a>

## root

> A section of related [CommandItem.root](/v3/reference/theming/keys/CommandItem.md#theme-key-CommandItem-root) rows inside [CommandList.root](/v3/reference/theming/keys/CommandList.md#theme-key-CommandList-root). See also: [ComboboxGroup.root](/v3/reference/theming/keys/ComboboxGroup.md#theme-key-ComboboxGroup-root); identical recipe.

Default classes:

`text-foreground overflow-hidden p-1`

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

<a id="theme-key-CommandGroup-heading"></a>

## heading

> The optional heading row above a group's items. See also: [ComboboxGroup.heading](/v3/reference/theming/keys/ComboboxGroup.md#theme-key-ComboboxGroup-heading); identical caps-mono-micro eyebrow on `--muted-foreground`. The class-order difference (no leading `font-mono`) is incidental: the rendered recipe matches because `font-mono` is restated later in the list.

Default classes:

```text
px-2 py-1.5 text-[length:var(--vueda-text-micro)]
font-semibold uppercase tracking-[0.04em] text-muted-foreground
```

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