Velocity X Components

Heroes & Sections

CTA — Split with Image

Rounded CTA card with copy on one side and an image or placeholder on the other.

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

Built for astro.

Full docs for CTA — Split with Image →

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

astro v1.0.0
CTA — Split with Image

Ready when you are

See Velocity X on your own brand

We'll fork the stock template, drop in your brand.json, and have a working preview live same day.

Image placeholder

Props

NameTypeRequiredDefaultDescription
eyebrowstringNo
titlestringYes
substringNo
headingLevel1 | 2 | 3 | 4 | 5 | 6Yes
primaryCta{ label: string; href: string }Yes
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/cta-split-image/CtaSplitImage.astro

Using the CTA — Split with Image component

Install it with velocityx add cta-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.