Documentation about css-modules (by css-modules)


Basic css-modules repo stats
7 months ago

Css-modules Alternatives

Similar projects and alternatives to css-modules

  • GitHub repo bypass-paywalls-chrome

    Bypass Paywalls web browser extension for Chrome and Firefox.

  • GitHub repo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • GitHub repo developer-roadmap

    Roadmap to becoming a web developer in 2021

  • GitHub repo react-router

    Declarative routing for React

  • GitHub repo nw.js

    Call all Node.js modules directly from DOM/WebWorker and enable a new way of writing applications with all Web technologies.

  • GitHub repo formik

    Build forms in React, without the tears 😭

  • GitHub repo autoprefixer

    Parse CSS and add vendor prefixes to rules by Can I Use

  • GitHub repo ava

    Node.js test runner that lets you develop with confidence 🚀

  • GitHub repo Sass

    Sass makes CSS fun!

  • GitHub repo Aphrodite

    Framework-agnostic CSS-in-JS with support for server-side rendering, browser prefixing, and minimum CSS generation

  • GitHub repo jscs

  • GitHub repo Cucumber.js

    Cucumber for JavaScript

  • GitHub repo after.js

    Next.js-like framework for server-rendered React apps built with React Router

  • GitHub repo postcss-preset-env

    Convert modern CSS into something browsers understand

  • GitHub repo rogue.js

    The "nearly invisible" way to server-render React applications

  • GitHub repo postcss-nested

    PostCSS plugin to unwrap nested rules like how Sass does it.

  • GitHub repo babel-plugin-tailwind-components

    Use Tailwind with any CSS-in-JS library

NOTE: The number of mentions on this list indicates mentions on common posts. Hence, a higher number means a better css-modules alternative or higher similarity.


Posts where css-modules has been mentioned. We have used some of these posts to build our list of alternatives and similar projects - the last one was on 2021-03-02.
  • CSS Autocomplete in VS Code
    reddit.com/r/reactjs | 2021-03-29
    css modules are one option
  • CSS Modules: class applied globally
    reddit.com/r/css | 2021-03-20
    . CSS Modules.
  • Why I Don't Like Tailwind CSS
    reddit.com/r/css | 2021-03-13
    Sidenote: I prefer CSS Modules over CSS-in-JS. It's one simple specification rather than an ocean of competing implementations. It doesn't tie you to any one framework or environment, it supports running any preprocessor you prefer, and keeps your documents isolated and portable.
  • is it acceptable practice to put component .css files in component directories?
    reddit.com/r/reactjs | 2021-03-04
    Yeah this is a common way to organize and makes things easy to find imo. Check out CSS modules for a related setup with added benefits. It's not specifically about directory structure but it works well when your css files are handy like this.
  • Here's my website setup...
    dev.to | 2021-03-02
    Since my project is based on Gatsby and React, I basically created components for everything: header, footer, forms, buttons and specific content sections. And because of componentized nature of my codebase, I decided to utilize CSS Modules concept so I don't have to be worried about using too generic names for my CSS selectors and everything can be scoped locally.
  • CSS Modules lacks one critical feature that any non-styled-components project needs: importing classes from other modules. What now?
    reddit.com/r/reactjs | 2021-02-25
  • You can bypass most soft paywalls with a little CSS knowledge
    I've never even heard of CSS obfuscation. My CSS has weird characters because I use CSS modules and my JS is weird because I minify it.
  • My All-Star React Stack
    dev.to | 2021-01-23
    My go-to option for styling is using Sass with CSS Modules. This is supported by default in Next.js, where we separate CSS/Sass files from our code and simply import it into the React file where it is required.
  • CSS Modules in React
    dev.to | 2020-11-07
    In this read, I want to do a short walkthrough on how to use CSS Modules. You can dive deeper into CSS Modules here.
  • Tailwind but not purgeCSS, and be friendly with other frameworks
    dev.to | 2020-10-15
    Another thought is CSS module, but I find it extremely hard to Google for Tailwind CSS module (google just misunderstand...)
  • How to Become a Pro 😎 Front End Developer💻
    dev.to | 2020-10-08
    -BEM -CSS Modules -Atomic -OOCSS -SMACSS -SUITCSS