Pills
Compact elements used for tags, filters, and multi-selection interfaces.
Use this example to explore default behavior, customization points, and accessibility-friendly patterns in a real Blazor page.
Pills
MgPillContainerPills allow users to enter multiple values, typically used for tagging or complex filtering.
API Reference
MgPillContainer
| Property | Type | Default | Description |
|---|---|---|---|
| MaxPills | int | 0 | Maximum number of items allowed (0 for unlimited). |
| PillsChanged | EventCallback<IEnumerable<string>> | - | Triggered when the collection of items changes. |