Default Light
MgLibrary
Overview
Installation
Buttons
Cards
Charts
Codes
Data Grids
Dropdowns
Editors
Headers & Animations
Icons
Indicators
Inputs
Lists
Modals
Menus
Panels
Pills & Chips
Scheduling
Tabs
Time Line
Trees
Customization

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

MgPillContainer

Pills 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.
An unhandled error has occurred. Reload 🗙