0.3.6 • Published 2 years ago

juniper-ui v0.3.6

Weekly downloads
-
License
MIT
Repository
github
Last release
2 years ago

🌿 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.

yarn add juniper-ui
npm install juniper-ui

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

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.

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.

PropTypeDescription
intentprimary | secondary | success | danger | warningThe semantic "meaning" for a user.
appearancefill | outline | minimal | warningAlternative styles for components. Not necesarily meant to signal different semantic meanings.
colorgray | red | orange | amber | ...

❤️ Credits

This project builds on top of other components. Notably,

0.3.6

2 years ago

0.3.5

2 years ago

0.3.2

2 years ago

0.3.4

2 years ago

0.3.3

2 years ago

0.3.1

3 years ago

0.3.0

3 years ago