cn: a drop-in replacement for clsx plus tailwind-merge with zero dependencies

Github Awesome · Sep 3, 2026 · 2,357 views · 17 likes · 0 comments on YouTube

Description

Tailwind class conflicts usually mean combining clsx with tailwind-merge. cn replaces both through the same familiar APIs, so existing projects can migrate without rewriting every component. It has zero dependencies, works across frameworks and runtimes, and supports custom Tailw

Comments

Sign in to join the discussion.