Skip to main content
.com
Skip to main content
Algolia
Official Gatsby PluginOfficial Plugin
View plugin on GitHub
See starters using this

gatsby-plugin-jss

Provide drop-in support for using the css-in-js library JSS including server rendering.

Install

npm install --save gatsby-plugin-jss react-jss

How to use

Add the plugin to your gatsby-config.js.

plugins: [`gatsby-plugin-jss`]

Or with theme

const theme = {
  fontSize: 16,
  fontFamily: "Roboto",
  color: "#212121",
}

plugins: [
  {
    resolve: "jss",
    options: { theme },
  },
]

Example

https://using-jss.gatsbyjs.org/


Edit this page on GitHub
Docs
Tutorial
Plugins
Blog
Showcase