New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details →
Socket
Book a DemoSign in
Socket

@pras-ui/shared-ui

Package Overview
Dependencies
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@pras-ui/shared-ui

> A collection of shared, low-level UI components used across the `@pras-ui`.

latest
Source
npmnpm
Version
0.0.1
Version published
Weekly downloads
0
-100%
Maintainers
1
Weekly downloads
 
Created
Source

@pras-ui/shared-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.

Installation

npm install @pras-ui/shared-ui

Components

Portal

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>
  );
}

Trigger

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>;
}

Keywords

react

FAQs

Package last updated on 09 Oct 2025

Did you know?

Socket

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.

Install

Related posts