Skip to main content

CommandInput

CommandInput(__namedParameters): Element

Search input field with magnifying glass icon

Based on Command

Parameters

__namedParameters

Omit<Pick<Pick<DetailedHTMLProps<InputHTMLAttributes<HTMLInputElement>, HTMLInputElement>, "key" | keyof InputHTMLAttributes<HTMLInputElement>> & object & object, "key" | "asChild" | keyof InputHTMLAttributes<HTMLInputElement>>, "type" | "value" | "onChange"> & object & RefAttributes<HTMLInputElement>

Returns

Element

Example

<CommandInput placeholder="Type a command or search..." />