Growth & Conversion
ROI Savings Calculator CTA
A two-slider ROI calculator that turns a visitor's own hours-and-cost numbers into an instant dollar figure, then hands them straight to a CTA with that figure attached — built for a pricing or landing page where the sell is personal savings, not a generic feature list.
$ velocityx add roi-savings-calculator-cta
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 ROI Savings Calculator CTA →
Needs a licence key —
subscribe here, then
velocityx loginonce.
ROI calculator
See what manual reporting is costing you
Drag the sliders to match your situation — the number updates instantly.
Use the slider or arrow keys to set hours per week, between 1 and 40.
You'd save around
$14,040
per year, based on the numbers above.
Props
| Name | Type | Required | Default | Description |
|---|---|---|---|---|
| eyebrow | string | No | 'ROI calculator' | |
| headline | string | No | 'See what this is worth to your team' | |
| subhead | string | No | 'Drag the sliders to match your situation — the number updates instantly.' | |
| currency | string | No | '$' | |
| hoursLabel | string | No | 'Hours spent per' | |
| rateLabel | string | No | 'Cost per hour' | |
| defaultHours | number | No | 6 | |
| defaultRate | number | No | 45 | |
| frequency | 'week' | 'month' | No | 'week' | |
| minHours | number | No | 1 | |
| maxHours | number | No | 40 | |
| minRate | number | No | 15 | |
| maxRate | number | No | 200 | |
| calculate | (hoursPerPeriod: number, hourlyRate: number) => number | No | ||
| resultLabel | string | No | "You'd save around" | |
| resultCaption | string | No | 'per year, based on the numbers above.' | |
| ctaLabel | string | No | 'Get my savings plan' | |
| onCtaClick | (annualSavings: number) => void | No | ||
| className | string | No | '' |
File this creates
The CLI writes this path into your project, relative to its root — nothing else moves.
components/velocity/roi-savings-calculator-cta/RoiSavingsCalculatorCta.tsx Using the ROI Savings Calculator CTA component
Install it with velocityx add roi-savings-calculator-cta.
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 Growth & Conversion.
A persistent top-docked bar that resurfaces a cart left behind on any route, showing item count and total with Resume and Clear actions — a cross-page return nudge, not a cart panel.
reactA bottom-docked banner that nudges mobile visitors to open or install the native app, with iOS/Android-aware copy and store links, and a dismissal that snoozes for two weeks instead of forever.
reactAn inline deadline banner for a sale or launch window that counts down and then degrades gracefully to a plain closing message the instant it ends — never a broken negative-time state. Dismissible and remembered for the session.
reactA claim-to-reveal discount code card with one-tap copy and an expiry note, so the offer reads as earned rather than just printed on the page.
react