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

beautiful-react-ui

v0.57.1

Published

A collection of lightweight and easy-to-customise controlled React components

Downloads

211

Readme

Build Status License: MIT npm GitHub stars

💡 Why?

In the last few year we've had a chance to test a good number of UI libraries, each with its own strengths and weaknesses, but none that matched our expectations in terms of ease of customization.

In fact, our attempt at customizing the style and behavior of the libraries we've tested would generally result in one or more of the following:

  • an inordinate growth in the number of dependencies of our projects, often in the form of language transpilers / compilers causing our build process to grow in complexity beyond reason;
  • a struggle with components carelessly implemented as stateful components where a stateless approach would have resulted in a much better, more performant, more reusable product.

As a result, we've decided to develop a library putting ease of customization as our top priority, focusing on a solid, props-driven API and pure CSS.

🎓 Principles

  • Unopinionated and highly customisable.
  • Driven by grace: instead of customising the padding/margin/color/whatever of a single component, customise the value of padding/margin/color/whatever trough a configuration file, the library will then generate a tailored style keeping grace between components.
  • Render behaviour: the majority of the exported components accept a render prop to possibly customise their behaviour
  • Controlled components: exports controlled components only
  • Lightweights: import nothing but lightweight javascript components.

☕️ Features

  • Concise API
  • Small and lightweight
  • Easy to use
  • Easy to customise
  • Fully written in old-school JS (although TS types are supported)
  • Based on Tailwindcss

Contributing

Contributions are very welcome and wanted.

To submit your custom pull request, please make sure your read our CONTRIBUTING guidelines.

Before submitting a new pull request, please make sure:

  1. You have updated the package.json version and reported your changes into the CHANGELOG file
  2. make sure you run npm test and npm build before submitting your merge request.
  3. make sure you've added the documentation of your changes.
  4. if you've changed the signature of a component, please make sure you've updated the index.d.ts file.

Credits

This library is provided and sponsored by:

As part of our commitment to support and contribute to the open source community.


Icon made by Freepik from www.flaticon.com