/gcui

UI components for the Government of Canada

Primary LanguageJavaScriptMIT LicenseMIT

GCUI

This is a project to collect the bits of UI code that CDS creates into a single place, ready to be reused. The list of components currently available are:

  • WordMark
  • EnerguideLogo
  • GoCSignature
  • DownwardChevron
  • UpwardChevron
  • Button

Installation

yarn install @cdssnc/gcui

Usage

import { WordMark } from '@cdssnc/gcui'
// Do something with <WordMark />

Seeing the components

To explore the components and their documentation, run the following commands:

git clone https://github.com/cds-snc/gcui.git && cd gcui
yarn
yarn run storybook

You can then explore the components visually in a React Storybook by going to localhost:9001

Running the tests

yarn test