A react implementation of Government Design Standards (GDS) defined frontend components.
NPM install the package
npm install gds-react-component-library
Import components as named imports from the top level of the package.
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.
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