Velocity X Components

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.

Subscription Included with the Velocity Components subscription.
bash
$ 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.

react v1.0.1 react
ROI Savings Calculator CTA

ROI calculator

See what manual reporting is costing you

Drag the sliders to match your situation — the number updates instantly.

6 hrs

Use the slider or arrow keys to set hours per week, between 1 and 40.

$45/hr

You'd save around

$14,040

per year, based on the numbers above.

Props

NameTypeRequiredDefaultDescription
eyebrowstringNo'ROI calculator'
headlinestringNo'See what this is worth to your team'
subheadstringNo'Drag the sliders to match your situation — the number updates instantly.'
currencystringNo'$'
hoursLabelstringNo'Hours spent per'
rateLabelstringNo'Cost per hour'
defaultHoursnumberNo6
defaultRatenumberNo45
frequency'week' | 'month'No'week'
minHoursnumberNo1
maxHoursnumberNo40
minRatenumberNo15
maxRatenumberNo200
calculate(hoursPerPeriod: number, hourlyRate: number) => numberNo
resultLabelstringNo"You'd save around"
resultCaptionstringNo'per year, based on the numbers above.'
ctaLabelstringNo'Get my savings plan'
onCtaClick(annualSavings: number) => voidNo
classNamestringNo''

File this creates

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

text
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.

More from Growth & Conversion.