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 🙏

© 2025 – Pkg Stats / Ryan Hefner

create-react-ui

v0.1.12

Published

create react component ui

Downloads

14

Readme

create-react-ui

The cli to create a react component library project.

Quick Overview

yarn create react-ui my_library_app
cd my_library_app
yarn start

Creating an React Component Library project

npx

npx create-react-ui my_library_app

(npx comes with npm 5.2+ and higher, see instructions for older npm versions)

npm

npm init react-ui my_library_app

npm init <initializer> is available in npm 6+

yarn

yarn create react-ui my_library_app

yarn create is available in Yarn 0.25+

It will create a directory called my_library_app inside the current folder. Inside that directory, it will generate the initial project structure and install the transitive dependencies:

my-app
├── cru.config.js
├── README.md
├── node_modules
├── package.json
├── .env.production
├── .gitignore
├── public
│   ├── favicon.ico
│   ├── index.html
├── components
│   ├── Button
│   │   ├── index.(jsx|tsx)
│   │   ├── index.md
│   │   ├── demo
│   │   │   ├── basic.md
│   │   │   └── basic2.md
│   │   └── style
│   │       └── index.scss
│   ├── common
│   │   └── index.scss
│   └── style
│       ├── index.scss
│       ├── colors
│       │   └── index.scss
│       ├── mixins
│       │   └── index.scss
│       └── themes
│           └── default.scss
├── doc
│   ├── quickStart.md
│   └── test.md
└── libraryStatic
    ├── LICENSE
    └── README.md

Once the installation is done, you can open your project folder:

cd my_library_app

Inside the newly created project, you can run some built-in commands:

npm start or yarn start

Runs the doc app in development mode. Open http://localhost:3000 to view it in the browser.

The page will automatically reload if you make changes to the code.

npm run build or yarn build

Builds the doc and the library for production to the build-doc and build-library folder. It correctly bundles React UI Library Document in production mode and optimizes the build for the best performance. It will correctly build your project into a releasable UI component library

The doc build is minified and the filenames include the hashes. Your doc is ready to be deployed! Your library is ready to be deployed!

npm run build-doc or yarn build-doc

Just bundles the document in production mode

npm run build-library or yarn build-library

Just bundles the React UI library in production mode

npm run eject or yarn eject

If you want complete control over the build details

Note: this is a one-way operation. Once you eject, you can’t go back!

License

Create React UI is open source software licensed as MIT.