Velocity X Components

Heroes & Sections

CTA — Closing with Background Pattern

Final-page CTA with a subtle CSS dot-grid pattern masked behind the copy.

Subscription Included with the Velocity Components subscription.
bash
$ velocityx add cta-closing-pattern

Built for astro.

Full docs for CTA — Closing with Background Pattern →

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

astro v1.0.0
CTA — Closing with Background Pattern

Ready to stop rebuilding the same site?

Fork Velocity X, edit brand.json, and have a working preview live today.

Props

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

Using the CTA — Closing with Background Pattern component

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