JSPM

  • Created
  • Published
  • Downloads 1314
  • Score
    100M100P100Q103655F
  • License MIT

React components implementing the GOV.UK Design System.

Package Exports

  • @not-govuk/components

Readme

NotGovUK - Components

An implementation of the GOV.UK Design System in React that provides support for writing internal applications in addition to public ones.

Using this package

First install the package into your project:

npm install -S @not-govuk/components

Then use it in your code as follows:

import React, { createElement as h } from 'react';
import { Header, Footer } from '@not-govuk/components';

export const MyComponent = props => (
  <Header
    // WRITEME
  />
);

export default MyComponent;

Working on this package

Before working on this package you must install its dependencies using the following command:

pnpm install

Testing

npm test

Building

npm run build

Clean-up

npm run clean