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

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

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

4 个仓库

Awesome GitHub RepositoriesClass String Joiners

Utilities for concatenating individual class name fragments into a single space-separated string.

Distinct from String Tokenization: Focuses on the specific whitespace-delimited joining required for HTML class attributes.

Explore 4 awesome GitHub repositories matching user interface & experience · Class String Joiners. Refine with filters or upvote what's useful.

Awesome Class String Joiners GitHub Repositories

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

    JedWatson/classnames

    17,794在 GitHub 上查看↗

    classnames is a JavaScript utility for conditionally joining CSS class names into a single space-separated string. It functions as a class name manager that maps boolean flags and objects to specific styles for HTML attribute assignment. The tool resolves abstract class identifiers to computed values, facilitating integration with modular styling systems. It allows for the mapping of dynamic identifiers to scoped class names through a dedicated module resolver. The utility processes strings, arrays, and objects to handle dynamic class name management. It includes capabilities for recursive a

    Combines filtered class name fragments into a single string using whitespace as the delimiter.

    JavaScript
    在 GitHub 上查看↗17,794
  • 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

    Generates CSS class strings from typed variant definitions with zero runtime overhead.

    TypeScriptclass-variance-authorityclassnameclassnames
    在 GitHub 上查看↗6,849
  • dcastil/tailwind-mergedcastil 的头像

    dcastil/tailwind-merge

    5,648在 GitHub 上查看↗

    tailwind-merge is a utility library that resolves conflicting Tailwind CSS class strings when combining multiple sets of classes. It automatically detects and removes conflicting utility classes, keeping only the last class from each group that modifies the same CSS property, while preserving non-conflicting and non-Tailwind classes unchanged. The library handles complex conflict scenarios including modifier-order resolution, arbitrary value type detection, postfix modifier semantics, and asymmetric conflicts where one class group removes preceding classes from other groups but not vice versa

    Provides a utility that accepts multiple arguments, conditional values, and nested arrays to build a single merged class string.

    TypeScriptcsstailwindcssutility-classes
    在 GitHub 上查看↗5,648
  • reagent-project/reagentreagent-project 的头像

    reagent-project/reagent

    4,872在 GitHub 上查看↗

    Reagent 是一个使用 ClojureScript 和 React.js 构建 Web 用户界面的框架。它实现了声明式 UI 设计的函数式编程方法,其中 HTML 结构和组件层次结构使用基于向量的 Hiccup 语法而不是 JSX 定义。 该项目通过基于原子(Atoms)的响应式状态管理系统脱颖而出。它跟踪哪些组件解引用特定的状态原子以触发自动重新渲染,并提供状态游标(Cursors)以将更新隔离到较大状态原子的特定路径。它还包括用于包装原生 JavaScript 组件和第三方库的工具,以确保它们与函数式渲染周期保持兼容。 该框架涵盖了广泛的功能,包括虚拟 DOM 协调、副作用和清理的生命周期管理,以及通过更新批处理和计算记忆化进行的渲染性能优化。它还提供用于静态 HTML 字符串的服务器端渲染、通过上下文(Context)的全局状态共享,以及用于 HTML 内容清理的安全原语。

    Includes utilities to concatenate and normalize class name fragments into space-separated HTML class strings.

    Clojureclojureclojurescriptfrontend
    在 GitHub 上查看↗4,872
  1. Home
  2. User Interface & Experience
  3. Class String Joiners

探索子标签

  • Variant-Based Class GeneratorsUtilities that create CSS class strings from typed variant definitions with zero runtime overhead. **Distinct from Class String Joiners:** Distinct from Class String Joiners: generates class strings from variant definitions, not just concatenating fragments.