Components
Searchable Multi Select
Searchable multi selects let the user filter a list of options by typing and pick several. Selected values appear as chips inside the input.
Stable
GitHub
Anatomy
Anatomy
import {Field, SearchableMultiSelect} from '@staffbase/design';
<Field.Root>
<Field.Label />
<Field.Description />
<SearchableMultiSelect.Root>
<SearchableMultiSelect.Value>
<SearchableMultiSelect.Chip />
<SearchableMultiSelect.Input />
</SearchableMultiSelect.Value>
<SearchableMultiSelect.Popup>
<SearchableMultiSelect.Empty />
<SearchableMultiSelect.List>
<SearchableMultiSelect.Group>
<SearchableMultiSelect.GroupLabel />
<SearchableMultiSelect.Collection>
<SearchableMultiSelect.Item />
</SearchableMultiSelect.Collection>
</SearchableMultiSelect.Group>
</SearchableMultiSelect.List>
</SearchableMultiSelect.Popup>
</SearchableMultiSelect.Root>
<Field.Error />
</Field.Root> API reference
Root
Inherits props fromBase UI Combobox Root
Value
Inherits props fromBase UI Combobox Value
| Name | Type | Description |
|---|---|---|
leadingIcon | ReactNode | Optional icon rendered at the start side of the value container. |
Input
Inherits props fromBase UI Combobox Input
Popup
Inherits props fromBase UI Combobox Positioner
| Name | Type | Description |
|---|---|---|
container | HTMLElementRefObject<HTMLElement> | Portal container used to control layering/z-index behavior. |
List
Inherits props fromBase UI Combobox List
Item
Inherits props fromBase UI Combobox Item
Group
Inherits props fromBase UI Combobox Group
GroupLabel
Inherits props fromBase UI Combobox Group Label
Separator
Inherits props fromBase UI Combobox Separator
Chip
Inherits props fromBase UI Combobox Chip
Empty
Inherits props fromBase UI Combobox Empty
Collection
Inherits props fromBase UI Combobox Collection
Status
Inherits props fromBase UI Combobox Status
Examples
Grouped
Select the ones you like
With avatars
Select all that you know
Error message