Velocity X Components

Heroes & Sections

Hero — Centred

Centred eyebrow/headline/sub hero with two optional CTAs.

Subscription Included with the Velocity Components subscription.
bash
$ velocityx add hero-centred

Built for astro.

Full docs for Hero — Centred →

Needs a licence key — subscribe here, then velocityx loginonce.

astro v1.0.0
Hero — Centred

Velocity X

Ship marketing sites that feel hand-built

A brand-swappable component system for agencies who ship fast without looking templated.

Props

NameTypeRequiredDefaultDescription
eyebrowstringNo
titlestringYes
substringNo
headingLevel1 | 2 | 3 | 4 | 5 | 6Yes
primaryCta{ label: string; href: string }No
secondaryCta{ label: string; href: string }No
classNamestringNo''

File this creates

The CLI writes this path into your project, relative to its root — nothing else moves.

text
components/velocity/hero-centred/HeroCentred.astro

Using the Hero — Centred component

Install it with velocityx add hero-centred. The CLI writes the source straight into your project — no runtime dependency, no registry lock-in, and it themes itself from the same primary-*/accent-* scale as the rest of the library.

More from Heroes & Sections.