Tag component is used to categorize content.
Label of the tag is defined with the value property.
Severity defines the variant of a tag.
Enabling rounded, displays a tag as a pill.
A font icon next to the value can be displayed with the icon property.
Children of the component are passed as the content for templating.
Tag does not include any roles and attributes by default, any attribute is passed to the root element so aria roles and attributes can be added if required. If the tags are dynamic, aria-live may be utilized as well. In case badges need to be tabbable, tabindex can be added to implement custom key handlers.
Component does not include any interactive elements.