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
- Dev feedback: decoupling rex sessions from native windows is harder to adapt to than expected — alexisgallagher · 2026-12-05
- Salesforce research: buyer agents concede too easily, images boost persuasion ~17% — msrivastav13 · 2026-12-05
- Grok Build launches agent-driven post-quantum cryptography migration after NSA advisory, with $1,000 credits — ns123abc · 2026-12-05
- Seroter's reading list: post-quantum prep, agent harnesses, and life after 99% AI code — rseroter · 2026-12-05
- WSDM Cup 2027 Offers $10k to Build Autonomous Community Notes Agents — sanmikoyejo · 2026-12-05
- Trying Copilot Studio MCP for agent cloning and Power Automate sync: janky but workable — koltregaskes · 2026-12-05