Tag is a flexible label component that supports color variants, sizes, and optional icons on either side. Useful for tokens, filters, statuses, and tags.
Tag is available in three sizes for flexibility in dense or prominent layouts.
Supports all Once UI design tokens including brand, neutral, danger, success, and info.
A Tag is a div by default, which is not allowed inside a paragraph. With as="span" every element in it is a span and it flows inline, so it can sit in a sentence. It looks the same.