Combo Box

The ComboBox component is used to select an option from a list with support for filtering and custom rendering.

Usage & Examples

Default

Start typing to filter the available options.
default.tsx
<ComboBox
        label="Framework"
        options={[
          { value: "react", label: "React", description: "UI library" },
          { value: "next", label: "Next.js", description: "App framework" },
          { value: "vite", label: "Vite", description: "Build tool" },
          {
            value: "astro",
            label: "Astro",
            description: "Content-focused framework",
          },
        ]}
        placeholder="Search frameworks"
        helperText="Start typing to filter the available options."
      />

Props API

36 props
Columns
Combo Box props API
Default
Description
aria-describedbystringNoariaARIA Describedby attribute forwarded to the relevant accessible element.
aria-labelstringNoariaARIA Label attribute forwarded to the relevant accessible element.
aria-labelledbystringNoariaARIA Labelledby attribute forwarded to the relevant accessible element.
classNamestringNostylingAdditional CSS class names for the component root.
data-testidstringNotestingTest id used to identify the component in tests.
disabledbooleanNopropsfalseWhether the component is disabled.
emptyMessageReactNodeNoprops"No options found"Empty Message.
errorReactNodeNopropsError message or error state displayed with the component.
errorClassNamestringNopropsAdditional CSS class names for the error section.
glassbooleanNopropsconfigured default glass setting (fallback: false)Glass.
helperTextReactNodeNopropsHelper text displayed with the field.
helperTextClassNamestringNopropsAdditional CSS class names for the helper text section.