Velocity X Components

Heroes & Sections

Hero — Gradient Mesh Background

Centred hero with a pure-CSS radial gradient mesh backdrop, no shader runtime.

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

Built for astro.

Full docs for Hero — Gradient Mesh Background →

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

astro v1.0.0
Hero — Gradient Mesh Background

Velocity X

A soft gradient moment, used once per page

Pure CSS radial-gradient mesh — no shader runtime, no extra JS weight.

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-gradient-mesh/HeroGradientMesh.astro

Using the Hero — Gradient Mesh Background component

Install it with velocityx add hero-gradient-mesh. 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.