Preloader & loading patterns

Patterns for showing progress during navigation, lazy-loaded sections, and async work. Spinner markup, modifiers, quad loader (.vd-dynamic-loader*), accessibility notes, and the full CSS class reference live on Spinners. Determinate bars (sizes, stripes, indeterminate, stacked fills, API) are documented under Progress.

Inline loading

Use beside controls or inside buttons while work completes.

Spinners — sizes, colors, grow, dots, centered layouts →

Progress handoff

Switch from indeterminate spinners to a bar once you know completion percentage.

Progress — variants, stripes, sizes, API →

Page-level quad loader

Same structure as this documentation site's placeholders: semantic-colored spinners inside .vd-dynamic-loader. Staggered rotation comes from spinner.css (.vd-dynamic-loader-grid); extra animation-delay on each cell is optional.

Loading section...

Quad loader markup & overlay variant →

Skeleton + quad overlay

Use .vd-dynamic-loader-card so the loader sits above skeleton placeholders with the built-in scrim (see Spinners).

Loading section...
VdPreloader Component & Copy-Paste Patterns

Live <VdPreloader> instances (styled with position: relative here so they stay contained inside the demo card rather than covering the viewport):

Loading…
Syncing data

VdPreloader API (Vue 3)

PropDescription
:variantprimary | secondary | success | warning | error | info (default primary).
:sizesm | md | lg | xl (default md).
:themelight | dark (default light).
:textOptional caption below the loader.

For scroll- or fetch-triggered placeholders in your own app, reach for the useLazyLoad composable — see the Lazy Loading guide.

API reference

Spinner and quad-loader CSS classes are fully listed on Spinners. Progress bar classes and examples are on Progress.

TopicWhere to read more
.vd-spinner*, .vd-spinner-dots, .vd-spinner-grow, .vd-spinner-centerSpinners — demos, variables, accessibility
.vd-dynamic-loader, .vd-dynamic-loader-grid, .vd-dynamic-loader-text, .vd-dynamic-loader-cardSpinners (quad loader section)
.vd-progress, .vd-progress-bar, modifiers Progress
VdPreloader component Page-level spinner shell: variant, size, theme, and text. Determinate bars live on VdProgress.