Pricing Volume
Volume-based fee calculator: stepped slider of monthly payment volume, the blended rate tier highlighted in a tier table, and an estimated monthly fee vs. a typical 2.9% processor.
neo-corporate/section/pricing-volumeSource
"use client";
import { useId, useState } from "react";
import { cn } from "@/lib/utils";
export interface PricingVolumeProps {
title?: string;
description?: string;
/** Monthly payment volume steps (USD). */
steps?: number[];
defaultStep?: number;
className?: string;
}
function rate(volume: number) {
if (volume >= 2_000_000) return 0.009;
if (volume >= 500_000) return 0.012;
if (volume >= 100_000) return 0.015;
return 0.019;
}
/** Volume-based fee calculator: stepped slider of monthly payment volume, the blended rate tier highlighted in a tier table, and an estimated monthly fee vs. a typical 2.9% processor. */
export function PricingVolume({
title = "Transparent pricing that drops as you grow",
description = "One blended rate for card, ACH and SEPA. No setup fees, no monthly minimums.",
steps = [25_000, 50_000, 100_000, 250_000, 500_000, 1_000_000, 2_000_000, 5_000_000],
defaultStep = 3,
className,
}: PricingVolumeProps) {
const id = useId();
const [i, setI] = useState(defaultStep);
const volume = steps[i] ?? steps[0]!;
const r = rate(volume);
const fee = volume * r;
const typical = volume * 0.029;
const fmt = (n: number) => `$${Math.round(n).toLocaleString("en-US")}`;
const tiers = [
{ label: "Up to $100k", rate: 0.019 },
{ label: "$100k – $500k", rate: 0.015 },
{ label: "$500k – $2M", rate: 0.012 },
{ label: "$2M+", rate: 0.009 },
];
return (
<section aria-labelledby={`${id}-t`} className={cn("da-section bg-da-surface-2 text-da-fg", className)}>
<div className="da-container">
<div className="max-w-2xl">
<h2 id={`${id}-t`} className="font-da-display text-[clamp(2rem,4.5vw,3rem)] leading-[1.1] font-extrabold tracking-da-display text-balance">
{title}
</h2>
<p className="mt-4 text-lg text-da-muted-fg">{description}</p>
</div>
<div className="da-stroke mt-10 grid overflow-hidden rounded-da-lg bg-da-surface text-da-surface-fg shadow-da-md lg:grid-cols-[1.4fr_1fr]">
<div className="p-6 sm:p-8">
<label htmlFor={id} className="text-sm font-semibold">
Monthly payment volume
</label>
<p className="mt-2 font-da-mono text-3xl font-medium tabular-nums" aria-live="polite">
{fmt(volume)}
</p>
<input
id={id}
type="range"
min={0}
max={steps.length - 1}
step={1}
value={i}
onChange={(e) => setI(Number(e.target.value))}
aria-valuetext={fmt(volume)}
className="da-focus mt-4 w-full accent-(--da-primary)"
/>
<table className="mt-6 w-full text-sm">
<caption className="sr-only">Rate tiers</caption>
<tbody>
{tiers.map((t) => (
<tr key={t.label} className={cn("border-b border-da-border last:border-0", t.rate === r && "bg-da-accent font-semibold text-da-accent-fg")}>
<th scope="row" className="px-3 py-2.5 text-left font-inherit">
{t.label}
</th>
<td className="px-3 py-2.5 text-right font-da-mono">{(t.rate * 100).toFixed(1)}%</td>
</tr>
))}
</tbody>
</table>
</div>
<div className="flex flex-col border-t border-da-border bg-da-surface-2 p-6 sm:p-8 lg:border-t-0 lg:border-l">
<p className="text-sm text-da-muted-fg">Estimated Ledgerly fees</p>
<p className="mt-1 font-da-display text-4xl font-extrabold tracking-da-display">{fmt(fee)}</p>
<p className="text-sm text-da-muted-fg">per month at {(r * 100).toFixed(1)}%</p>
<div className="mt-6 rounded-da-md bg-da-success/10 p-4">
<p className="text-sm">vs. {fmt(typical)} with a typical 2.9% processor</p>
<p className="mt-1 font-da-display text-xl font-bold text-da-success">Save {fmt(typical - fee)}/mo</p>
</div>
<a
href="#signup"
className="da-focus da-transition mt-auto inline-flex h-11 items-center justify-center rounded-da-md bg-da-primary font-semibold text-da-primary-fg hover:bg-da-primary/90 max-lg:mt-6"
>
Get started
</a>
</div>
</div>
</div>
</section>
);
}
export default PricingVolume;
modules/neo-corporate/section/pricing-volume/index.tsx
Props
| Prop | Type | Default | Description |
|---|---|---|---|
| title | string | — | Heading. |
| description | string | — | Supporting text. |
| steps | number[] | — | Monthly payment volume steps (USD). |
| defaultStep | number | — | Default Step. |
| className | string | — | Extra classes on the root. |
Other pricing variants in Neo Corporate
Pricing Fees
Pay-as-you-go fee sheet: big per-method rates in bordered cells (4-up), then a “no hidden fees” checklist band.
Pricing Matrix
Enterprise feature matrix: sticky-looking header row of plans, grouped rows with section headings, checks/dashes/values and a tinted featured column.
Pricing Tiers
Three bordered tiers with a monthly/annual segmented toggle; the featured tier has a blue top bar and “Most popular” badge; enterprise shows “Custom”.
Pricing in other art directions
Pricing Comparison
Full feature matrix: ruled table with plan headers (price + CTA, highlighted plan in yellow), ink group separator rows and check / dash / text values, horizontally scrollable on mobile.
Pricing Single
Single-plan pricing card: giant price on a yellow panel, numbered feature grid on paper, full-width ink CTA, guarantee line and a rotated pink discount sticker.
Pricing Slider
Usage-based pricing calculator: chunky range slider with a square yellow thumb, live per-unit and total price (volume tiers), included-features list and an ink CTA bar.
Pricing Tiers
Three plans glued together in one ruled strip, the highlighted plan pops out in solid yellow with a rotated badge. Monthly/yearly toggle with discount chip, custom-price plan support.
Pricing Credits
Pay-as-you-go pricing: four glass radio cards of recording-hour packs (tags like Popular / Best value) feeding a gradient summary card with price, per-hour cost, inclusions and CTA.
Pricing Duo
Free vs paid in one glass panel: two plan headers with price and CTA over a shared feature table (checks, dashes, values); the paid column is tinted with a soft gradient and a gradient CTA.
Pricing Frosted
Three frosted pricing cards with a pill billing toggle; the featured plan gets a gradient frame, gradient badge and gradient CTA and stands slightly taller. Per-seat units and custom pricing supported.
Pricing Spotlight
Single-plan pricing: a wide glass card split into a gradient price block (plan, big price, CTA, sales link) and a two-column feature list with a money-back guarantee and customer wordmarks.
Pricing Columns
Three quiet pricing columns with a segmented monthly/yearly control, per-seat units, and a featured plan lifted by a ring, soft shadow and an indigo hairline highlight on top.
Pricing Rows
Plans stacked as full-width horizontal rows (name + description, highlight chips, price, CTA), the featured one ringed in indigo, followed by an inverted ink enterprise strip.
Pricing Table
Full plan comparison table: four plan columns with price and CTA in the header, grouped feature rows with checks, dashes or values, featured column tinted; horizontally scrollable on small screens.
Pricing Usage
Seat-based pricing calculator: range slider for responders, four volume tiers with the active one highlighted, monthly/yearly toggle and a live estimated total panel with inclusions and CTA.
Pricing Columns
Three plan columns separated by hairlines (no cards): mono plan name, huge price, note, ruled feature list and a button; the featured plan has an ink button and a signal dot.
Pricing One
Single-price poster: a gigantic price set in the display face across the left, and on the right a short pitch, a two-column “included” list with en-dashes and an ink CTA; separated by a full-ink rule.
Pricing Table
Plain typographic comparison table: ink header rule, mono column heads, hairline rows, em-dash for absent features, and the featured column marked with a signal dot.
Pricing Toggle
Pricing as a ruled list: a text toggle “Monthly / Yearly (−20%)” with an underline on the active option, then one row per plan — name, blurb, price, arrow link — rows invert on hover.
Pricing Compare
Soft comparison table: rounded card, plan names in serif with prices, zebra rows in warm tints, sage check circles and dashes, highlighted featured column.
Pricing Single
One honest plan: a wide rounded card split into a sage-tinted price side (big serif price, CTA, guarantee) and a two-column “everything included” list.
Pricing Team
Team-size calculator: a warm range slider (10–500 people) drives a big serif monthly price, annual saving line and a sapling illustration that grows with team size.
Pricing Tiers
Three rounded plans on cream; the middle one sits on a deep sage card (inverted colors) lifted slightly higher, with a leaf ribbon; checklists use soft tinted checks.
Pricing Cards
Three rounded plan cards with emoji (Sprout, Bloom, Forest), a pill monthly/yearly toggle, mint tick lists, and the featured plan filled in lavender with a tilted butter “Most loved” sticker.
Pricing Compare
Rounded comparison table inside a white card: soft zebra rows, round mint check and grey dash badges, and a lavender featured column with rounded head.
Pricing Duo
Two big plan blocks side by side: a mint “Free” block and a periwinkle “Pro” block with light text, huge rounded prices, round-tick feature lists and contrasting pill CTAs.
Pricing Team
Team-size price calculator: big round −/+ stepper around an editable number, avatar dots popping in for each person (paid seats ringed), and a butter summary card with the live monthly total.