HMRC Frontend
HMRC Frontend contains the code and documentation for patterns specifically designed for HMRC.
GOV.UK Frontend and the GOV.UK Design System contains the code and documentation for design patterns designed to be used by all government departments.
The two sets of code and documentation are separate but used together.
See HMRC Design Patterns for examples of what the design patterns look like and guidance on how to use them in your service.
Quick Start
Requirements
To install more than one version of Node.js, it may be easier to use a node version manager like nvm or n.
How to install
Clone this repository and install its dependencies.
git clone https://github.com/hmrc/hmrc-frontend.git
cd hmrc-frontend
npm install
How to run
- Run
npm start
- Components are available at http://localhost:3000
Using HMRC Frontend locally
Prototypes
npm install hmrc-frontend
Frontend microservices
Currently unsupported.
How to contribute
Design patterns
If you need a pattern that does not appear in the HMRC Design Patterns, you can contribute a new one.
Features and issues
If you would like to propose a feature or raise an issue with HMRC Frontend, create an issue.
You can also create a pull request to contribute to HMRC Frontend. See our contribution process and guidelines for HMRC Frontend before you create a pull request.
License
This code is open source software licensed under the Apache 2.0 License.