Back to components
ComponentPricingFree

Volume Tier Graph React component

Tiered pricing you can see: a stepped price curve with a draggable marker, graduated or volume modes, a live total and average per unit, and the cost split across each tier.

About the Volume Tier Graph component

Volume Tier Graph turns a confusing tier table into a picture: unit price steps down as volume goes up, and dragging the marker along the curve shows the monthly total, the average per unit and how the cost splits across each tier.

Switch between graduated pricing, where each tier is charged at its own rate, and volume pricing, where every unit gets the rate of the tier you reach.

When to use it

Use it for email and SMS pricing, API and cloud usage, wholesale discounts and any price that drops with quantity.

With a flat rate there's nothing to show; a simple calculator is enough.

Installation

Add the Volume Tier Graph component to your project with the shadcn CLI. It lands in components/volume-tier-graph.tsx as plain React + Tailwind CSS source you own and can edit.

Install
Copied!
npx shadcn@latest add @reactframe/volume-tier-graph

Or copy the source by hand and install its dependencies:

Install
Copied!
npm install clsx tailwind-merge

More Pricing components

Flip Price Cards
Free
Lifetime Deal Card
Free
Pricing Spotlight Carousel
Free
Credit Pack Picker
Free
Hanging Price Tags
Free
À la Carte Plan Builder
Free