JSPM

  • Created
  • Published
  • Downloads 1407
  • Score
    100M100P100Q106229F
  • License MIT

Shared React UI components for PeerCore apps

Package Exports

  • peercore-ui-library
  • peercore-ui-library/dist/index.es.js
  • peercore-ui-library/dist/index.js

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (peercore-ui-library) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme


PC UI Components Banner

Peercore UI Components Library

A reusable, customizable, and lightweight React component library built with simplicity and productivity in mind.

📦 Introduction

peercore-ui-library is a simple and flexible React component library including modals, currency inputs, toggles, and more, with built-in Storybook for documentation and local development.


⚙️ Tech Stack

  • React 18+
  • Bootstrap 5
  • Storybook
  • JavaScript (ES6+)

🔋 Components

AccordionItemAccordion.storiesiconMapLayout.storiesPCAccordionWrapperPCBadgeWithClosePCBadgeWithClose.storiesPCButtonPCButton.storiesPCDateRangePickerPCFilteredTablePCFilteredTable.storiesPCIconPCIcon.storiesPCInputPCInput.storiesPCInputCurrencyPCInputCurrency.storiesPCLoadingPCLoading.storiesPCModalPCModal.storiesPCMultiSelectDropdownPCMultiSelectDropdown.storiesPCRadioPCRadio.storiesPCSelectDropdownPCSelectDropdown.storiesPCTablePCTable.storiesPCTextareaPCTextarea.storiesPCTogglePCToggle.storiesPCTooltipTooltip.stories ... and more coming soon!


🤸 Quick Start

Install the package:

npm install peercore-ui-library
# or
yarn add peercore-ui-library

Use a component:

import { PCModal } from "peercore-ui-library";

<PCModal title="Sample Modal" onClose={() => setShow(false)}>
  Hello from the modal!
</PCModal>;

📚 Storybook

To explore components visually:

npm run storybook
npm version patch
npm run build
npm publish

📄 License

MIT © Peercore Software Solutions