Package Exports
- skeleton-ghost-loader
- skeleton-ghost-loader/dist/skeleton-loader.es.js
- skeleton-ghost-loader/dist/skeleton-loader.umd.js
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (skeleton-ghost-loader) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
React Smart Skeleton 🦴
A smart skeleton loader for React that automatically matches:
- inline styles
- class styles (including Tailwind)
- browser default styles
No wrappers. No layout shift. Just add one prop.
✨ Features
✅ Works with Vite, CRA, Next.js
✅ Supports Tailwind CSS
✅ Uses real computed browser styles
✅ Text & box skeleton differentiation
✅ Zero config
✅ Tree traversal (deep children supported)
📦 Installation
npm i skeleton-ghost-loader