React Content Loader is an SVG-based component for skeleton screens while content loads. It offers presets, a custom SVG mode, and the same API on web and React Native.
Overview
React Content Loader draws animated placeholder shapes similar to social card loaders. Developers use bundled presets for common layouts or compose custom rectangles and circles to match their UI.
The web build is lightweight with no runtime dependencies beyond React. Props control colors, animation speed, RTL layout, opacity workarounds for Safari, and optional accessibility titles on DOM renders.
React Native uses the same import pattern but relies on react-native-svg or named Rect and Circle exports because the platform lacks built-in SVG. Presets and customization mirror the web version.
An online tool helps design custom loaders exported as components. CDN delivery via jsDelivr is documented for quick trials without a bundler.
Key features
- SVG-powered skeleton animations
- Facebook and Instagram style presets
- Custom shape composition mode
- React Native support
- Configurable colors and speed
- RTL layout option
- Safari opacity props
- SSR-friendly uniqueKey prop
Use cases
- Feed and card loading states
- List and bullet skeletons
- Code block placeholders
- Mobile app loading screens
- Responsive layout placeholders