Skip to main content

Installation

npx shadcn-svelte@next add skeleton

Usage

<script lang="ts">
  import { Skeleton } from "$lib/components/ui/skeleton/index.js";
</script>
<Skeleton class="h-[20px] w-[100px] rounded-full" />

Examples

Card

You can combine skeleton components to create card loading states.

Build docs developers (and LLMs) love