Skeleton preset

Profile

Profile header with statistics

VProfileSkeletonprofile pattern

<VProfileSkeleton />

Controls

The picker cannot show transparency. Type an rgba() value to keep it.

The picker cannot show transparency. Type an rgba() value to keep it.

Blocks

Implementation

vue
<script setup lang="ts">
import { VProfileSkeleton } from "veload";
import "veload/style.css";
</script>

<template>
  <VProfileSkeleton />
</template>

Props

VProfileSkeleton props
PropTypeDefaultDescription
rowsnumber3Number of repeated text lines, list items, fields or data rows. Clamped to 1–12. Table and dashboard headers are separate; dashboard always includes one fixed header.
avatarSizenumber48Diameter of the avatar block in pixels. Clamped to 1–160.
showStatsbooleantrueToggles the statistic tiles used by profile and dashboard patterns.
colorstring—Base colour of the placeholder blocks. Falls back to `--v-skeleton-base-color`.
highlightColorstring—Colour of the shimmer highlight. Falls back to `--v-skeleton-highlight-color`.
animatedbooleantrueEnables the shimmer animation. Reduced-motion preferences always disable it.
labelstring—Accessible name announced by the status region. Without a label the skeleton stays hidden from assistive technology.

About this preset

  • An avatar beside the name and supporting lines.
  • Optional statistic tiles span the full width.
  • The avatar size is configurable with `avatarSize`.