awesome-repositories.com
المدونة
awesome-repositories.com

اكتشف أفضل مستودعات المصادر المفتوحة باستخدام بحث مدعوم بالذكاء الاصطناعي.

استكشفعمليات بحث منسقةOpen-source alternativesSelf-hosted softwareالمدونةخريطة الموقع
المشروعحولHow we rankالصحافةخادم MCP
قانونيالخصوصيةالشروط
© 2026 Bringes Technology SRL·VAT RO45896025·hello@awesome-repositories.com
·

1 مستودع

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

اعثر على أفضل المستودعات باستخدام الذكاء الاصطناعي.سنبحث عن أفضل المستودعات المطابقة باستخدام الذكاء الاصطناعي.
  • lukeed/clsxالصورة الرمزية لـ lukeed

    lukeed/clsx

    9,791عرض على 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
    عرض على GitHub↗9,791
  1. Home
  2. User Interface & Experience
  3. Conditional Rendering
  4. Conditional Classname Builders