shadcn open-sources cn, a drop-in tailwind-merge/clsx replacement that's 30x faster
shadcn · x · 2026-09-02
shadcn and aidenybai open-sourced cn, a new engine for Tailwind class merging and conflict resolution that replaces tailwind-merge and clsx with identical APIs and full parity at 30x the speed.
- Handles both conditional joining (clsx-style) and conflict resolution (tailwind-merge-style)
- Zero dependencies, framework-agnostic: React, Vue, Svelte, Solid, Astro, plain server templates
- Runs in browsers, Node, Bun, Deno, and edge runtimes; no need for shadcn/ui
More from coding & agent
- 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
- xAI launches Grok Bot: autonomous AI teammates that live in Slack and Teams — Baconbrix · 2026-12-05