React Loading Skeleton
react-loading-skeleton
Make beautiful, animated loading skeletons that automatically adapt to your app.
Utilities
react
loading
skeleton
progress
spinner
react-loading-skeleton
Utilities
javascript
npm
frontend
Stars
4.2k
Weekly
1.1M
Open issues
7
Bundle
~25 kB
Installation
npm install react-loading-skeletonCode example
import { useLoadingSkeleton } from "react-loading-skeleton";
export function Example() {
const value = useLoadingSkeleton();
return <p>{String(value)}</p>;
}Pros & cons
Pros
- Actively maintained by David Tang
- 1.1M weekly downloads. Battle tested
- First-class TypeScript definitions
- MIT licensed
Considerations
- Adds roughly ~25 kB to your bundle
- Needs client-only rendering in SSR frameworks
- Not supported in React Native
- 7 open issues on GitHub