Tag
Used for keywords, labeling, and filters
Demo
API
Tag
Name | Type | Content | |||||||
---|---|---|---|---|---|---|---|---|---|
m-tag |
Custom tag | Text, icon, or link and optional remove button for removable tags |
Guidelines
Removable tags
Simply include a remove button and, using your preferred method, attach a click handler that removes the tag. Here's a basic example:
Issue filters
Accessibility
Use aria-label
and title
when the Tag only contains an icon: