Frontend Frameworks

classnames

Open Source Updated 26d ago

A simple utility for conditionally joining classNames together

npm install classnames

Did you build this?

Claim your listing to see exactly how many AI agents recommend this tool, your success rate, and more. Free, no commission, no fees.

Claim This Listing

Utility for conditionally joining CSS class names — accepts strings, objects, and arrays. 14 bytes gzipped.

Save tools & get AI recommendations

Free forever. No credit card required.

Sign Up Free
Visit Website → ☆ Bookmark

Listed for free · No commission · Claim this listing

4 developers visited via IndieStack this month
𝕏 Share
cssclassnamesconditionalutilityreact
View on GitHub ★ 17,819JavaScript
Active — last commit 21d ago10 open issues
Using this saves ~80k tokens vs building from scratch
Something wrong? Log in to report.
Get weekly indie picks straight to your inbox