Tired of creating separate skeleton components for every UI? π©
I built a small npm package that solves this π
π auto-loading-skeleton
[https://www.npmjs.com/package/auto-loading-skeleton]
β‘ What it does
Just wrap your component and it automatically generates a matching skeleton UI.
No duplication. No maintenance.
π οΈ Usage
import { AutoSkeleton } from "auto-loading-skeleton";
<AutoSkeleton loading={isLoading}>
<YourComponent />
</AutoSkeleton>
π₯ Why use it?
- No manual skeleton design
- Always matches your UI
- Saves development time
- Clean & simple
Perfect for
Dashboards, cards, API-based UI, and modern apps.
Would love your feedback π
Top comments (0)