Skip to content
/ juniper Public

🌿🫐 Juniper is a React UI component library focused on powerful components with simple styling; and ease of customization with CSS variables.

License

Notifications You must be signed in to change notification settings

jynnie/juniper

Repository files navigation

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

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,

About

🌿🫐 Juniper is a React UI component library focused on powerful components with simple styling; and ease of customization with CSS variables.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published