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
- Ministack: open-source local AWS emulator runs 60+ services and real databases on one port — tom_doerr · 2026-09-03
- Building a Telegram Hermes agent that tracks macros, workouts and sleep — brandon_galang · 2026-09-03
- Swarms agent marketplace hits 6,125+ products from 720+ sellers — KyeGomezB · 2026-09-03
- One big prompt: Fable 5.1 Ultracode builds interactive neutron star merger sim — This_Cell_1829 · 2026-09-03
- Claude Fable 5.1 one-shot builds a playable model train yard in the browser — natesiggard · 2026-09-03
- "My client thinks the agent does the work. It's me at 11pm" — automation seller's confession — 0CTAVERSE · 2026-09-03