No Preview

Sorry, but you either have no stories or none are selected somehow.

If the problem persists, check the browser console, or the terminal you've run Storybook from.

Gumdrops Installation

Gumdrops is an npm package. Run yarn add gumdrops or npm install gumdrops in your project folder.

To add a specific version, you can use yarn add gumdrops@1.0.0 (replace 1.0.0 with whatever version you want, or omit it to get the latest version) or npm install gumdrops@1.0.0

The current and previous versions can be found in CHANGELOG.md

Concrete Design System

Gumdrops must be used with the GumGum Design System (Concrete), which handles all of the styles.

Add gumgum-design and sass to your project:

Note: node-sass has been deprecated.

yarn add gumgum-design sass

Create and import your main Sass file in main App component:

import React, { Component } from 'react'; import './main.scss'; class App extends Component { render() { return (...); } } export default App;

In main.scss, import the theme first to declare all color variables:

@import '~gumgum-design/styles/scss/index';

The theme file contains variables for every color used in Design System, along with 5 shades darker and lighter of each color. The prime slots defines theme-specific colors, while the component slots defines component-specific colors.

See the Concrete Design System documentation for design system specific documentation.