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
Sources
- 2026-10-26: links, Maintainer, GitHub stars
api.github.com/repos/css-modules/css-modules - 2026-10-26: links
raw.githubusercontent.com/css-modules/css-modules/master/docs/get-started.md - 2026-10-26: Contributors
api.github.com/repos/css-modules/css-modules/contributors