Home
Bookmarks
Leagues
LEARN
Courses
Career Paths
Assessments
Tutorials
Arcade
Glossary
GROW
Certifications
Log in
Glossary
Log inSign up
Courses/Introduction to Design Systems/Design Tokens: The DNA of a Design System/
Exercise #5

Tier 3: Component-Scoped Tokens

Component tokens tie semantic decisions directly to individual components. They are the most granular tier in the system:

{
  "button": {
    "primary": {
      "bg": { "value": "{color.interactive.default}" },
      "bg-hover": { "value": "{color.interactive.hover}" },
      "radius": { "value": "{radius.md}" },
      "padding-x": { "value": "{space.16}" }
    }
  }
}

Why use Component Tokens? Imagine executive leadership decides: 'We want all buttons to have 24px pill rounding, but cards and dialogs must keep sharp 8px corners.' Without component tokens, changing {radius.md} would accidentally round cards, dialogs, and tables as well. Component tokens provide the isolation needed for targeted styling.

Topics

What Are Design Tokens?
The 3-Tier Token Architecture
Tier 1: Global Primitive Tokens
Tier 2: Semantic (Alias) Tokens
Tier 3: Component-Scoped Tokens
Token Naming Taxonomies: The CTI Convention
Cross-Platform Token Compilation (Style Dictionary)
Composite Tokens: Typography Sets and Shadows
Resolving Token Dependency Chains
Token Versioning, Renaming & Safe Migration

From lesson

1

Design Tokens: The DNA of a Design System

Level 3 · Design Tokens & Foundations

Top contributors

Community contribution details will appear here once real learner activity is available.

Share