TagGroup
Properties
Use TagGroup
A wrapping group of labels or removable tags with optional count disclosure.
Design notes
- Use for accepted labels or filter summaries. Use TagInput to create values and MultiSelect to choose values.
- Provide a group label and stable unique item IDs. Pass onRemove to request removal by ID. Update items after acceptance. Supply removeLabel for localized removal and disabled on individual protected tags.
- maxVisibleTags keeps a short preview with an expandable count. Localize moreTagsLabel and fewerTagsLabel. A disabled group displays every label and blocks removal.
- Choose the same size as nearby tags. The group wraps between tags and keeps long labels readable at narrow widths.
- For identity groups, provide each item's avatar data and keep the name as its visible label.
API reference
View TypeScript source