# @parc3l/components

> Parcel Technologies Component Library. Includes fundamental components such as buttons, labels, and more.

Latest version **0.2.10** (published 2023-08-28) · UNLICENSED license · 0 weekly downloads

## Install

```sh
npm install @parc3l/components
pnpm add @parc3l/components
yarn add @parc3l/components
bun add @parc3l/components
```

## Health

**Score 20/100 (F)** — status: abandoned.

Positive: esm support; no vulnerabilities.

Warnings: low downloads; no types; pre 1.0.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.2.10 |
| Published | 2023-08-28 |
| First published | 2023-06-02 |
| Weekly downloads | 0 |
| License | UNLICENSED |
| TypeScript types | none |
| Module format | ESM |
| Dependencies | 12 |
| Unpacked size | 342.6 KB |
| Known vulnerabilities | 0 (+34 in 1 direct dependencies) |
| Install scripts | no |
| Author | Parcel Technologies, Inc. |
| Maintainers | mdean808, davidhahn, jgarcie, parcel-technology |
| Keywords | sdk, marketplace, components, component, library, web3, crypto, gaming, phosphor, radix, next, react, parcel, wagmi, viem |

## Links

- npm: https://www.npmjs.com/package/@parc3l/components
- Repository: https://github.com/Parcel-Tech/component-library
- Homepage: https://github.com/Parcel-Tech/component-library#readme
- Issues: https://github.com/Parcel-Tech/component-library/issues
- npm.io page: https://npm.io/package/@parc3l/components

## Dependencies (12)

- [next](https://npm.io/package/next.md) ^13.4.4
- [react](https://npm.io/package/react.md) ^18.2.0
- [react-dom](https://npm.io/package/react-dom.md) ^18.2.0
- [phosphor-react](https://npm.io/package/phosphor-react.md) ^1.4.1
- [@radix-ui/react-toast](https://npm.io/package/@radix-ui/react-toast.md) ^1.1.3
- [@radix-ui/react-dialog](https://npm.io/package/@radix-ui/react-dialog.md) ^1.0.3
- [@radix-ui/react-slider](https://npm.io/package/@radix-ui/react-slider.md) ^1.1.1
- [@radix-ui/react-popover](https://npm.io/package/@radix-ui/react-popover.md) ^1.0.6
- [@radix-ui/react-checkbox](https://npm.io/package/@radix-ui/react-checkbox.md) ^1.0.3
- [@radix-ui/react-accordion](https://npm.io/package/@radix-ui/react-accordion.md) ^1.1.1
- [@radix-ui/react-hover-card](https://npm.io/package/@radix-ui/react-hover-card.md) ^1.0.6
- [@radix-ui/react-dropdown-menu](https://npm.io/package/@radix-ui/react-dropdown-menu.md) ^2.0.4

## Alternatives

- [mobx-react](https://npm.io/package/mobx-react.md) — 2.8M weekly downloads
- [rc-tree](https://npm.io/package/rc-tree.md) — 2.6M weekly downloads
- [@react-oauth/google](https://npm.io/package/@react-oauth/google.md) — 1.3M weekly downloads
- [@wagmi/connectors](https://npm.io/package/@wagmi/connectors.md) — 877.0K weekly downloads
- [vee-validate](https://npm.io/package/vee-validate.md) — 836.4K weekly downloads

## Recent versions

- 0.2.10 (latest) — 2023-08-28
- 0.2.9 — 2023-08-28
- 0.2.8 — 2023-08-28
- 0.2.7 — 2023-08-24
- 0.2.6 — 2023-08-22
- 0.2.5 — 2023-08-17
- 0.2.4 — 2023-08-16
- 0.2.3 — 2023-08-01
- 0.2.2 — 2023-08-01
- 0.2.1 — 2023-07-31
- 0.2.0 — 2023-07-27
- 0.1.4 — 2023-06-25
- 0.1.3 — 2023-06-17
- 0.1.2 — 2023-06-17
- 0.1.1 — 2023-06-17
- … 10 more at https://npm.io/package/@parc3l/components/versions

## README

<p align="center">
  <a href="https://parceljs.org/" target="_blank">
    <img alt="Parcel Logo" src="https://files.readme.io/8c7b3c9-API-Page_1920x640_3_1_-_B2.png" width="749">
  </a>
</p>

[![Twitter Follow](https://img.shields.io/twitter/follow/ParcelNFT.svg?style=social)](https://twitter.com/ParcelNFT)

The Parcel Component Library is a collection of flexible, opinonated React components used as the basis for our SDK and White Label Theming System.

## Features

- 🎨 **Simple Theming** – Configure a single JSON object and integrate your design system seamlessly throughout all components.
- ⚡️ **Powerful Primitives** – Every basic component you need to build a beautiful marketplace—Buttons, Cards, Modals, Toats, and more.
- 📖 **Comprehensive Testing** - Test isolated components with a pre-configured Storybook development server.

## Local Development

Follow a few easy steps to start testing:

1. Run `yarn` inside the `component-library` directory.
2. Run `yarn dev` to start a Storybook instance.

## Create a New Theme

1. Navigate to `src/themes`.
2. Duplicate `darkTheme` or `lightTheme`.
3. Replace existing color codes with your own design system.

## Modifying spacing

1. Navigate to `src/themes`.
2. Duplicate `commonTheme`.
3. Replace `space` variables with your desired spacing system.

## Adding a New Theme to the Storybook Toolbar

1. Create a new theme (see above).
2. In `.storybook/preview.js`, add your theme name to `globalTypes.theme.toolbar.items`.
3. In `.storybook/useTheme.js`:
   a. Import your new theme: `import { ..., yourTheme } from ../src/themes`.
   b. Add the following line `const YourTheme = createTheme(yourTheme);`.
4. Add `yourThemeName` class name to the logic in `useTheme.js`.
5. In `styles/styles.css`, include your desired background color for the `[data-theme='yourThemeName']` tag.

Example:

```
[data-theme='light'] {
  background-color: #ffffff;
}
```

---
_Source: https://npm.io/package/@parc3l/components · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
