This library is still in development and is available only for internal usage at VTEX.
Skip to main content

Tag

Version: 0.131.0

Tag

Tags represent a status, or a common denominator. They make sections and entities quickly identifiable and searchable.

Examples

Sizes

By default, the size property has a regular value, but you can also set it to small.

Rio de Janeiro
Rio de Janeiro

Palettes

By default, the palette property has the lightBlue value, but you can also set it to the following values: red, orange, green, cyan, teal, gray and purple.

Rio de Janeiro
Rio de Janeiro
Rio de Janeiro
Rio de Janeiro
Rio de Janeiro
Rio de Janeiro
Rio de Janeiro
Rio de Janeiro
Rio de Janeiro

Deletable

You can add the handleDelete property to configure the tag as deletable. When this function is defined the tag will have a button where you can handle click events.

Rio de Janeiro

Icon

You can add one Icon on the left side of the Tag. Just use the icon property.

Rio de Janeiro