Alias Chain
An alias chain is the strict three step reference path in a token system where your component token references a semantic token that references a primitive value. The primitive holds the actual hex or number while the layers above it stay clean and purposeful. This structure exists because raw values scattered across components turn into unmaintainable chaos the moment your product needs dark mode or a second brand.
It is not random references between any variables you feel like connecting. It is not a two step shortcut that lets component tokens point straight to hex values. The most common confusion hits when teams treat the variables panel like an upgraded styles panel. They create button blue as a primitive and call it a day. Six months later one dark mode request forces a complete rebuild.
The chain must stay exactly three links long. Component to semantic to primitive. Four links create auditing nightmares. Two links make modes impossible without manual overrides on every instance. The article diagram shows button bg pointing to surface action pointing to blue 500 pointing to the hex. That exact length survives production.
Stripe shipped this model in their 2022 design system overhaul. Their button surface token never touches a raw color. It points to a semantic surface token that swaps primitives between light and dark modes. Engineers export the whole thing through Tokens Studio into Style Dictionary. One semantic update ripples everywhere. No designer touches the component tokens again.
Atlassian runs the identical pattern at scale. Their 2023 variable audit showed zero broken references after adding two new brands. The alias chain enforced discipline that their old style based system never achieved. Teams without it report spending 40 percent of design system sprint time on color fixes. Teams with it drop to under 5 percent.
Use an alias chain when your product has multiple themes or more than five core components. The structure pays for itself the first time leadership asks for a rebrand. Skip it for one off landing pages or personal experiments where the extra layers add friction with no payoff. The tradeoff is heavier initial setup against zero rewrite work later.
Scoping rules protect the chain. Primitives get scoped to nothing so designers cannot grab them by accident. Semantic tokens stay typed to fills or strokes. Component tokens lock to their family like button or card. Break the scoping and the chain collapses at the point of use.
The seven mistakes listed in the article mostly trace back to a broken alias chain. Semantic to semantic aliasing makes mode resolution random. Component tokens pointing at primitives turns dark mode into a manual nightmare. Fix the chain and most other problems disappear.
Figma variables without an alias chain are just styles with extra clicks. The chain is what turns the panel into architecture instead of decoration. Respect the three step rule and your system stays alive through whatever the product team throws at it next.
The mental shift feels painful until the first time you watch a brand update propagate in seconds instead of days. That moment sells the entire model better than any diagram. Build the chain right or watch your tokens snow ball into debt.
Read the full guide
Related terms
Keep exploring
Design Tokens
The atomic design values (colors, spacing, typography, shadows, motion) stored as platform-agnostic variables that every component in a design system references.
Semantic Tokens
Design tokens that assign meaning to raw values. Instead of referencing color-blue-500 directly, components reference color-primary, which resolves to the appropriate raw value.
Component Tokens
The top layer of your token system that binds semantic roles like text-h3 to specific component slots such as card-title-size. This gives controlled overrides for real UI patterns without spawning anonymous pixel values that wreck consistency.
Tokens Studio
Tokens Studio is the Figma plugin that exports Variables to version-controlled JSON, Style Dictionary, or Tailwind configs your engineers actually ship. It is the only tool that keeps design systems honest between Figma and production code at scale.