gds-react-component-library
TypeScript icon, indicating that this package has built-in type declarations

2.2.3 • Public • Published

Package notes - Dev

A react implementation of Government Design Standards (GDS) defined frontend components.

How to consume

NPM install the package npm install gds-react-component-library

Import components as named imports from the top level of the package.

Documentation

For details on implementation, view the storybook documentation. hosted at: tbc Or generate the documentation locally. This can be done by checking out the repo, and, after installing packages running npm run storybook Which will build and locally host the storybook documentation for the version which you have checked out.

How to contribute

If you notice any issues, missing functionality or have any feedback, please raise an issue

Alternatively, you can propose changes by raising a Merge Request.

This package is a work in progress.

Version 1.x.x exposes a number of components, but is not intended for production use.

Version 2.x.x Contains only ready for use components

2.0.0

  • Form group
  • Fieldset
  • Summary List
  • Date Input
  • Text Input 2.1.2 adds:
  • Button
  • Checkboxes
  • Error Summary
  • Radio Buttons 2.1.3 adds:
  • Notification Banner
  • Modal

2.2.0

  • Accesibility fixes to exisiting components

2.2.1

  • Welsh Language Toggle

2.2.2

  • GOVUKHeader
  • Notification badge
  • Warning Text
  • Tag

2.2.3

  • Accesbility fix for Welsh Language Toggle

/gds-react-component-library/

    Package Sidebar

    Install

    npm i gds-react-component-library

    Weekly Downloads

    98

    Version

    2.2.3

    License

    MIT

    Unpacked Size

    287 kB

    Total Files

    95

    Last publish

    Collaborators

    • pete_mal21