Tokens & Composition

Tokens fall into five categories, but there's no enforced hierarchy:

TypeExamplesRole
Componentcard, button, inputPrimary identity
Modifierelevated, hoverableBehavioral variation
Slotheader, body, footerSub-structure
Statedisabled, loadingSemantic states
Sizesm, lg, xlSize variants
example.html
1<!-- Free composition — mix any tokens -->
2<section class="ui-card ui-elevated ui-hoverable">
3 <header class="ui-header ui-sticky">Dashboard</header>
4 <div class="ui-body">Content</div>
5 <footer class="ui-footer">
6 <button class="ui-button ui-secondary ui-sm">Cancel</button>
7 <button class="ui-button ui-primary ui-sm">Save</button>
8 </footer>
9</section>