clsx
npm package · declared by 271 of 2,343 sampled repositories · graph computed 2026-08-24
Counted from the runtime dependencies public repositories declare — not the resolved tree. A transitive dependency is a consequence; a declared one is a choice. Development dependencies are excluded because they repeat across every project in a language regardless of what is being built.
Declared with
ranked by association, not by count| Declared with | Repositories | vs chance |
|---|---|---|
| tailwind-merge | 105 of 2,343 | 0.87 |
| class-variance-authority | 89 of 2,343 | 0.83 |
| lucide-react | 95 of 2,343 | 0.74 |
| @radix-ui/react-slot | 58 of 2,343 | 0.73 |
| @radix-ui/react-dialog | 43 of 2,343 | 0.68 |
| @radix-ui/react-dropdown-menu | 36 of 2,343 | 0.66 |
| tailwindcss-animate | 37 of 2,343 | 0.65 |
| next-themes | 42 of 2,343 | 0.63 |
| @radix-ui/react-label | 30 of 2,343 | 0.62 |
| react-dom | 127 of 2,343 | 0.62 |
| next | 88 of 2,343 | 0.61 |
| @radix-ui/react-tooltip | 27 of 2,343 | 0.61 |
| @radix-ui/react-select | 29 of 2,343 | 0.61 |
| cmdk | 23 of 2,343 | 0.61 |
| @radix-ui/react-popover | 24 of 2,343 | 0.60 |
| react | 127 of 2,343 | 0.60 |
| @radix-ui/react-tabs | 23 of 2,343 | 0.59 |
| sonner | 26 of 2,343 | 0.58 |
| @radix-ui/react-icons | 18 of 2,343 | 0.58 |
| @radix-ui/react-toast | 17 of 2,343 | 0.57 |
Every pair above is counted from the same evidence: repo manifest.
Used instead
candidates · shares a neighbourhood and refuses to co-occurNo alternative measured. A pair qualifies only if it shares a neighbourhood and then fails to appear together against an expectation that it would — and almost everything that shares a neighbourhood does appear together. That is the test working, not a gap in the data: similarity alone would list this tool’s closest neighbours as alternatives, and most of them are things it is used with.