
Research
2025 Report: Destructive Malware in Open Source Packages
Destructive malware is rising across open source registries, using delays and kill switches to wipe code, break builds, and disrupt CI/CD.
@canonical/react-components
Advanced tools

This is a collection of components designed to be the way to consume Vanilla Framework when using React. The library exposes both a CJS and an ESM build.
Storybook contains component docs with usage instructions.
Canonical react components currently require that your build is configured with sass-loader (or equivalent), to compile Sass.
To use the NPM package do:
yarn add @canonical/react-components
Or if you use NPM:
npm install @canonical/react-components
Please file any issues at GitHub.
You might want to:
You may wish to link this library directly to your projects while developing locally.
You can do this by cloning this repo to your local workspace:
git clone https://github.com/canonical/react-components
If you then drop into that folder and run:
yarn run link-packages
...this will add this project, react and react-dom to a local yarn registry.
Switching back to the project you are developing, run:
yarn install
yarn link react
yarn link react-dom
yarn link @canonical/react-components
...to pull the linked deps from the local registry. If you now run yarn build-watch in your react-components folder, your project should pick up any changes on refresh or hot module reload.
Note: When you're finished working locally - don't forget to go back and unlink:
cd react-components
yarn run unlink-packages
The following projects are related to, or build upon this library:
FAQs

The npm package @canonical/react-components receives a total of 5,598 weekly downloads. As such, @canonical/react-components popularity was classified as popular.
We found that @canonical/react-components demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 25 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.

Research
Destructive malware is rising across open source registries, using delays and kill switches to wipe code, break builds, and disrupt CI/CD.

Security News
Socket CTO Ahmad Nassri shares practical AI coding techniques, tools, and team workflows, plus what still feels noisy and why shipping remains human-led.

Research
/Security News
A five-month operation turned 27 npm packages into durable hosting for browser-run lures that mimic document-sharing portals and Microsoft sign-in, targeting 25 organizations across manufacturing, industrial automation, plastics, and healthcare for credential theft.