Socket
Book a DemoInstallSign in
Socket

@tumaet/prompt-ui-components

Package Overview
Dependencies
Maintainers
2
Versions
15
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@tumaet/prompt-ui-components

0.0.15
latest
Source
npmnpm
Version published
Maintainers
2
Created
Source

prompt-ui-components

A shared library for the AET Prompt2 system that provides common UI components.

These components are built using shadcn/ui and are maintained centrally to enable loading via Module Federation as a singleton.
This ensures:

  • A consistent UI experience across microfrontends
  • Reduced bundle size by avoiding duplicate component loading
  • Unified UI state management (e.g., for global toast notifications)

Overview

The prompt-ui-components-lib package is designed to allow multiple microfrontends to share:

  • Common, reusable UI components with a unified look and feel
  • Shared UI state, such as toasts and modals, across independently deployed apps

By using this library, all microfrontends rely on the same component instances and styling, preventing UI inconsistencies and improving maintainability.

Features

  • Reusable UI Components: Built on shadcn/ui, styled and configured for the Prompt2 system
  • Shared UI State: Centralized management for features like toast notifications
  • Module Federation Ready: Components are loaded as a singleton, preventing duplication
  • Consistent Design System: Ensures the same visual language across all microfrontends

Installation

Install the package with your preferred package manager:

# Using Yarn
yarn add @tumaet/prompt-ui-components-lib

# Or using npm
npm install @tumaet/prompt-ui-components-lib

FAQs

Package last updated on 30 Apr 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

SocketSocket SOC 2 Logo

Product

About

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.

  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc

U.S. Patent No. 12,346,443 & 12,314,394. Other pending.