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
Related event: shadcn Open-Sources cn, a 30x Faster tailwind-merge Replacement(3 posts)→
More from coding & agent
- Stanford CS146S revamps syllabus, discards 85% of material for AI-native development — GokuMohandas · 2026-09-03
- 46-min live build of an edge data pipeline: chat caught the bug, DLQ shipped on stream — aronchick · 2026-09-03
- Omnigent v0.12.0 ships with Claude Code and Codex session imports, service mode — matei_zaharia · 2026-09-03
- AsyncGRPOTrainer adds LoRA support, validated on FSDP2 setup — QGallouedec · 2026-09-03
- Dev observes Postman fading away now that models write and test code themselves — aloncarmel · 2026-09-03
- ZenML launches Kitaru: Tinder-style swipe UI for evaluating agent traces — strickvl · 2026-09-03