Variant Vocabulary

These canonical values are enforced at catalog validation time and checked by the design lint engine. For the full component rename/migration table from earlier versions, see Components.

Three shared enums cover the weight, status, and scale axes across all components. One word, one meaning: variant is always visual weight, tone is always status color, size is always the sm/md/lg scale.

variant

Visual weight of interactive elements.

ValueMeaning
primaryHighest-emphasis action; filled with the primary color
secondarySubdued alternative; filled with the secondary color
outlineBordered, no fill; lower visual weight than primary
ghostNo border, no fill; lowest visual weight (inline actions)
destructiveSignals a destructive or irreversible action

tone

Semantic status color of stateful display components (Alert, Badge, Toast, ConfirmDialog).

ValueMeaning
neutralDefault, no special status
successPositive outcome or confirmation
warningCaution or pending attention
destructiveError, danger, or data-loss risk

size

Uniform scale for interactive and display components.

ValueMeaning
smSmall — compact layouts, dense tables
mdMedium — default; use when size is not specified
lgLarge — prominent actions or accessible targets