libreact is a collection of reusable React components and utilities — described as a “standard library for React projects” — that aims to simplify and standardise common patterns in React development. The library is modular: you can import specific modules such as withState, withToggle, mock, loadable, lazy, flipflop, withValue, List, Map, sensors, toggles and more. Many components are isomorphic (work in browser and server) and some even support React Native. It comes with documentation and storybook examples, making it useful for developers who want ready-to-use building blocks instead of reinventing common hooks or patterns. The license is Unlicense, which means fully open and free to use. With ~2.6k stars, it has a fair level of traction.
Features
- Modular import of individual components/hooks so users only include what they need
- Support for isomorphic rendering (browser + server) and some React Native support
- Collection of common higher-order components (HOCs) like withState, withToggle
- Utilities for state management, lists/maps, mock data and loadable components
- Documented storybook and demo setup for rapid evaluation
- Permissive (Unlicense) to use in any project without restriction