Skip to content

CharlesCoqueret/ghost-design-system

Repository files navigation

Ghost Design System - React Components library

Demo

Coverage Status node-current

Available components:

Usage

  1. Run the command:
npm install ghost-design-system
  1. Load the required icon set and initialize the ThemeProvider, for example in your index.tsx :
import { loadIcons, ThemeProvider } from 'ghost-design-system';
import '~ghost-design-system/dist/ghost-design-system.css';

loadIcons();

const App = () => {
  return (
    <ThemeProvider>
      <RestOfYourApp />
    </ThemeProvider>
  );
};
  1. You should be ready to use any of the components of the library.

References

This react components library uses the following:

Peer dependencies:

Dev dependencies:


To go further