9.2k

Combobox

An input combined with a list of predefined items to select.

API Reference

Installation

Usage

Single Selection

Multiple Selection

API Reference

Combobox

The root combobox component. Manages the combobox state and provides context to child components.

ComboboxInput

The input field component with extended features for size variants and addon support.

ComboboxPopup

The popup container that displays the combobox options.

ComboboxList

A scrollable container for combobox items.

ComboboxItem

An individual selectable combobox item.

ComboboxEmpty

Displays a message when no results are found.

ComboboxGroup

Groups related combobox items together.

ComboboxGroupLabel

Displays a label for a combobox group.

ComboboxCollection

Used to wrap items within a group for rendering.

ComboboxChips

Container for displaying selected chips in multiple selection mode.

ComboboxChip

An individual chip representing a selected item in multiple selection mode.

ComboboxValue

Provides access to the current value for custom rendering.

Examples

Disabled

Small Size

Large Size

With Label

Auto Highlight

Automatically highlight the first matching option.

With Clear Button

With Groups

With Multiple Selection

With Start Addon

Display an icon or other element at the start of the input using the startAddon prop.

With Start Addon - Multiple

Use the startAddon prop on ComboboxChips to display an icon at the start when using multiple selection.

With Input Inside Popup

Form Integration

Form Integration - Multiple

coss.com ui

Built by and for the team of Cal.com, Inc. — the leading commercial open source company (“coss”).