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
| Component | What it is |
|---|---|
| Container | Centred content column with a fluid gutter. |
| Section | A structural band with 64px to 128px of vertical padding. |
| Stack | Vertical flow with a gap on the 8px scale. |
| Row | Horizontal flow that wraps. |
| Grid | Responsive grid, two to four columns. |
| Prose | Long form text with a 65ch measure. |
| Heading | Heading with the right tracking for its size. |
| Text | Body copy, muted by default. |
| Lead | The sentence under a heading. |
| Eyebrow | Small uppercase label above a heading. |
| Button | Action control, renders an anchor when href is given. |
| Card | Bordered surface for one unit of content. |
| Badge | Small pill for status or metadata. |
| Nav | Sticky top navigation with a product to Veyra brand rollover. |
| VeyraMark | The icon-only Veyra mark, drawn with currentColor. |
| Footer | Footer with link columns. |
| Link | Internal 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.
| Component | What it is |
|---|---|
| Reveal | Fades and lifts children into place on scroll. |
| Parallax | Moves a layer against the scroll. |
| Marquee | Infinite horizontal scroll for logo strips. |
| ScrollProgress | Thin 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.
: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.