Tag Group
A collection of tags displayed together, allowing users to categorize, filter, or manage multiple labels efficiently.
Basic
A tag group is a focusable collection of labels, categories, keywords, filters, or other elements, equipped with keyboard navigation, selection, and removal functionalities.
Installation
If you hit any issues, make sure you check out the installation guide here for more information.
Composed Components
When you install this component via the CLI, it automatically loads all composed components, so you don’t need to add them individually.
The Tag Group comes packed with several components to enhance functionality and provide a seamless experience.
Manual Installation
Make sure you also install the composed components and the required packages for the component to function properly.
Anatomy
With Remove Button
Tags within the group can include a removal button.
Intent
The default intent is primary
. You can also use secondary
, success
, warning
, and danger
.
Controlled
Manage the values of the tag group through the value
prop.
Href
Incorporate a hyperlink within the tag group using the href
prop.
Shape
The tag group can be shaped to be a square or a circle. Just like the badge component, see badge documentation for more information.
Disabled
Disable tags either by setting the isDisabled
prop or using disabledKeys
on the TagGroup
.