A shimmering placeholder shown while content loads.
Copy the command below and run it in your terminal.
bunx @sivir/ui add skeleton
pnpm dlx @sivir/ui add skeleton
npx @sivir/ui add skeleton
yarn dlx @sivir/ui add skeleton
Import Skeleton and specify width and height:
import { Skeleton } from '$lib/sivir/components/skeleton'; <Skeleton w={200} h={40} /> <Skeleton w={100} h={100} class="rounded-full" />
Skeleton in various shapes and sizes.