CSS Modules topic

CSS Modules are CSS files in which all class names and animation names are scoped locally by default. They compile to a low-level interchange format called Interoperable CSS, but are written like normal CSS files. The ability to explicitly state dependencies eliminates the need to avoid naming conflicts in the global scope.

For a more colorful introduction, see this blog post, which was written by one of the authors of the project near the time of its release.

List CSS Modules repositories

css-modules-angular2

21
Stars
2
Forks
Watchers

Css modules working with Angular2

mkn

81
Stars
35
Forks
Watchers

A Simple SSR Scaffolding for React Projects w/ Next.js and Typescript.

next-plugin-antd-less

345
Stars
48
Forks
Watchers

🎩 Use Antd (Less) with Next.js v12, Zero Dependency on other Next-Plugins.

breko-hub

141
Stars
34
Forks
Watchers

Babel React Koa Hot Universal Boilerplate

typed-scss-modules

617
Stars
63
Forks
Watchers

🎁 Generate type definitions (.d.ts) for CSS Modules using SCSS

postcss-modules

1.6k
Stars
86
Forks
Watchers

PostCSS plugin to use CSS Modules everywhere

es-css-modules

170
Stars
4
Forks
Watchers

PostCSS plugin that combines CSS Modules and ES Imports

react-cssom

57
Stars
0
Forks
Watchers

Css selector for React Components

Jest-CSS-Modules

75
Stars
16
Forks
Watchers

A Jest script processor that prevents CSS module parse errors.