Heroes & Sections
CTA — Closing with Background Pattern
Final-page CTA with a subtle CSS dot-grid pattern masked behind the copy.
$ 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.
Ready to stop rebuilding the same site?
Fork Velocity X, edit brand.json, and have a working preview live today.
Props
| Name | Type | Required | Default | Description |
|---|---|---|---|---|
| title | string | Yes | ||
| sub | string | No | ||
| headingLevel | 1 | 2 | 3 | 4 | 5 | 6 | Yes | ||
| primaryCta | { label: string; href: string } | Yes | ||
| secondaryCta | { label: string; href: string } | No | ||
| className | string | No | '' |
File this creates
The CLI writes this path into your project, relative to its root — nothing else moves.
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.
Related components
More from Heroes & Sections.
Copy column paired with a one or two column checklist of benefits.
astroAccessible comparison table with a highlighted column and horizontal scroll on mobile.
astroFull-bleed brand-gradient CTA banner, the project's single-use-per-page gradient moment.
astroCentred call-to-action card with one or two buttons.
astro