GCUI
This is a project to collect the bits of UI code that CDS creates into a single place, ready to be reused.
Installation
yarn install @cdssnc/gcui
Usage
import {
WordMark
EnerguideLogo,
GoCSignature,
DownwardChevron,
UpwardChevron,
PhaseBadge,
PhaseBanner,
Button,
} from '@cdssnc/gcui'
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