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
Peercore UI Components Library
📦 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
✅ AccordionItem
✅ Accordion.stories
✅ iconMap
✅ Layout.stories
✅ PCAccordionWrapper
✅ PCBadgeWithClose
✅ PCBadgeWithClose.stories
✅ PCButton
✅ PCButton.stories
✅ PCDateRangePicker
✅ PCFilteredTable
✅ PCFilteredTable.stories
✅ PCIcon
✅ PCIcon.stories
✅ PCInput
✅ PCInput.stories
✅ PCInputCurrency
✅ PCInputCurrency.stories
✅ PCLoading
✅ PCLoading.stories
✅ PCModal
✅ PCModal.stories
✅ PCMultiSelectDropdown
✅ PCMultiSelectDropdown.stories
✅ PCRadio
✅ PCRadio.stories
✅ PCSelectDropdown
✅ PCSelectDropdown.stories
✅ PCTable
✅ PCTable.stories
✅ PCTextarea
✅ PCTextarea.stories
✅ PCToggle
✅ PCToggle.stories
✅ PCTooltip
✅ Tooltip.stories
... and more coming soon!
🤸 Quick Start
Install the package:
npm install peercore-ui-library
# or
yarn add peercore-ui-libraryUse 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