Velocity X Components

Heroes & Sections

Hero — Split with Image

Copy-left image-right hero with a gradient placeholder fallback when no image is supplied.

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

Built for astro.

Full docs for Hero — Split with Image →

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

astro v1.0.0
Hero — Split with Image

For agencies

One codebase, every client's brand

Fork the stock template, edit brand.json, ship — no component rewrites per client.

Props

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

File this creates

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

text
components/velocity/hero-split-image/HeroSplitImage.astro

Using the Hero — Split with Image component

Install it with velocityx add hero-split-image. 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.