lukeed /clsx

A tiny (239B) utility for constructing `className` strings conditionally.

★ 9,847⑂ 189👁 16⑃ 65● 62▤ 12
JavaScriptMITCreated 2018-12-24
TA的项目
下载:v2.1.1v2.1.1 ↓2.1.12024-04-23
-1
日增长
9,847
stars
189
forks
16
watchers
65
prs
62
issues
12
releases

Top issues

Latest release

v2.1.1 v2.1.1 2024-04-23
Patches

 (types) Include bigint in ClassValue type: (96): 3d960ab
    _Accommodates recent @types/react changes to ReactNode._
    _Thank you @ViliamKopecky~!_

 Chores

- Add licenses.dev badge: 684509c
    _This service recursively analyzes entire dependency graphs to ensure that a package (or your project) is using permissive licenses. For example, here's a results table for polka@next and a larger astro example._

---

 Full Changelog: https://github.com/lukeed/clsx/compare/v2.1.0...v2.1.1

Snapshot: 2026-11-16T09:23:14Z · Data license Apache-2.0 · JSON