Install
classnames
A simple utility for conditionally joining classNames together
2.5.1Latest, 29 Dec 2023
211MDownloads, last month
0Advisories on the latest
0Advisories, all versions
MITLicence
18KStars
4.8/10OpenSSF Scorecard
Source · Homepage · Ask AI Mode · · Markdown
In the news
- Uniwind className not working on Android: the Metro browser condition left over from NativeWind dev.to, 1 Dec 2026
- 1,029 props across 490 React components, 144 of them className, and only 55 callbacks in the entire app dev.to, 26 Nov 2026
- Demystifying `className` in React: HTML Attributes, TypeScript, and Styling Mastery dev.to, 17 May 2025
- How can I integrate Picco CSS with React while ensuring the same styles are applied when using the className attribute in React components? stackoverflow.com, 23 Feb 2025
- MUI classname collisions in ui library and target application stackoverflow.com, 24 Dec 2024
On Hacker News
- Classnames – a site that provides thematically grouped lists of words 108 points, 36 comments, 24 Nov 2023
Sources: npm, deps.dev (CC BY 4.0), OSV. Last checked 4 Dec 2026.