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

@react-ui-org/react-ui

v0.57.0

Published

React UI is a themeable UI library for React apps.

Downloads

814

Readme

React UI

npm Coverage Status Tests npm bundle size

React components for your design system.

React UI is a themeable, performant, responsive UI library for React apps. Use it simply with no configuration or have full control over your design by tweaking some of the hundreds theming options available.

Explore React UI docs →

Key Concepts

Why another UI library? Because we couldn't find any library that would meet these requirements:

  • 🎨 Full control over design, from design tokens to components. Hundreds of CSS custom properties allow you to customize the design of your app without touching JS.

  • 📦 Smart defaults, out of the box. Create rapid prototypes that look great with no additional effort.

  • 🚀 Small bundle size. Because performance matters.

Sponsors

Development of React UI is largely supported by RACOM—one of the leading global players in wireless Critical Infrastructure.

Quick Start Guide

To install React UI in your app:

  1. Install react-ui with npm. Make sure you also have prop-types, react and react-dom installed.

    npm install --save @react-ui-org/react-ui
  2. Load the Titillium Web font:

    <link
      href="https://fonts.googleapis.com/css2?family=Titillium+Web:wght@300;400;600;700&display=swap"
      rel="stylesheet"
    />
  3. Load React UI CSS in your app:

    import '@react-ui-org/react-ui/dist/react-ui.css';
  4. Import and use any of React UI components in your app:

    import { Button } from '@react-ui-org/react-ui';
    
    <Button label="My Button" />

Head to the docs to see how to use, customize, and extend React UI.

Development Mode

It is possible to run React UI in your app in development mode. This is useful because:

  • In production mode React UI uses non-human-readable class names.
  • Runtime check (i.e. PropTypes) are suppressed in production mode.

To enable development mode, add the following code to the webpack.config.js file in your app:

module.exports = (env, argv) => ({
  resolve: {
    alias: {
      // Allow to run react-ui in development mode for easier development.
      '@react-ui-org/react-ui$': argv.mode === 'production'
        ? '@react-ui-org/react-ui/dist/react-ui.js'
        : '@react-ui-org/react-ui/dist/react-ui.development.js',
      '@react-ui-org/react-ui/dist/react-ui.css': modeArgument === 'production'
        ? '@react-ui-org/react-ui/dist/react-ui.css'
        : '@react-ui-org/react-ui/dist/react-ui.development.css',
    },
  },
});

Then run webpack with the --mode=production or --mode=development flag.

Contributing

We appreciate any contributions you might make. 🙏

Please check out our Contributing Guide. It includes contribution guidelines and information on how to run and develop the project.