Docs
Skeleton

Skeleton

Use to show a placeholder while content is loading.

Installation

bash
npx shadcn-vue@latest add skeleton

Usage

vue
<script setup lang="ts">
import { Skeleton } from '@/lib/registry/default/ui/skeleton'
</script>

<template>
  <Skeleton class="w-[100px] h-[20px] rounded-full" />
</template>
Edit this page on GitHub