ComponentsTag

Tag

A Tag is a single word that highlights a specific aspect of an asset. An asset can have multiple tags.

Use tags to indicate status, aid recognition, and support navigation—leveraging color to convey consistent meaning across products.

GitHub LogoSource Code
Tag label

Colors

Customize the tag’s color using the color prop. It accepts any UI Kit or CSS color.

Sizes

Change the tag’s size using the size prop.

Icons

Add an icon using the icon prop. To show a built-in checkbox icon, use the showSelectIcon prop.

Long text

The Tag component automatically truncates text that overflows.
To display the full text on hover, add a tooltip.

This is an example of a extremely long tag

Actions

Tags can have click actions.

  • Use the onClick prop to add an action to the tag.
  • Use the onDelete prop to add a delete button to the tag.

Controlled selection

The tag selection state can be controlled using the selected prop.

Selected tags:
Asset 1, Asset 2