You can use CSS Modules in Gatsby with Postcss, Less, and Sass. They are enabled for any file in the format *.module.*