web design ui

Semantic Tokens

Semantic tokens sit between global tokens (raw palette values) and component tokens (specific bindings). They translate raw values into meaning: color-primary, color-danger, color-surface. This layer of abstraction is what enables theming and rebranding. Swap what color-primary resolves to and every component that uses it changes automatically. Without semantic tokens, rebranding means finding and replacing hardcoded values across every component.

Related terms

Keep exploring