
Product
Announcing Precomputed Reachability Analysis in Socket
Socket’s precomputed reachability slashes false positives by flagging up to 80% of vulnerabilities as irrelevant, with no setup and instant results.
smart-skeleton
Advanced tools
A flexible and customizable skeleton loading component for React applications.
A flexible and customizable skeleton loading component for React applications.
npm install smart-skeleton
import { SmartSkeleton } from 'smart-skeleton';
// Text skeleton
<SmartSkeleton width="100%" height={20} />
// Avatar skeleton
<SmartSkeleton width={48} height={48} rounded />
// Multiple line skeleton
<SmartSkeleton width="100%" height={20} count={3} gap={8} />
// Card skeleton
<div className="space-y-2">
<SmartSkeleton width={300} height={200} />
<SmartSkeleton width={200} height={20} />
<SmartSkeleton width={100} height={20} />
</div>
Prop | Type | Default | Description |
---|---|---|---|
width | string | number | '100%' | Width of the skeleton |
height | string | number | '1rem' | Height of the skeleton |
rounded | boolean | false | Whether to show rounded corners |
animate | boolean | true | Whether to show animation |
count | number | 1 | Number of skeleton items |
direction | 'row' | 'column' | 'column' | Direction of multiple items |
gap | string | number | '0.5rem' | Gap between multiple items |
className | string | '' | Additional CSS classes |
MIT
FAQs
A flexible and customizable skeleton loading component for React applications.
The npm package smart-skeleton receives a total of 0 weekly downloads. As such, smart-skeleton popularity was classified as not popular.
We found that smart-skeleton demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Product
Socket’s precomputed reachability slashes false positives by flagging up to 80% of vulnerabilities as irrelevant, with no setup and instant results.
Product
Socket is launching experimental protection for Chrome extensions, scanning for malware and risky permissions to prevent silent supply chain attacks.
Product
Add secure dependency scanning to Claude Desktop with Socket MCP, a one-click extension that keeps your coding conversations safe from malicious packages.