Giter VIP home page Giter VIP logo

beautiful-react-ui's Introduction

Build Status License: MIT npm GitHub stars

beautiful-react-ui


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

๐Ÿ’ก 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

beautiful-react-ui's People

Contributors

antonioru avatar jacoscaz avatar lindsay89 avatar teomurgi avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.