Forms

Combobox.

Find an option by typing its name.

LIVE PREVIEWTry it. It works.

Usage

React / TypeScript
<Combobox label="Framework" items={["React", "Angular", "Vue"]} />

Import components from @bld8/ui and include @bld8/ui/styles.css once. Wrap the application in UIProvider.

API & behaviour

Built on Base UI Combobox. items is a string array. Supports value/onValueChange, defaultValue, name, disabled and required. Search, keyboard selection and an empty state are included.

Notes to self

Test this component with real content, keyboard input and both themes. The example is a starting point; labels, error handling and behaviour still need to fit the application.