# Multi Select
> A searchable select for several options, shown as chips.
Source: https://native.shellui.dev/docs/components/form/multi-select
## Installation
```bash
shellui-native add multi-select
```
**Platforms:** MAUI · Avalonia. Also installs `icon`, `wrap-layout`.
## Usage
### Basic
**MAUI**
```xml
```
**Avalonia**
```xml
```
[Live preview](https://native.shellui.dev/preview/index.html?c=multi-select-basic)
## MAUI and Avalonia
- On Avalonia, Up / Down move a highlight through the matches and Enter toggles it; MAUI's Enter takes the first match.
- The Avalonia search field has focus as soon as the panel opens.
## API
| Property | Type | Default | Description |
|---|---|---|---|
| `ItemsSource` | `IList` (MAUI) · `IList?` (Avalonia) | `null` | Items to choose from; shown with `ToString()`. |
| `Values` | `IList` (MAUI) · `IList?` (Avalonia) | `null` | Selected values. |
| `Placeholder` | `string` | `"Select..."` | Hint shown while empty. |
| `SearchPlaceholder` | `string` | `"Search..."` | Hint in the search field. |
| `EmptyText` | `string` | `"No results found."` | Shown when nothing matches the search. |
| Event | Arguments | Description |
|---|---|---|
| `ValuesChanged` | `IReadOnlyList` | User input only: setting Values, or calling Toggle, from code doesn't raise it. |
| Method | Description |
|---|---|
| `SetOpen(bool open)` | Opens or closes it. |
| `Close()` | Closes it. |
| `Toggle(string text)` | Opens it if closed, closes it if open. |