Skip to content
This repository has been archived by the owner. It is now read-only.
Preset for JSS - installs default plugins and settings in one call. (Migrated to a Monorepo it JSS repository)
Branch: master
Clone or download
Latest commit c33dfb9 May 5, 2018
Type Name Latest commit message Commit time
Failed to load latest commit information.
.eslintrc jss preset release Aug 6, 2016
LICENSE release 0.9.0 Nov 21, 2016
package-lock.json 4.5.0 May 5, 2018
package.json 4.5.0 May 5, 2018 fix gitter image url Dec 29, 2016

Default preset for JSS with selected plugins

Preset allows to setup JSS quickly with default settings and a number of plugins so that you don't need to learn how to setup plugins.




Preset exports a default function which accepts options. Options is a map of plugin name in camel case and plugin options as value.

It returns a JSS options object, which can be passed to JSS constructor or the setup.

preset({somePlugin: options})

Setup global JSS instance

import jss from 'jss'
import preset from 'jss-preset-default'


Setup own JSS instance

import {create} from 'jss'
import preset from 'jss-preset-default'

const jss = create(preset())


File a bug against cssinjs/jss prefixed with [jss-preset-default].



You can’t perform that action at this time.