npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2024 – Pkg Stats / Ryan Hefner

astraea-ui

v1.1.5

Published

[![npm version](https://img.shields.io/npm/v/astraea-ui.svg?style=flat)](https://www.npmjs.com/package/astraea-ui) [![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT)

Downloads

12

Readme

Astraea UI

npm version License: MIT

Storybook

Description

Astraea UI is a collection of reusable components and styles for building beautiful user interfaces in React.

Features

Provide 20+ high quality general purpose components

  • 🛠 Components are very flexible
  • 🛠️ Support color customization
  • 💡 Support WebStorm syntax highlighting
  • 💡 Support the Typescript

Installation

You can install Your UI Library Name via npm:

npm install --save astraea-ui

Import required astraea-ui components within src/App.js file or your custom component files:

import { Button } from 'astraea-ui'

Customization CSS Variables

General Variables

  • --astraea-ui-color-primary-main: Specifies the primary color used throughout the library.
  • --astraea-ui-color-primary-light: Specifies a lighter shade of the primary color.
  • --astraea-ui-color-primary-dark: Specifies a darker shade of the primary color.
  • --astraea-ui-color-secondary-main: Specifies the secondary color used throughout the library.
  • --astraea-ui-color-secondary-light: Specifies a lighter shade of the secondary color.
  • --astraea-ui-color-secondary-dark: Specifies a darker shade of the secondary color.
  • --astraea-ui-color-info-main: Specifies the info color used throughout the library.
  • --astraea-ui-color-success-main: Specifies the success color used throughout the library.
  • --astraea-ui-color-error-main: Specifies the error color used throughout the library.
  • --astraea-ui-color-warning-main: Specifies the warning color used throughout the library.
  • --astraea-ui-color-muted-main: Specifies the muted color used throughout the library.

Shadow Elevation Variables

  • --astraea-ui-shadow-elevation-1: Defines a subtle shadow effect with a low elevation.
  • --astraea-ui-shadow-elevation-2: Offers a slightly stronger shadow effect.
  • --astraea-ui-shadow-elevation-3: Provides a more pronounced shadow effect.
  • --astraea-ui-shadow-elevation-4: Introduces a strong shadow effect with a substantial elevation.
  • --astraea-ui-shadow-elevation-5: Represents the highest elevation.

Border Radius Variables

  • --astraea-ui-border-radius-small: Specifies the small border radius for elements.
  • --astraea-ui-border-radius-small: Specifies the medium border radius for elements.
  • --astraea-ui-border-radius-small: Specifies the large border radius for elements.

How to Use

To customize the appearance of elements in your application, simply override these CSS variables with your desired values in your stylesheet.

:root {
  --astraea-ui-color-primary-main: #007bff;
  --astraea-ui-color-secondary-main: #6c757d;
  /* Add more customizations here */
}