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.
More from coding & agent
- Anthropic borrows lawyers' ethics for Claude agents that closed 186 deals with no human approval — rohanpaul_ai · 2026-10-18
- Prompt injection via email can hijack your AI agent — jev-guard adds risk-scored guards — sujingshen · 2026-10-18
- 14-Agent AI Film Pipeline on One RTX 5090: Fixing Cut Defects Between Clips — developervkmp · 2026-10-18
- Meta paper introduces "agent plasticity": best-performing agent isn't the most efficient learner — rohanpaul_ai · 2026-10-18
- Dev ships a bushfire prediction platform in a weekend with frontier models — CtrlAltDwayne · 2026-10-18
- 10 open-source GitHub repos that let AI agents control your phone, from Open-AutoGLM to mobile-use — victor_explore · 2026-10-18