Component Tokens
Ready-to-use design tokens for UI components. These tokens reference semantic tokens which in turn reference primitives, creating a flexible and maintainable styling system.
Token Reference Chain
Component tokens sit at layer 4 of the token architecture. Values flow from primitives through semantic tokens to components, ensuring design consistency and easy theming.
Button
Interactive button component tokens for primary, secondary, and outline variants
Card
Container component tokens for elevated content sections
Input
Form input component tokens for text fields and user input
Why Component Tokens?
Component tokens provide a concrete API for styling UI components. Instead of applying semantic tokens directly, components use their own tokens like. This allows for component-specific customization while maintaining the overall design system.
- Override button colors without affecting cards or inputs
- Maintain consistent token naming across components
- Enable component-level theming and customization
- Support variant-specific styling (primary, secondary, outline)