awesome-repositories.com
Blog
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
ProjetÀ proposNotre méthodologiePresseServeur MCP
Mentions légalesConfidentialitéConditions d'utilisation
© 2026 Bringes Technology SRL·VAT RO45896025·hello@awesome-repositories.com
·

1 dépôt

Awesome GitHub RepositoriesConditional Classname Builders

Utilities that construct space-separated class strings based on boolean conditions.

Distinct from Conditional Rendering: Focuses on the string construction of CSS classes rather than the rendering logic of UI elements.

Explore 1 awesome GitHub repository matching user interface & experience · Conditional Classname Builders. Refine with filters or upvote what's useful.

Awesome Conditional Classname Builders 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.
  • lukeed/clsxAvatar de lukeed

    lukeed/clsx

    9,791Voir sur GitHub↗

    clsx is a JavaScript utility for constructing space-separated CSS class strings. It functions as a logic-based string builder that merges strings and objects into a single string by evaluating the truthiness of provided values. The utility orchestrates the generation of HTML class attributes by filtering out null or undefined values. It enables conditional styling by combining static and dynamic classes, which allows for the management of UI styling based on state or interaction. The project handles a variety of input structures, including arrays and objects, to produce a unified list of act

    Functions as a specialized builder for constructing CSS class lists based on truthy or falsy values.

    JavaScript
    Voir sur GitHub↗9,791
  1. Home
  2. User Interface & Experience
  3. Conditional Rendering
  4. Conditional Classname Builders