Components

The design system is part of the framework, not an add-on. Import what you need from velz/ui. Every component accepts class so you can adjust it without forking it.

Layout and type

ComponentWhat it is
ContainerCentred content column with a fluid gutter.
SectionA structural band with 64px to 128px of vertical padding.
StackVertical flow with a gap on the 8px scale.
RowHorizontal flow that wraps.
GridResponsive grid, two to four columns.
ProseLong form text with a 65ch measure.
HeadingHeading with the right tracking for its size.
TextBody copy, muted by default.
LeadThe sentence under a heading.
EyebrowSmall uppercase label above a heading.
ButtonAction control, renders an anchor when href is given.
CardBordered surface for one unit of content.
BadgeSmall pill for status or metadata.
NavSticky top navigation with a product to Veyra brand rollover.
VeyraMarkThe icon-only Veyra mark, drawn with currentColor.
FooterFooter with link columns.
LinkInternal link with client side navigation.

Nav defaults to author="Veyra" and brandTransition="swipe". Use brandTransition="scramble" for a text reveal, or author= to remove the credit. Both faces navigate to the same destination. See Recipes for the full example.

Motion

Motion primitives live in velz/motion. They animate transform and opacity only, they clean up after themselves, and they reduce to a short fade when the reader asked for less motion.

ComponentWhat it is
RevealFades and lifts children into place on scroll.
ParallaxMoves a layer against the scroll.
MarqueeInfinite horizontal scroll for logo strips.
ScrollProgressThin progress bar bound to document scroll.

Tokens

Colour, spacing, type and motion are CSS custom properties. Override them once, in src/styles.css, and the whole site follows.

styles.css
:root {
  --velz-accent: #c2703d;
  --velz-accent-ink: #0c0b0a;
  --velz-container: 1120px;
}

A section can invert the palette with <Section tone="paper">. Use it once per page, on the section that deserves the contrast.