
Security News
Attackers Are Hunting High-Impact Node.js Maintainers in a Coordinated Social Engineering Campaign
Multiple high-impact npm maintainers confirm they have been targeted in the same social engineering campaign that compromised Axios.
@pras-ui/shared-ui
Advanced tools
> A collection of shared, low-level UI components used across the `@pras-ui`.
A collection of shared, low-level UI components used across the
@pras-ui.
This package contains common components that are used as building blocks in other @pras-ui packages.
npm install @pras-ui/shared-ui
Renders its children into a new React Portal, mounting them at the end of document.body by default. This is useful for components like modals and popups that need to appear on top of all other UI.
import { Portal } from "@pras-ui/shared-ui";
function MyModal() {
return (
<Portal>
<div className="modal">My Modal Content</div>
</Portal>
);
}
A simple, unstyled button component with some basic configurations that acts as a base for more complex trigger components in the library.
import { Trigger } from "@pras-ui/shared-ui";
function MyButton() {
return <Trigger onClick={() => alert("Clicked!")}>Click Me</Trigger>;
}
FAQs
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
Multiple high-impact npm maintainers confirm they have been targeted in the same social engineering campaign that compromised Axios.

Security News
Axios compromise traced to social engineering, showing how attacks on maintainers can bypass controls and expose the broader software supply chain.

Security News
Node.js has paused its bug bounty program after funding ended, removing payouts for vulnerability reports but keeping its security process unchanged.