awesome-repositories.com
博客
MCP
awesome-repositories.com

通过 AI 驱动的搜索,发现最优秀的开源仓库。

探索精选搜索开源替代品自托管软件博客网站地图
项目MCP 服务器关于排名机制媒体报道
法律隐私政策服务条款
© 2026 Bringes Technology SRL·VAT RO45896025·hello@awesome-repositories.com
·

1 个仓库

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

用 AI 发现最棒的仓库。我们将通过 AI 为您搜索最匹配的仓库。
  • joe-bell/cvajoe-bell 的头像

    joe-bell/cva

    6,849在 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
    在 GitHub 上查看↗6,849
  1. Home
  2. Software Engineering & Architecture
  3. Default Configuration Values
  4. Variant Default Values