Forms
Multi Select
Chip-based multi-select dropdown with search filtering and keyboard-friendly chip removal.
Quick Preview
Installation
# No extra dependencies
// Copy component fromsrc/components/forms/MultiSelect.tsx
Usage
import MultiSelect from '@/components/forms/MultiSelect'<MultiSelectlabel="Technologies"options={[{ value: 'react', label: 'React' },{ value: 'vue', label: 'Vue.js' },]}onChange={(values) => console.log(values)}/>
Prompt Preview
Copy a prompt that recreates this UI
Paste this into your AI coding assistant to generate code that closely matches the reference, including color, size, shape, typography, spacing, and polish.
Copy-ready AI prompt
Starts from the current visual reference and project constraints.
Tweak only product-specific copy or data after the first generation pass.
Props
| Prop | Type | Default | Description |
|---|---|---|---|
options* | Array<{ value: string; label: string }> | - | Available options |
label | string | - | Label above the select |
value | string[] | - | Controlled selected values |
onChange | (values: string[]) => void | - | Called when selection changes |
placeholder | string | "Select..." | Placeholder when empty |
className | string | - | Additional CSS classes |