awesome-repositories.com
Blog
MCP
awesome-repositories.com

Découvrez les meilleurs dépôts open-source grâce à notre recherche par IA.

ExplorerRecherches sélectionnéesAlternatives open sourceLogiciels auto-hébergésBlogPlan du site
ProjetServeur MCPÀ proposNotre méthodologiePresse
Mentions légalesConfidentialitéConditions d'utilisation
© 2026 Bringes Technology SRL·VAT RO45896025·hello@awesome-repositories.com
·

1 dépôt

Awesome GitHub RepositoriesVariant Default Values

Fallback values assigned to component variant props so components render consistently when no explicit variant is chosen.

Distinct from Default Configuration Values: Distinct from Default Configuration Values: specifically assigns fallback values for component visual variants, not general application configuration settings.

Explore 1 awesome GitHub repository matching software engineering & architecture · Variant Default Values. Refine with filters or upvote what's useful.

Awesome Variant Default Values GitHub Repositories

Trouvez les meilleurs dépôts grâce à l'IA.Nous recherchons les dépôts les plus pertinents grâce à l'IA.
  • joe-bell/cvaAvatar de joe-bell

    joe-bell/cva

    6,849Voir sur GitHub↗

    cva is a TypeScript utility for defining and resolving visual variants for UI components with full type safety. It generates CSS class strings from typed variant definitions, enabling compile-time validation of component usage by deriving the union of all variant prop types from a configuration object. The library distinguishes itself through compound variant matching, which activates styles only when multiple independent variant conditions are simultaneously satisfied, merging their class names. It also provides default value propagation to ensure consistent rendering when no explicit varian

    Assigns fallback variant values at definition time so components render consistently when no explicit prop is provided.

    TypeScriptclass-variance-authorityclassnameclassnames
    Voir sur GitHub↗6,849
  1. Home
  2. Software Engineering & Architecture
  3. Default Configuration Values
  4. Variant Default Values