Utilities cheat sheet Guide

A quick reference to VD3 UI utility classes from helpers.css, typography.css, colors.css, and shadow.css. These are pure CSS and work the same in static HTML and Vue templates. Spacing, gaps, and radii follow the Fibonacci scale.

Spacing
ClassEffect
vd-p-0 … vd-p-24Padding on all sides. Steps map to --vd-spacing-* (Fibonacci px: 0, 1, 2, 3, 5, 8, 13, 21, 34, 55, 89, 144).
vd-m-0 … vd-m-24Margin on all sides, same --vd-spacing-* scale as padding.
vd-m-autoMargin: auto (centre a block horizontally when it has a width).
vd-mt-2 … vd-mt-8Top margin (vd- prefix). Unprefixed mt-* / mb-* / ml-* / mr-* aliases also exist.
vd-mb-0 … vd-mb-8Bottom margin (vd- prefix).
vd-ml-5Left margin (vd- prefix; directional set is a subset).
vd-mr-3Right margin (vd- prefix; directional set is a subset).
vd-gap-0 … vd-gap-12Flex/grid gap on the same --vd-spacing-* scale.
vd-gap-fib-2 … vd-gap-fib-21Flex/grid gap on the Fibonacci token scale (--vd-gap-fib-*).
Typography
ClassEffect
vd-text-xsFont size --vd-font-size-xs (0.625rem).
vd-text-smFont size --vd-font-size-sm (0.8125rem).
vd-text-baseFont size --vd-font-size-base (1rem).
vd-text-lgFont size --vd-font-size-lg (fluid).
vd-text-xl … vd-text-6xlLarger fluid type steps.
vd-text-lefttext-align: left
vd-text-centertext-align: center
vd-text-righttext-align: right
vd-text-mutedMuted body color (--vd-text-muted).
vd-text-primaryBrand/accent color (--vd-color-primary), not the body-text token.
vd-font-lightFont weight 300
vd-font-normalFont weight 400 (also resets font-style).
vd-font-mediumFont weight 500
vd-font-semiboldFont weight 600
vd-font-boldFont weight 700
vd-font-extraboldFont weight 800
Layout & display
ClassEffect
vd-containerFixed max-width container that steps at each breakpoint.
vd-container-responsiveFluid width with responsive gutters (used across these docs).
vd-container-fluidFull viewport width, edge to edge.
vd-row12-column grid row.
vd-col-12Full-width column (pair with vd-col-md-* etc. for breakpoints).
vd-col-sm-*Column span from the sm breakpoint (≥ 576px).
vd-col-md-*Column span from the md breakpoint (≥ 768px).
vd-col-lg-*Column span from the lg breakpoint (≥ 992px).
vd-col-xl-*Column span from the xl breakpoint (≥ 1200px).
vd-col-2xl-*Column span from the 2xl breakpoint (≥ 1400px).
vd-d-nonedisplay: none
vd-d-blockdisplay: block
vd-d-flexdisplay: flex
vd-d-griddisplay: grid
justify-startjustify-content: flex-start (no vd- prefix).
justify-centerjustify-content: center
justify-betweenjustify-content: space-between
items-centeralign-items: center (no vd- prefix).
items-startalign-items: flex-start
img-fluidResponsive image, max-width 100% (media.css).
aspect-video16:9 frame. Also aspect-square, aspect-4-3, aspect-golden.
vd-transition-allTransition helper from utilities/transitions.css.
scale-100Transform helper from utilities/transforms.css.
vd-d-print-noneHide in print. Also vd-d-print-block and vd-d-print-inline.
Color, border & elevation
ClassEffect
vd-bg-primaryBrand fill (--vd-color-primary), not the page-surface token --vd-bg-primary.
vd-bg-secondarySecondary brand fill (--vd-color-secondary).
vd-bg-lightLight surface (--vd-bg-secondary).
vd-bg-darkDark surface (--vd-bg-dark).
vd-text-successSemantic success color
vd-text-warningSemantic warning color
vd-text-errorSemantic error color (there is no vd-text-danger).
vd-text-infoSemantic info color
vd-border1px solid --vd-border-color
vd-rounded-noneborder-radius: 0
vd-rounded-smRadius --vd-radius-fib-2
vd-roundedRadius --vd-radius-fib-3
vd-rounded-mdRadius --vd-radius-fib-5
vd-rounded-lgRadius --vd-radius-fib-8
vd-rounded-xlRadius --vd-radius-fib-13
vd-rounded-2xlRadius --vd-radius-fib-21
vd-rounded-fullPill / circle (9999px)
vd-shadow-smSmall elevation
vd-shadow-mdMedium elevation
vd-shadow-lgLarge elevation
vd-glowPrimary glow
vd-glow-smSmall glow
vd-glow-mdMedium glow
vd-glow-lgLarge glow
Tip

Reach for utilities for one-off spacing and alignment; reach for component classes (vd-card, vd-btn) for recurring patterns. Native h1–h6 already pick up the type scale from the stylesheet — there are no vd-h1 classes. For the color ramps behind these utilities, see the color palette.