Usage Calculator
Sliders split into price bands on one side and a rolling total on the other, for any product priced by usage.
pixikit.com/docs/blocks/pricing/usage-calculator
Customize
Currency
Locale
Base fee0
Accent color
Props
12| Name | Type | Default | Description |
|---|---|---|---|
title | string | "Pay for what you use" | The heading above the calculator. Leave empty for none. |
description | string | "Move the sliders to match your team. The total updates as you go." | The line under the heading. Leave empty for none. |
meters | UsageCalculatorMeter[] | DEFAULT_METERS | The sliders, each with its own graduated price bands. |
currency | string | "USD" | An ISO currency code, e.g. `USD` or `EUR`. |
locale | string | "en-US" | How numbers and prices are written, e.g. `en-US` or `de-DE`. |
period | string | "month" | The period the total is for, shown after it. |
baseFee | number | 9 | A flat amount added to every total. |
note | string | "Prices before tax." | A line under the total. |
cta | { label: string; href: string } | { label: "Get started", href: "#" } | The button under the total. |
labels | UsageCalculatorLabels | DEFAULT_LABELS | The words for the total, the base fee, a free band and a unit price. |
accentColor | string | "#7c3aed" | The active band on each slider and the thumbs. |
className | string | None |