Multi-select
Array values, chips in the trigger, optional maxSelected.
Pass multiple and type value / onChange as arrays. Selected items render as chips in the trigger by default.
Example
const [selectedTags, setSelectedTags] = useState<string[]>([]);
<Dropdown
data={tags}
value={selectedTags}
onChange={setSelectedTags}
multiple
maxSelected={3}
placeholder="Pick up to 3 tags"
clearable
presentation="popover"
/>
Limits and chips
maxSelectedblocks further picks once the cap is reached- Customize chip UI with
renderChip - Multi-select defaults
closeOnSelecttofalseso users can pick several items in one open