Prologue
Getting Started
Dark Mode
Colors
Drag-and-drop
Forms
Utilities
Tag Group
This organizer keeps your tags tight and right, making sure they’re lined up and making sense, just like a librarian sorting books on a shelf.
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.
Composed Components
When you plug this component from the CLI, it autoloads all the composed components. No need to toss 'em in one at a time.
The Tag Group's decked out with several components to make it bangin'.
Manual Installation
Sometimes, using the CLI is the way to go, so make sure you install the necessary dependencies for the components you want to use.
Anatomy
Import the components and use them as shown below, adapting the structure to fit each component.
With Remove Button
Tags within the group can include a removal button.
Intents
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
.