Velocity X Components

Growth & Conversion

Lead-Capture Popup

Exit-intent (desktop) plus scroll-up (mobile) lead popup. Once-per-session with a cooldown, accessible, dark-mode and dismiss-friendly.

Subscription Included with the Velocity Components subscription.
bash
$ velocityx add lead-capture-popup

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 Lead-Capture Popup →

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

react v1.0.3 react

Lead-Capture Popup

Exit-intent (desktop) plus scroll-up (mobile) lead popup. Once-per-session with a cooldown, accessible, dark-mode and dismiss-friendly.

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/lead-capture-popup/LeadCapturePopup.tsx
components/lib/analytics.ts
components/lib/attribution.ts

Using the Lead-Capture Popup component

Install it with velocityx add lead-capture-popup. 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.