Skip to Content

Tag Group

A tag group displays a collection of tags that can optionally be removed.

Categories
React
Vue
Angular

Removable

Add onRemove to make tags removable. An X button will appear on each tag.

Skills
JavaScript
TypeScript
Python

Variants

Default
Default
Tags
Outline
Outline
Tags
Primary
Primary
Tags

Component props

TagGroup

NameTypeDescription
labelstringLabel text displayed above the group
onRemove(keys: Set<Key>) => voidCalled when tags are removed. Enables remove buttons.
disabledKeysIterable<Key>Keys of tags that cannot be removed

Tag

NameTypeDescription
idstringUnique tag identifier (required)
variant"default" | "outline" | "primary"Visual style variant
isDisabledbooleanDisables the tag