Arctic Design
Get StartedFoundationsComponentsExamples
K

MultiSelect

Enables users to select multiple options from a dropdown or list, with the ability to display selected choices.

Usage
Full Width
Searchable
Clearable
Size
Disabled
import { MultiSelect } from '@arctic-kit/snow';
function Demo() {
return (
<MultiSelect
label="Colors" placeholder="Pick a value" fullWidth clearable color="primary" size="medium"
options={[
{ label: 'Green', value: 'green' },
{ label: 'Blue', value: 'blue' },
{ label: 'Red', value: 'red' },
{ label: 'Yellow', value: 'yellow' },
{ label: 'Orange', value: 'orange' },
{ label: 'Pink', value: 'pink' },
{ label: 'Purple', value: 'purple' },
{ label: 'Grey', value: 'grey' },
]}
/>
);
}
Error State
Required field
Required
import { MultiSelect } from '@arctic-kit/snow';
function Demo() {
return (
<MultiSelect
label="Colors" placeholder="Pick a value" required errorText="Required field"
options={[
{ label: 'Green', value: 'green' },
{ label: 'Blue', value: 'blue' },
{ label: 'Red', value: 'red' },
{ label: 'Yellow', value: 'yellow' },
{ label: 'Orange', value: 'orange' },
{ label: 'Pink', value: 'pink' },
{ label: 'Purple', value: 'purple' },
{ label: 'Grey', value: 'grey' },
]}
/>
);
}

API Reference

PropsTypeDefault
clearableboolean | undefined---
colorSnowColor"primary"
disabledboolean | undefined---
errorTextstring | undefined---
fullWidthboolean | undefined---
labelstring | undefined---
onChange(value: SelectKeyValue[]) => void---
optionsSelectKeyValue[]---
placeholderstring | undefined---
requiredboolean | undefined---
searchableboolean | undefined---
size"small" | "medium" | "large""medium"
valueSelectKeyValue[]---