[**Documentation**](../../../../README)

***

[Documentation](../../../../README) / [@zerotal/flow-ui](../../README) / [index](../README) / CommandProps

# Interface: CommandProps

Defined in: [flow-ui/src/components/Command.tsx:38](https://github.com/zerotaldev/zerotal/blob/1d6fb26b05b18ba077de1bfaeb46c42131cd8b70/packages/flow-ui/src/components/Command.tsx#L38)

## Indexable

> \[`key`: `string`\]: `unknown`

## Properties

### items

> **items**: [`CommandItem`](CommandItem)[]

Defined in: [flow-ui/src/components/Command.tsx:39](https://github.com/zerotaldev/zerotal/blob/1d6fb26b05b18ba077de1bfaeb46c42131cd8b70/packages/flow-ui/src/components/Command.tsx#L39)

***

### placeholder?

> `optional` **placeholder?**: `string`

Defined in: [flow-ui/src/components/Command.tsx:41](https://github.com/zerotaldev/zerotal/blob/1d6fb26b05b18ba077de1bfaeb46c42131cd8b70/packages/flow-ui/src/components/Command.tsx#L41)

Placeholder in the search box.

***

### emptyMessage?

> `optional` **emptyMessage?**: `string`

Defined in: [flow-ui/src/components/Command.tsx:43](https://github.com/zerotaldev/zerotal/blob/1d6fb26b05b18ba077de1bfaeb46c42131cd8b70/packages/flow-ui/src/components/Command.tsx#L43)

Shown when nothing matches.

***

### hotkey?

> `optional` **hotkey?**: `string` \| `null`

Defined in: [flow-ui/src/components/Command.tsx:48](https://github.com/zerotaldev/zerotal/blob/1d6fb26b05b18ba077de1bfaeb46c42131cd8b70/packages/flow-ui/src/components/Command.tsx#L48)

Key that opens it, with the platform modifier. Defaults to `k`.
Pass `null` to mount it closed with no global shortcut, opened by your own code.

***

### class?

> `optional` **class?**: `string`

Defined in: [flow-ui/src/components/Command.tsx:49](https://github.com/zerotaldev/zerotal/blob/1d6fb26b05b18ba077de1bfaeb46c42131cd8b70/packages/flow-ui/src/components/Command.tsx#L49)
