Research
Security News
Malicious npm Packages Inject SSH Backdoors via Typosquatted Libraries
Socket’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.
@public-ui/react
Advanced tools
React framework adapter for KoliBri - The accessible HTML-Standard.
Provide an adapter for React to use the KoliBri components.
You can install the adapter with npm
, pnpm
or yarn
:
npm i -g @public-ui/react
pnpm i -g @public-ui/react
yarn add -g @public-ui/react
First, initialize KoliBri with a theme and create a React root:
import { defineCustomElements } from '@public-ui/components/dist/loader';
import { register } from '@public-ui/components';
import { DEFAULT } from '@public-ui/themes';
register(DEFAULT, defineCustomElements)
.then(() => {
ReactDOM.createRoot(document.getElementById("root") as HTMLElement).render(
<React.StrictMode>
<App />
</React.StrictMode>
);
})
.catch((error) => {
/* Handle errors */
});
Then, you can import any component from @public-ui/react
and render it within React components:
import React from 'react';
import type { FC } from 'react';
import { KolButton } from '@public-ui/react';
export default (): FC => <KolButton _label="Hello World" />;
FAQs
React framework adapter for KoliBri - The accessible HTML-Standard.
The npm package @public-ui/react receives a total of 1,606 weekly downloads. As such, @public-ui/react popularity was classified as popular.
We found that @public-ui/react demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 0 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
Security News
Socket’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.
Security News
MITRE's 2024 CWE Top 25 highlights critical software vulnerabilities like XSS, SQL Injection, and CSRF, reflecting shifts due to a refined ranking methodology.
Security News
In this segment of the Risky Business podcast, Feross Aboukhadijeh and Patrick Gray discuss the challenges of tracking malware discovered in open source softare.