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

# CommandInput

## Overview

The search input for Command, bound to the shared filter state.

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

## Props

| Name | Type | Required | Default | Description |
| --- | --- | --- | --- | --- |
| <span id="prop-iconOverride">iconOverride</span> | `Object` |  | `null` | A partial icon registry (`{ [componentName]: { [iconName]: { component, props } } }`) merged with inherited and default icon entries; scopes icon overrides to this component and its descendants. |
| <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-modelValue">modelValue</span> | `string` |  | `undefined` | The controlled filter value. Can be bound with v-model. |
| <span id="prop-autoFocus">autoFocus</span> | `boolean` |  | `undefined` | When true, focuses the input on mount. |
| <span id="prop-disabled">disabled</span> | `boolean` |  | `undefined` | When true, prevents user interaction. |
| <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. |

## Source

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