Tag

Display a unique keyword, optionally as a part of a set.

Default

Types

Show different states with colors.

Invert

Invert color and background.

APIs

Tag.Props

AttributeDescriptionTypeAccepted valuesDefault
typetag typeTagTypes-default
invertinvert color and backgroundboolean-false
...native propsHTMLAttributes'id', 'className', ...-

TagTypes

type TagTypes = 'default' | 'secondary' | 'success' | 'warning' | 'error' | 'dark' | 'lite'