clsx

2.1.0Last updated on Dec 29, 2023
A tiny (239B) utility for constructing className strings conditionally.

Used on 1503 websites

Top usage distribution

734
1.2.0
734
1.2.1
704
1.1.1
492
1.0.4
22
1.1.0
3
0.0.1
3
1.0.0
3
1.0.1

Versions

Sort by
2.1.0 Dec 29, 2023
8 KBUnpacked size
10Modules
2.0.1 Dec 29, 2023
6 KBUnpacked size
9Modules
2.0.0 Jul 15, 2023
6 KBUnpacked size
8Modules
1.2.1 Jul 6, 2022
734Websites
5 KBUnpacked size
7Modules
1.2.0 Jul 2, 2022
734Websites
6 KBUnpacked size
7Modules