Velocity X Components

Growth & Conversion

Sticky CTA Bar

Mobile and tablet bottom CTA bar that slides in past the hero, keeping the primary conversion one thumb-tap away. Dismissible and safe-area aware.

Subscription Included with the Velocity Components subscription.
bash
$ velocityx add sticky-cta-bar

Built for react. Needs react already installed as a peer dependency. An Astro-only project needs @astrojs/react wired up first — this won't run on its own in plain Astro.

Full docs for Sticky CTA Bar →

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

react v1.0.3 react

Sticky CTA Bar

Mobile and tablet bottom CTA bar that slides in past the hero, keeping the primary conversion one thumb-tap away. Dismissible and safe-area aware.

Preview isn't available in this repo yet — install with the CLI to view the source

Props

This component's API isn't documented yet.

Files this creates

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

text
components/velocity/sticky-cta-bar/StickyCtaBar.tsx
components/lib/analytics.ts
components/lib/consent.ts

Using the Sticky CTA Bar component

Install it with velocityx add sticky-cta-bar. 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 Growth & Conversion.