gds-react-component-library
v2.2.8
Published
Collection of React Components that fulfil the GDS Specification for use in applications
Downloads
338
Readme
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
2.2.4
- Table
2.2.5
- Cookie Banner
- Select Input
2.2.7
- GOVUK Footer
2.2.8
- Extend GOVUKHeader with Brand Refresh toggle property.
