ABC Def

ABC Def(Definitive Elements Foundation) is a design system built for AI-friendly workflows — three-tier tokens components that stay consistent by default and customizable by design.

AI-assisted development efficiency

ABC Def's CSS token architecture keeps component source sizes comparable to shadcn/ui, while cutting customization prompt tokens by 56 – 68 %. Because every visual property is a named CSS variable, an AI only needs the token name rather than a list of Tailwind utility classes. Measured across Button, Input, and Dialog using a standard LLM tokenizer (cl100k_base).

ComponentMetricABC Defshadcn/uiSaving
ButtonTSX source486 tokens431 tokensEquivalent
Single customization prompt13 tokens40 tokens68 % fewer tokens
InputTSX source75 tokens159 tokens53 % fewer tokens
Single customization prompt13 tokens30 tokens57 % fewer tokens
DialogTSX source751 tokens780 tokensEquivalent
Single customization prompt15 tokens34 tokens56 % fewer tokens
Average10 customization requests each410 tokens1,040 tokens61% fewer tokens

Three-tier token architecture

Diagram showing how Primitive Tokens map to Semantic Tokens which map to Component-specific Tokens, illustrated with a Button example
Primitive foundation
The stable base layer — raw palette, spacing, and radius values that rarely change and anchor the entire system.
Semantic intent
The meaning layer — tokens for foregrounds, surfaces, borders, and states that map primitive values to product decisions.
Component tokens
The customization layer — each component exposes only the CSS variables it needs, so AI-assisted edits touch the fewest tokens possible.

Component coverage

The docs include 53 shared component pages across React, Vue, and styles. Start with the component index or the framework guide for your application.

Packages

Getting Started