
Security News
The Hidden Blast Radius of the Axios Compromise
The Axios compromise shows how time-dependent dependency resolution makes exposure harder to detect and contain.
@uktrade/react-component-library
Advanced tools
A collection of reusable React components following GOV.UK design patterns.
A collection of reusable React components following GOV.UK design patterns.
npm install @uktrade/react-component-library
Peer Dependencies:
react >= 19react-dom >= 19Import components from the package:
import { SummaryList, SummaryItem } from "@uktrade/react-component-library";
You can use them directly in your React applications.
git clone https://github.com/uktrade/react-component-library.git
cd react-component-library
nvm use
npm ci
npm run build
Copies TypeScript output and .css files into dist/.
npm run build
npm run docs:build
npm run docs:start
This opens a Vite dev server with the playground for testing components.
To publish a new version to NPM @uktrade/react-component-library:
package.json following semantic versioning (don’t forget to sync the lockfile as well).main.main branch and tag it with the same version (for example, v0.10.1).FAQs
A collection of reusable React components following GOV.UK design patterns.
We found that @uktrade/react-component-library demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 9 open source maintainers collaborating on the project.
Did you know?

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.

Security News
The Axios compromise shows how time-dependent dependency resolution makes exposure harder to detect and contain.

Research
A supply chain attack on Axios introduced a malicious dependency, plain-crypto-js@4.2.1, published minutes earlier and absent from the project’s GitHub releases.

Research
Malicious versions of the Telnyx Python SDK on PyPI delivered credential-stealing malware via a multi-stage supply chain attack.