Utilities

Utility functions for generating class names and styling components. These utilities provide programmatic access to the styling system, allowing you to build custom components with consistent design.

Why Use Utilities?

  • Build custom components with consistent styling from the design system
  • Programmatically generate class names based on props or state
  • Reduce duplication when creating wrapper components
  • Maintain consistency when styling third-party components or native elements
  • Get TypeScript autocompletion for available variants and sizes