FindSoftware

CSS Modules

File convention that scopes CSS class and animation names locally, compiled by bundlers and build tools.

CSS Modules is a file convention: a CSS file in which all class names and animation names are scoped locally by default. The files compile to an interchange format called ICSS, and importing one from a JavaScript module gives an object that maps the local names to global ones. The repository holds documentation for the convention, with a setup page on bundlers and frameworks that support it.

Worth knowing

The repository has no installable package of its own. Support comes from the tools that implement the convention.

Identity

Status
Stub
Maintainer
css-modules1

Adoption

GitHub stars
18,0391
Contributors
243

Why these figures do not compare

Sources

  1. 2026-10-26: links, Maintainer, GitHub stars
    api.github.com/repos/css-modules/css-modules
  2. 2026-10-26: links
    raw.githubusercontent.com/css-modules/css-modules/master/docs/get-started.md
  3. 2026-10-26: Contributors
    api.github.com/repos/css-modules/css-modules/contributors

Last reviewed · Listed since Edit on GitHubThis page as markdownas JSON