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
Tools declared alongside this one, ranked by association strength
Declared withRepositoriesvs chance
tailwind-merge105 of 2,3430.87
class-variance-authority89 of 2,3430.83
lucide-react95 of 2,3430.74
@radix-ui/react-slot58 of 2,3430.73
@radix-ui/react-dialog43 of 2,3430.68
@radix-ui/react-dropdown-menu36 of 2,3430.66
tailwindcss-animate37 of 2,3430.65
next-themes42 of 2,3430.63
@radix-ui/react-label30 of 2,3430.62
react-dom127 of 2,3430.62
next88 of 2,3430.61
@radix-ui/react-tooltip27 of 2,3430.61
@radix-ui/react-select29 of 2,3430.61
cmdk23 of 2,3430.61
@radix-ui/react-popover24 of 2,3430.60
react127 of 2,3430.60
@radix-ui/react-tabs23 of 2,3430.59
sonner26 of 2,3430.58
@radix-ui/react-icons18 of 2,3430.58
@radix-ui/react-toast17 of 2,3430.57

Every pair above is counted from the same evidence: repo manifest.

Used instead

candidates · shares a neighbourhood and refuses to co-occur

No 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.