Rebuilt PayPal's consumer app design system so AI tools could actually use it.

The Problem
PayPal's design system worked for humans, but AI tools saw naming collisions, undocumented intent, and tokens that described colors instead of meaning. As AI entered the workflow, the system became a liability.
The Solution
Audited and upgraded 72 components across documentation, token architecture, naming conventions, and design-to-code connection. Established machine-readable metadata, a three-tier token structure, semantic prop patterns, Figma Code Connect mappings, and a clear source-of-truth hierarchy.
The Pattern
A three-tier token system
An illustrative example of the primitive → semantic → component pattern used to rebuild the system. (Actual token names are confidential.)
Primitive
blue.60
gray.10
gray.90
Semantic
color-background-brand from blue.60
color-text-primary from gray.90
color-border-subtle from gray.10
Component
button-background-primary from color-background-brand
card-border-default from color-border-subtle
The Anatomy
How one component maps to tokens
- 01Containerradius.md (8px), fill: button-background-primary
- 02Labeltype.label.md, color: color-text-on-brand
- 03Stateshover, pressed, and disabled all map to their own background token
- 04Spacingspace.400 horizontal, space.200 vertical
The Outcome
Designers can now prototype directly in Figma Make, Claude Code, and similar AI tools, with the system working with them instead of against them. Significant reduction in design-to-dev friction across the org.