shadcn open-sources cn: a 30x faster drop-in replacement for tailwind-merge and clsx

shadcn · x · 2026-09-02

shadcn announced the open-sourcing of cn, a new engine for Tailwind class merging and conflict resolution that works as a drop-in replacement for tailwind-merge and clsx. The team claims 30x faster performance, identical output, a smaller bundle, and support for all frameworks. Migration is one command (npx shadcn migrate cn) and works with any Tailwind project, not just shadcn/ui.

Related event: shadcn Open-Sources cn, a 30x Faster tailwind-merge Replacement(3 posts)→

Original post →

More from coding & agent

coding & agent channel →