{"id":23421243,"url":"https://github.com/nhsdigital/nhsuk-react-components","last_synced_at":"2026-01-23T20:01:19.403Z","repository":{"id":37790977,"uuid":"235604320","full_name":"NHSDigital/nhsuk-react-components","owner":"NHSDigital","description":"NHS.UK Frontend ported to React","archived":false,"fork":false,"pushed_at":"2026-01-16T16:05:07.000Z","size":11316,"stargazers_count":67,"open_issues_count":9,"forks_count":35,"subscribers_count":68,"default_branch":"main","last_synced_at":"2026-01-17T04:50:19.480Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://nhsdigital.github.io/nhsuk-react-components","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/NHSDigital.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2020-01-22T15:36:33.000Z","updated_at":"2026-01-13T00:12:52.000Z","dependencies_parsed_at":"2024-01-01T17:24:15.418Z","dependency_job_id":"7a6859f5-b32d-4a1e-84b0-a071f776d997","html_url":"https://github.com/NHSDigital/nhsuk-react-components","commit_stats":null,"previous_names":[],"tags_count":39,"template":false,"template_full_name":null,"purl":"pkg:github/NHSDigital/nhsuk-react-components","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/NHSDigital%2Fnhsuk-react-components","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/NHSDigital%2Fnhsuk-react-components/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/NHSDigital%2Fnhsuk-react-components/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/NHSDigital%2Fnhsuk-react-components/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/NHSDigital","download_url":"https://codeload.github.com/NHSDigital/nhsuk-react-components/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/NHSDigital%2Fnhsuk-react-components/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28699372,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-23T17:25:48.045Z","status":"ssl_error","status_checked_at":"2026-01-23T17:25:47.153Z","response_time":59,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-12-23T02:14:32.953Z","updated_at":"2026-01-23T20:01:19.396Z","avatar_url":"https://github.com/NHSDigital.png","language":"TypeScript","readme":"# NHS.UK React components\n\nThis repository contains the code for NHS.UK React components - a port of the [NHS.UK Frontend components](https://github.com/nhsuk/nhsuk-frontend).\n\n[![GitHub Actions CI Status](https://github.com/NHSDigital/nhsuk-react-components/actions/workflows/ci.yml/badge.svg?branch=main)](https://github.com/NHSDigital/nhsuk-react-components/actions?query=workflow%3A%22CI+Build%22+branch%3Amain) [![Bundle Size](https://img.shields.io/bundlephobia/minzip/nhsuk-react-components.svg)](https://bundlephobia.com/result?p=nhsuk-react-components)\n\n## Documentation and examples\n\n[View documentation and examples](https://nhsdigital.github.io/nhsuk-react-components)\n\n## Installation\n\nYou can install this package using either `yarn` or `npm`.\n\n```bash\nnpm install --save nhsuk-react-components\n# Or\nyarn add nhsuk-react-components\n```\n\n## Usage\n\n```jsx\nimport { PureComponent } from 'react';\n\n// You can import components from the global module\nimport { Button } from 'nhsuk-react-components';\n\n// Or you can import components directly\nimport { Button } from 'nhsuk-react-components/dist/esm/components/button';\n\nclass GetStartedButton extends PureComponent {\n  render() {\n    return \u003cButton\u003eClick Me!\u003c/Button\u003e;\n  }\n}\n```\n\n## Upgrading\n\n- [Upgrading to 1.0](/docs/upgrade-to-1.0.md)\n- [Upgrading to 2.0](/docs/upgrade-to-2.0.md)\n- [Upgrading to 3.0](/docs/upgrade-to-3.0.md)\n- [Upgrading to 4.0](/docs/upgrade-to-4.0.md)\n- [Upgrading to 5.0](/docs/upgrade-to-5.0.md)\n- [Upgrading to 6.0](/docs/upgrade-to-6.0.md)\n\n## Maintainers\n\n**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)](mailto:thomas.judd-cooper1@nhs.net).\n\n- Thomas Judd-Cooper ([GitHub](https://github.com/tomdango))\n- Sam Brown ([GitHub](https://github.com/samueldavidbrown))\n- Luke Pearson ([GitHub](https://github.com/lukepearson))\n- Kevin Kuszyk ([GitHub](https://github.com/kevinkuszyk))\n- Kai Spencer ([GitHub](https://github.com/KaiSpencer))\n- Ed Horsford ([GitHub](https://github.com/edwardhorsford))\n\n## Preparing releases\n\nReleases run in CI using github actions.\n\nTo prepare a release create a new release TAG in github with your release version.\n\n- Create a new release with a tag like `major.minor.patch` against main.\n- If the change is a `beta` then select `pre-release` as true, this will make the `tag` point at `beta`. Otherwise the tag will be `latest`.\n\n## Thanks\n\n\u003ca href=\"https://www.chromatic.com/\"\u003e\u003cimg src=\"https://user-images.githubusercontent.com/321738/84662277-e3db4f80-af1b-11ea-88f5-91d67a5e59f6.png\" width=\"153\" height=\"30\" alt=\"Chromatic\" /\u003e\u003c/a\u003e\n\nThanks to [Chromatic](https://www.chromatic.com/) for providing the visual testing platform that helps us review UI changes and catch visual regressions.\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnhsdigital%2Fnhsuk-react-components","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnhsdigital%2Fnhsuk-react-components","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnhsdigital%2Fnhsuk-react-components/lists"}