Skeleton
Delay the placeholder, hold it long enough to read, then swap into reserved content.
Installation
Copy the command below and run it in your terminal.
Usage
Use SkeletonSwap around asynchronous
content. Fast responses skip the placeholder; once shown, it stays visible long enough
to avoid a flash.
Examples
Use the static Skeleton primitive when you need to compose a custom placeholder.
Rectangle
Circle
Card composition
Anatomy
Skeleton - Displays a static loading placeholder.
SkeletonSwap - Swaps a delayed placeholder into reserved content.
bunx @sivir-ui/svelte add skeleton