Skip to content
RivetUI

Combobox

Combines text search and single selection in one keyboard-ready control.

@rivetui/combobox

Preview

Explore each composition interactively, then open its code in the same context.

Default

Filter a collection, inspect the empty state, and clear the current selection.

Note
Use the root disabled prop when the entire control is unavailable.

Registry

Installation

Add the component source and its declared dependencies with the shadcn CLI.

Install component
bunx --bun shadcn@latest add @rivetui/combobox
Inspect registry item

Public interface

API reference

Component-specific props are listed here. Native element and Base UI props continue to pass through.

Combobox

PropTypeDefault
itemsreadonly Item[]—
valueValue | null—
defaultValueValue | null—
onValueChange(value: Value | null, details) => void—
openboolean—
defaultOpenbooleanfalse
onOpenChange(open: boolean, details) => void—
autoHighlightbooleanfalse
disabledbooleanfalse

ComboboxLabel

PropTypeDefault
htmlForstring—
classNamestring—
Rivet UI / ComboboxComponents engineered, not decorated.