Skeleton preset

Dashboard

Statistics, chart and table

VDashboardSkeletondashboard pattern

Table preview: one fixed header + 3 data rows. Statistics and chart are separate sections.

<VDashboardSkeleton />

Controls

Data rows only. One fixed table header is always shown; statistics and chart are separate.

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 { VDashboardSkeleton } from "veload";
import "veload/style.css";
</script>

<template>
  <VDashboardSkeleton />
</template>

Props

VDashboardSkeleton 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.
columnsnumber3Number of columns in table and dashboard layouts. Clamped to 1–6.
showChartbooleantrueToggles the dashboard chart block.
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

  • Statistic tiles, a chart block and a table with one fixed header.
  • Rows counts data rows only; the header, chart and statistic tiles are separate sections.
  • Column count drives both the table and the statistic row.
  • Use `showChart` to collapse the chart block.