shadcn-ui/cn
cn is a new engine for Tailwind class merging and conflict resolution. It replaces tailwind-merge and clsx. Same APIs. Full parity. And it is 30× faster.
About the project
An engine for Tailwind class merging and conflict resolution that replaces tailwind-merge and clsx with the same APIs and full parity, but 30× faster.
Useful for
- Replace tailwind-merge and clsx in an existing project with one migration command
- Speed up component rendering with frequent cn() calls in large codebases
- Configure custom Tailwind classes via createCn with extend and prefix
README summarized by DeepSeek V4.1 Flash. Details may be inaccurate.
Why it’s trending
- 21 stars today.
- Interest is fading: the two-day pace is 11% of the previous week and a half.
- The repository is 13 days old and already has 1,452 stars.
- Top new repositories this month: #44.
- Recent forks include notable developers: @aidenybai (5,807 followers), @TheAlexLichter (2,015 followers), @JoviDeCroock (764 followers).
Stars per day
Bars are daily stars, the line is the usual pace. Red marks spike days.
Numbers
- Total stars
- 1,452
- Stars in a day
- 21
- Forks
- 15
- Issues and pull requests
- 32
- Watchers
- 0
- Language
- TypeScript
- License
- MIT
- Latest release
- [email protected] · September 12, 2026
- Created
- August 31, 2026
- Last push
- September 12, 2026
Star trust
Star growth looks organic. The magnitude is lowered, not zeroed:
- Fewer forks than usual: 15 for 1,452 stars.
These are heuristics, not a verdict: we judge by the repository’s behavior, not by a list of stargazers.
Spotted in
- September 13, 2026Top new repositories this month: #44
Similar projects
-
3.5
liangshanbo789/aidaicai
Marketing site and repo for a service that procures OpenAI/ChatGPT subscriptions for Chinese enterprises: corporate bank transfer, 6% VAT invoices and an SLA contract. Contains the Next.js 15 + Tailwind CSS +…
-
3.4
react/react
A JavaScript library for declaratively building user interfaces from components; runs in the browser, on the server via Node, and in mobile apps via React Native.
-
3.3
haplollc/Minted
A SwiftUI library that turns SVG or raster artwork into a physically-lit 3D gold medallion with enamel, engraving and momentum spins. Geometry is generated from 2D paths, so no 3D assets are needed.
-
3.0
Atomicx7/Duo-animation
An Android demo app in Kotlin that reproduces the iPhone Duo fold/opening animation using a RuntimeShader and rotation-vector sensor data. It renders a glass pane rotating around the hinge with per-pixel blur and…
-
2.9
DioxusLabs/dioxus
Cross-platform fullstack framework in Rust for building web, desktop, and mobile apps from a single codebase with JSX-like rsx! syntax and signals-based state.
-
2.9
LBEILC/RhineLabUI
Unofficial web recreation of the Rhine Lab terminal interface from the Arknights special: an interactive 3D archive built with TypeScript, Three.js and Vite, featuring 40 dossiers, decryption animations and a 360°…