npm install @thrivecart/uiyarn add @thrivecart/uipnpm add @thrivecart/uibun add @thrivecart/uiimport { SelectCheckboxSearchable } from '@thrivecart/ui';Multi-select with search and checkboxes
<SelectCheckboxSearchable
items={[
{ label: 'Marketing', value: 'marketing' },
{ label: 'Sales', value: 'sales' },
{ label: 'Engineering', value: 'engineering' },
{ label: 'Design', value: 'design' },
{ label: 'Support', value: 'support' },
]}
value={selected}
placeholder="Select teams..."
searchPlaceholder="Search teams..."
onChange={setSelected}
/>Search is essential when there are more than 7-10 items.
Display how many items are selected in the trigger when the dropdown is closed.
For single-value selection, use the standard Select component.
Make it clear which items are checked, even after scrolling.