# juniper-ui

> A React component library.

Latest version **0.3.6** (published 2022-02-22) · MIT license · 0 weekly downloads

## Install

```sh
npm install juniper-ui
pnpm add juniper-ui
yarn add juniper-ui
bun add juniper-ui
```

## 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.3.6 |
| Published | 2022-02-22 |
| First published | 2021-03-03 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | ESM + CommonJS |
| Dependencies | 4 |
| Unpacked size | 160.7 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 0 |
| Author | jynnie |
| Maintainers | jynnie |
| Keywords | React, UI Library, Component Library |

## Links

- npm: https://www.npmjs.com/package/juniper-ui
- Repository: https://github.com/jynnie/juniper
- Homepage: https://github.com/jynnie/juniper#readme
- Issues: https://github.com/jynnie/juniper/issues
- npm.io page: https://npm.io/package/juniper-ui

## Dependencies (4)

- [react](https://npm.io/package/react.md) 17.0.2
- [ui-box](https://npm.io/package/ui-box.md) ^5.0.0
- [react-dom](https://npm.io/package/react-dom.md) 17.0.2
- [react-feather](https://npm.io/package/react-feather.md) ^2.0.9

## 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.3.6 (latest) — 2022-02-22
- 0.3.5 — 2022-02-22
- 0.3.4 — 2022-02-21
- 0.3.3 — 2022-02-21
- 0.3.2 — 2022-02-21
- 0.3.1 — 2021-03-03
- 0.3.0 — 2021-03-03

## README

# 🌿 Juniper 🫐

A React component library.

Work in progress personal project of React components built on pure CSS variables.

**This project is still in progress~**

## ✨ Getting Started

Install with either package manager.

```bash
yarn add juniper-ui
```

```bash
npm install juniper-ui
```

After installation, import the CSS into your app's entry file.

```jsx
import "juniper-ui/dist/style.css";
```

## 🔨 Development

The project's UI library files are in `package/`.

The project's documentation is a `Next.js` project, in the folder `src/`. You can run the below to start that up.

```bash
yarn install
yarn dev
```

### Using CSS and SCSS

Juniper is fully customizable from CSS only. Variables and CSS classes can be rewritten. Development uses SCSS purely for some nesting and helpers -- no SCSS variables.

Final `dist/` compiles to CSS.

## 🖍 Props & Patterns

Generally, Juniper uses the following prop types.

| Prop       | Type                                                           | Description                                                                                    |
| ---------- | -------------------------------------------------------------- | ---------------------------------------------------------------------------------------------- |
| intent     | `primary` \| `secondary` \| `success` \| `danger` \| `warning` | The semantic "meaning" for a user.                                                             |
| appearance | `fill` \| `outline` \| `minimal` \| `warning`                  | Alternative styles for components. Not necesarily meant to signal different semantic meanings. |
| color      | `gray` \| `red` \| `orange` \| `amber` \| ...                  |                                                                                                |

## ❤️ Credits

This project builds on top of other components. Notably,

- [UI Box](https://github.com/segmentio/ui-box)
- [React Select](https://react-select.com/)

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