shadcn open-sources `cn`, a Tailwind class-merging engine claiming 30x speedup

aidenybai · x · 2026-09-03

shadcn and aidenybai have open-sourced cn, a new engine for Tailwind class merging and conflict resolution, positioned as a drop-in replacement for tailwind-merge and clsx.

It works with all frameworks, runs everywhere, and is claimed to be 30x faster.

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

Original post →

More from coding & agent

coding & agent channel →