← Back to the lab

Token Rush

Replace hard-coded values in a component with the right semantic design tokens, against the clock. Then switch the theme and see what breaks.

What it does

  • Fourteen properties: color, spacing, radius and type
  • Tokens that share a value on purpose, like space-md and radius-lg
  • Faster answers score more; keys 1–6 work
  • Theme switch at the end shows what stays hard-coded

FAQ

Why not pick a token just by its value?

Two tokens can share a value today and drift apart tomorrow. space-md and radius-lg are both 16px here, but only one of them should change when you adjust spacing.

What are semantic tokens?

Tokens named by purpose (text-secondary, bg-surface) instead of by value (gray-400). They let a theme change values in one place while components keep their meaning.

More free tools