shadcn open-sources cn: a drop-in tailwind-merge replacement claiming 30x speedup
SeyoneC · x · 2026-09-03
shadcn and aidenybai (Million.js creator) 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 claims to work with all frameworks, run everywhere, and be 30x faster. In follow-ups, a dev reported cn/config added 18kb gzipped to bundle size; the authors said builds are optimized to what you use and will fix it if re-measurement still looks off. cn/engine also handles custom Tailwind classes, which tailwind-merge previously couldn't.
More from coding & agent
- Author Laurence Moroney: write your ugly first draft yourself, then let an LLM edit it — lmoroney · 2026-10-18
- Open-weight TYGER speech decision model makes 80ms turn-taking calls for full-duplex voice agents — solyarisoftware · 2026-10-18
- Devs: Opus 5.5 on medium beats Opus on max — eyishazyer · 2026-10-18
- He Stopped Telling Claude Code to Stop Making Up Timestamps—and Made It Impossible with a PreToolUse Hook — Grimmoner · 2026-10-18
- Cursor Super + Claude Pro + OpenCode: can this stack survive heavy autonomous coding? — DarioAmodeiWasTaken · 2026-10-18
- Coding AI wars: model is faster and smarter but 'dogshit at actual engineering' — MarcJSchmidt · 2026-10-18