Back to components
ComponentPricingFree

Credit Pack Picker React component

A credit top-up picker: packs that get cheaper per credit, a balance that counts up as you choose, what the pack is worth in images or minutes, and an auto top-up switch.

About the Credit Pack Picker component

Credit Pack Picker sells prepaid credits the clear way: every pack shows its price per 100 credits and how much cheaper it is than the smallest pack, so bigger packs sell themselves.

As people choose, the balance counts up and a list translates the pack into something real, like 500 images or 25 video clips. An auto top-up switch and a CTA with the exact amount finish the job.

When to use it

Use it for AI tools, SMS and email senders, image and video generators, games and anything sold in prepaid credits.

For recurring subscriptions, use a pricing table.

Installation

Add the Credit Pack Picker component to your project with the shadcn CLI. It lands in components/credit-pack-picker.tsx as plain React + Tailwind CSS source you own and can edit.

Install
Copied!
npx shadcn@latest add @reactframe/credit-pack-picker

Or copy the source by hand and install its dependencies:

Install
Copied!
npm install clsx tailwind-merge

More Pricing components

Lifetime Deal Card
Free
À la Carte Plan Builder
Free
Volume Tier Graph
Free
Usage Price Calculator
Free
Flip Price Cards
Free
Price List / Menu
Free