Component
Combobox
Selects a value from a searchable list in a popover.
Install
Run the CLI to copy the source into your project.
pnpm dlx @stalk-ui/cli add @stalk-ui/comboboxExamples
Live previews render through the docs app's PandaCSS codegen.
<FrameworkCombobox />
Props
Public component props extracted from the source TypeScript types.
| Prop | Type | Required | Default | Description |
|---|---|---|---|---|
| `options` | `ComboboxOption[]` | Yes | - | - |
| `value` | `string \ | undefined` | No | - |
| `onChange` | `(value: string) => void` | No | - | - |
| `placeholder` | `string` | No | - | - |
| `searchPlaceholder` | `string` | No | - | - |
| `emptyText` | `string` | No | - | - |
| `disabled` | `boolean` | No | - | - |
| `size` | `ButtonSize` | No | - | - |
| `className` | `string` | No | - | - |
| `'aria-label'` | `string` | No | - | - |
Variants
Variant axes exposed by the underlying PandaCSS recipe or slot recipe.
No recipe variants are documented for this component.
Registry
Files this component contributes to your registry install.
- Manifest: `/r/combobox.json`
- Recipe: `combobox`
- Files: `src/components/ui/combobox.tsx`