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

gajus/babel-plugin-react-css-modules

Transforms styleName to className using compile time CSS module resolution. observed · 2026-08-28

github.com/gajus/babel-plugin-react-css-modules · JavaScript · NOASSERTION (other) observed · 2026-08-28

Health v2 · maintenance only

23/100

  • Activity 0
  • Release rhythm 8
  • Longevity 100

Flags: no_license

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: 3560
  • days_rel: n/a
  • days_push: 1484
  • n_releases_24m: 0

Full methodology

Adoption not part of the score

2034 stars · 159 forks observed · 2026-08-28

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

A Babel plugin that transforms React's styleName attribute into className at compile time using CSS module resolution. It offers much lower runtime overhead and bundle size than the runtime react-css-modules alternative.

Use cases

  • use css modules in react without runtime overhead
  • resolve styleName to className at build time
  • speed up react css modules performance
  • reduce bundle size compared to react-css-modules
  • support dynamic styleName resolution in react components
  • migrate from react-css-modules to a babel-based approach

When to choose

  • you use React with CSS Modules and want minimal runtime cost
  • you need a small footprint alternative to react-css-modules
  • your build pipeline already uses Babel

When to avoid

  • your project does not use Babel
  • you need actively maintained software with timely bug fixes
  • you use modern CSS Modules support built into bundlers like webpack or Vite

Facets

plugin · maturity maintenance

build-tool css-framework frontend-framework web-development frontend developer-tools babel-plugin css-modules react compile-time stylename nodejs javascript

2 sources

Member repositories

RepositoryRoleHealth v2
gajus/babel-plugin-react-css-modulesmain23

For agents

markdown · JSON · MCP: product_card(name="gajus/babel-plugin-react-css-modules")

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