Skip to Content
DocumentationTag

Tag

Displays a label or badge to categorize or highlight content.

Examples

Regular

Regular
Regular Soft
Regular Basic

Emphasis

Emphasis
Emphasis Soft
Emphasis Basic

Gray

Gray
Gray Soft
Gray Basic

Success

Success
Success Soft
Success Basic

Error

Error
Error Soft
Error Basic

Warning

Warning
Warning Soft
Warning Basic

CM

CM
CM Soft
CM Basic

GO

GO
GO Soft
GO Basic

CIR

CIR
CIR Soft
CIR Basic

PED

PED
PED Soft
PED Basic

PREV

PREV
PREV Soft
PREV Basic

IA

IA
IA Soft
IA Basic

API

PropertyTypePossible valuesDefaultDescription
variantstring”regular”, “regular-soft”, “regular-basic”, “emphasis”, “emphasis-soft”, “emphasis-basic”, “gray”, “gray-soft”, “gray-basic”, “success”, “success-soft”, “success-basic”, “error”, “error-soft”, “error-basic”, “warning”, “warning-soft”, “warning-basic”, “cm”, “cm-soft”, “cm-basic”, “go”, “go-soft”, “go-basic”, “cir”, “cir-soft”, “cir-basic”, “ped”, “ped-soft”, “ped-basic”, “prev”, “prev-soft”, “prev-basic”, “ia”, “ia-soft”, “ia-basic""regular”Sets the visual style of the tag.
iconReact.ReactElement--Icon element to be displayed before the tag content.
asChildbooleantrue, falsefalseChange the default rendered element for the one passed as a child, merging their props and behavior.
classNamestring--Additional CSS classes to apply to the tag.
…propsAll native span props--Allows passing any other standard properties of a span element.
Last updated on