New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

nhsuk-react-components

Package Overview
Dependencies
Maintainers
2
Versions
103
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

nhsuk-react-components

NHS.UK Frontend ported to React

1.0.0-rc.2
npm
Version published
Weekly downloads
4.4K
-32.8%
Maintainers
2
Weekly downloads
 
Created
Source

NHS.UK React Components

NHS.UK Frontend ported to React

GitHub Actions CI Status JavaScript Style Guide Bundle Size

Coming from 0.x?

If you're coming from versions of the library prior to 1.0.0, please give this wiki page a brief read, as there a number of changes between 0.x release and the 1.0 release.

Installation

You can install this package using either yarn or npm.

npm install --save nhsuk-react-components@next
# Or
yarn add nhsuk-react-components@next

Usage

import React, { PureComponent } from 'react';

// You can import components from the global module
import { Button } from 'nhsuk-react-components';

// Or you can import components directly
import Button from 'nhsuk-react-components/lib/components/button';

class GetStartedButton extends PureComponent {
  render() {
    return <Button>Click Me!</Button>;
  }
}

Storybook

A storybook containing all of the components and their usage can be found here.

Maintainers

We're currently looking for new maintainers! If you have knowledge of React and would be willing to help maintain this library, you can email me (Thomas Judd-Cooper) here.

  • Thomas Judd-Cooper (GitHub)
  • Sam Brown (GitHub)

FAQs

Package last updated on 25 Feb 2020

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