Skip to content

Skeleton

Placeholder surface while content loads. Collection uses these automatically on first pending load; use Skeleton directly for custom layouts.

Variants

vue
<script setup lang="ts">
import { Skeleton } from 'pomikit-ui'
</script>

<template>
  <Skeleton variant="text" :lines="3" />
  <Skeleton variant="rect" width="100%" height="120px" />
  <Skeleton variant="circle" width="40px" height="40px" />
</template>
PropNotes
varianttext | rect | circle
linesText line count (default 1)
width / heightCSS lengths
animatedSoft shimmer (default true)

Motion follows the Design Kit motion tokens.