Skip to content

Skeleton

Placeholder-Surface während Content lädt. Collection nutzt sie automatisch beim ersten pending Load; Skeleton direkt für Custom Layouts verwenden.

Varianten

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
linesTextzeilenanzahl (Default 1)
width / heightCSS-Längen
animatedWeicher Shimmer (Default true)

Motion folgt den Motion-Tokens des Design Kits.