cn
cn is cn is a new engine for Tailwind class merging and conflict resolution. It replaces tailwind-merge and clsx. Same APIs. Full parity. And it is 30× faster. - shadcn-ui/cn. It is ranked #644 on the Dev Radar, in Web frameworks, first seen 17 days ago and shared in 3 posts (559.5k views).
What people said about cn on X
We are open sourcing `cn`, a new engine for Tailwind class merging and conflict resolution. It is a drop-in replacement for tailwind-merge and clsx. It works with all frameworks, runs everywhere and is 30x faster. Brought to you by @aidenybai and me. https://github.com/shadcn-ui/cn
— @shadcn, 17 days ago · 4.9k likes · see the post
30x faster cn btw
— @aidenybai, 17 days ago · 994 likes · see the post
Why a new engine? Speed yes. And we have a few interesting things built on top of coming soon.
— @shadcn, 17 days ago · 433 likes · see the post
Alternatives to cn
- React Bits — just hit 47K stars.
- Cube — Cube is a zero-dependency JavaScript animation library with four fixed motions, adapters for React, Vue, Solid and…
- better-ui — Polishes and improves the UI in your project. Covers concentric border radius, optical alignment, surface depth,…
- oj — The benchmark in the blog post is somewhat misleading. It notes the Vite cold start time includes the significant…
- pdfcn — Beautiful pdf components, built on Takumi and Forme. 100% Free, Zero config, one command setup. - shadcn-labs/pdfcn
- Laravel — Laravel is a framework for building modern web apps and AI agents. Expressive syntax, built-in tools, and everything…
cn in numbers
- Rank on the Dev Radar: #644 of 1355
- Shared in 3 posts by 2 accounts: @shadcn, @aidenybai
- 559.5k views on those posts
- First seen 17 days ago, last shared 17 days ago
- Pricing seen by Jev: open source
- Market: Web frameworks
FAQ
What is cn?
cn is a new engine for Tailwind class merging and conflict resolution. It replaces tailwind-merge and clsx. Same APIs. Full parity. And it is 30× faster. - shadcn-ui/cn It was first shared on X 17 days ago and is ranked #644 on the Dev Radar.
Is cn free?
It is open source.
Who shared cn?
2 accounts on X, including @shadcn, @aidenybai, in 3 posts totalling 559.5k views.
Every post is read and classified by Jev (TypeSafe): what it is, which market it belongs to, and whether the link is a real tool. 12.2k posts from 4.7k X accounts over the last 21 days, 1.4k tools, 12 markets. Collected every 5 minutes, fully re-ranked every hour — last update 2026-09-19 18:39 UTC. Full method.