Skip to content
TrademarkTrademark
Docs
Components

Tag

Updated: October 18, 2026
View on GitHub

Tag is a static label for a status, a category or a piece of metadata. It stays on one line. For something that announces or links, use Badge. See the web Tag page for the web version.

Schemes and sizes

scheme picks the color, from neutral (the default) to brand, accent, info, danger, warning and success. size is s, m or l.

Icons

prefixIcon and suffixIcon take an icon name, as on the web, or any element.

API reference

Tag does not take Flex props. Use style for the outer view.

Prop
Type
Default
Description
labelstringThe tag text. children is used when it is not set.
scheme"neutral" | "brand" | "accent" | "info" | "danger" | "warning" | "success""neutral"The color scheme.
size"s" | "m" | "l""m"The tag size.
prefixIconIconName | ReactNodeAn icon before the text.
suffixIconIconName | ReactNodeAn icon after the text.
childrenReactNodeThe text, when there is no label.
styleViewStyleStyle for the tag.
Edit this page on GitHub