SVG-powered React and React Native component for skeleton loading placeholders
open sourceMITfree
React Content Loader is an SVG-powered component for React and React Native that draws placeholder skeletons while content loads, like Facebook's loading cards. Colours, animation speed, sizes and right-to-left layout are customizable, it ships presets, and a companion online tool (create-content-loader) lets you draw your own loader shapes. The web version is under 2 kB with no dependencies, and React Native uses the same API with react-native-svg. It installs with npm i react-content-loader and is MIT licensed.
Problems it solves
- I want skeleton placeholders while my React components load data
- I need Facebook-style loading cards in my React Native app
- I want a tiny skeleton loader with no extra dependencies
Features
- SVG skeleton loading placeholders
- Custom colours, speed, sizes and RTL
- Presets ready to use
- Online tool to design your own loaders
- React Native support with the same API
- Under 2 kB with no dependencies on the web
