A library of reusable Grey Matter UI components.
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
.circleci
.github
.storybook
config
public
scripts
src
.babelrc
.codeclimate.yml
.eslintrc
.gitignore
CHANGELOG.md
LICENSE
README.md
jsconfig.json
package-lock.json
package.json
webpack.config.js

README.md


Decipher Logo
Grey Matter UI Component Library

React components for Grey Matter user interfaces

styled with prettier styled with styled-components tested on CircleCI licensed under MIT dependency vulnerabilities tracked by DavidDM

InstallationUsageDocumentationCompatabilityRelated ProjectsLicense

Installation

gm-ui-components is available as an npm package:

npm install --save gm-ui-components

Usage

An example using the Icon component:

import React from 'react';
import { render } from 'react-dom';
import { Button } from 'gm-ui-components';

function App() {
  return (
    <Button
        label="Hello World!"
        type="default"
        size="xl"
        active={true}
    />
  );
}

render(<App />, document.querySelector('#app'));

Documentation

See the Grey Matter UI Components storybook for more usage examples and documentation.

Compatability

Related Projects

License

MIT