Ross ROSS = Recommend OSS · open-source software intelligence for agents

lukeed/clsx

A tiny (239B) utility for constructing `className` strings conditionally. observed · 2026-08-28

github.com/lukeed/clsx · JavaScript · MIT (permissive) observed · 2026-08-28

Health v2 · maintenance only

23/100

  • Activity 0
  • Release rhythm 8
  • Longevity 100
How is this computed?

round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-03. Adoption (stars, forks) is never an input.

  • gap_med: n/a
  • age_days: 2809
  • days_rel: n/a
  • days_push: 814
  • n_releases_24m: 0

Full methodology

Adoption not part of the score

9832 stars · 184 forks observed · 2026-08-28

What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-29, confidence not recorded

A tiny (239B) JavaScript utility for conditionally constructing CSS className strings from strings, objects, and arrays. It serves as a faster and smaller drop-in replacement for the classnames module.

Use cases

  • conditionally combine css class names in react
  • build className strings from objects and arrays
  • replace classnames with a smaller faster alternative
  • toggle tailwind classes conditionally
  • join css classes while filtering falsey values

When to choose

  • you need a minimal, dependency-free classname builder for any frontend framework
  • you want a drop-in classnames replacement with better performance and size
  • you only need string concatenation and can use the 140-byte lite build

When to avoid

  • you need CSS-in-JS or style object handling rather than class name strings
  • you rely on classnames plugins or features clsx does not implement

Facets

library · maturity stable

ui-components frontend-framework frontend web-development browser cross-platform classnames css-classes conditional-classes tiny-utility drop-in-replacement tailwind nodejs

2 sources

Member repositories

RepositoryRoleHealth v2
lukeed/clsxmain23

For agents

markdown · JSON · MCP: product_card(name="lukeed/clsx")

Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem