Socket
Book a DemoInstallSign in
Socket

govuk-react-components

Package Overview
Dependencies
Maintainers
2
Versions
27
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

govuk-react-components

React components for govuk layouts and elements

Source
npmnpm
Version
0.7.0
Version published
Weekly downloads
166
14.48%
Maintainers
2
Weekly downloads
 
Created
Source

govuk-react-components

All Contributors

A set of react components to build the basic elements descibed in govuk-elements.

Usage

This is very Work In Progress code at the moment so you almost certainly don't want it anywhere near production right now.

Contributions are welcome.

Loading assets

To include the necessary stylesheets and assets in your app you can - if you are using express - mount the included middleware to serve these files:

app.use(require('govuk-react-components').assets());

Examples

There is a basic example app in ./example. To run it:

$ cd example
$ npm start
$ open http://localhost:8080

Contributors

Thanks goes to these wonderful people (emoji key):


Leonard Martin

💬 💻 📖 💡 🤔 👀 ⚠️

James Gee

💬 💻 📖 💡 🤔 👀 ⚠️

Simon Bailey

💻 ⚠️

This project follows the all-contributors specification. Contributions of any kind welcome!

FAQs

Package last updated on 09 May 2018

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts