Tag
Tags are used for labelling, categorizing, or representing status. Supports themes, variants, sizes, close buttons, and custom colors. YueCheckTag is the selectable variant for multi-select filter scenarios.
Full API at API reference. Design decisions at Guide.
Basic
Default tag
Theme
DefaultPrimarySuccessWarningDanger
Variant
FilledTintOutlineTint-Outline
Theme × Variant matrix
defaultdefaultdefaultdefault
primaryprimaryprimaryprimary
successsuccesssuccesssuccess
warningwarningwarningwarning
dangerdangerdangerdanger
Size
SmallMediumLarge
Shape
SquareRound
Closable
ClosablePrimaryDanger
Disabled
DisabledDisabledNo close
Clickable (tag="button")
Use tag="button" to give a tag full keyboard and pointer interaction semantics. The @click listener works on any tag, but <button> is the right element when a tag triggers an action.
Max-width truncation
This is a very long tag labelThis label gets truncated at max-width
Icon slot
With icon
Custom color
Pass any valid CSS color. The component derives text and background from the luminance of the value.
Custom purpleSky tintAmber outlineGreen tint-outline
CheckTag
YueCheckTag is a role="checkbox" element with v-model controlled and defaultChecked uncontrolled modes.
VueReactAngular (disabled)
CheckTag filter group
VueReactSvelteSolid