For AI Agents
Hand your agent this brief or the ReUI MCP, not a screenshot. Installs with a ReUI Pro or Ultimate license.
Best for: Prepaid AI tokens from 4 providers in packs priced per 1M, with auto top-up and usage alert switches and card, wallet or invoice payment
When to use
- A storefront checkout that takes a shopper from contact and shipping to payment beside the order total
- A one page pay screen, with typed shipping and card fields or a saved card confirmed by its CVV
- A prepaid AI token or usage credit purchase for a workspace, with billing details and no shipping
When not to use
- Setting up a billing profile with a spend limit and billing alerts, with no tokens to buy: use the Billing Setup block
- Sending an invoice to a customer, with line items and live tax and discount totals: use the Send Invoice block
- A business task in numbered steps, such as vendor intake or an invoice, with no cart: use the Wizard blocks
- Step markers and panel switching alone, wrapped around a form you already built: use the Stepper component
- First run account or workspace setup right after signup, with nothing to pay for: use the Onboarding blocks
Agent notes
AI_PROVIDERS,TOKEN_BUNDLESandDEFAULT_TOKEN_CHECKOUT_VALUESare demo data; replace them with your providers, pack prices and token amountshandleSubmitfakes the purchase withwindow.setTimeoutand a Token credits issued toast; call your billing API there to add the tokensautoTopUpandusageAlertare only stored invalues, with the 15% and 80% thresholds written into the copy, so save them and run the rules in your backend- No block calls a payment API: the final button fakes success with
window.setTimeoutor has no handler, so submit the order from there - Card number and CVC are plain inputs with
cc-numberandcc-cscautofill; swap in your processor's hosted fields so raw card data stays off your app - Each page.tsx wraps the block in a
min-h-svhelement and the root component sets its own max width; remove both inside your own layout
Third-party API docs
- Sonner v2: API reference, docs
https://web.dev.reui.io/blocks/ecommerce/checkout/checkout-3.mdget_block("checkout-3")npx shadcn@latest add @reui/checkout-3Shadcn AI Credit Checkout Block
Multi-step AI token credit checkout with stepper and auto top-up controls. Part of the ReUI Shadcn eCommerce Checkout blocks collection.
Three-step wizard to buy prepaid AI token credits: pick a provider, choose a bundle with auto top-up and usage alerts, then pay. ReUI Stepper, Frame, Alert, Badge; shadcn RadioGroup, Field, Input, Switch. Credit top-up, token billing, AI marketplace.
It is composed from Alert, Badge, Button, Checkbox, Field, Frame, Input, Item, and more, so every part of it is a primitive you can restyle with your own design tokens.
What You Can Build With the AI Credit Checkout Block
- Install it with the ReUI registry command in the toolbar above, then swap the placeholder content, data wiring, and business logic for your own.
- Compare it across all eight ReUI styles and both the Base UI and Radix bases in the customizer before committing to one direction.
- Combine it with the other Shadcn eCommerce Checkout blocks to assemble a full screen instead of a single section.
All Shadcn eCommerce Checkout Blocks
The rest of this category, each on its own page with a live preview, the components it is built from, and the install command.
- Sign-In Checkout Multi-Step Checkout with Stepper Progress and Sticky Order Summary
- Trust Strip Checkout Multi-step checkout form with stepper and sticky order summary
- Express Checkout Two-pane express checkout with saved details and order summary rail
- Order Review Checkout Four-step ecommerce checkout with stepper and order summary sidebar
- One-Page Checkout Two-column checkout with order summary and payment form
- Social Sign-In Checkout Multi-step checkout with stepper navigation and live order summary
Related Shadcn eCommerce Block Categories
- Category Card (6) Category cards with featured products, banners, and subcategory navigation.
- Comparison (6) Product comparison tables with side-by-side feature and specification layouts.
- Coupon (6) Coupon code input fields, discount badges, and promotional offer display blocks.
- Filter Sidebar (7) Filter and facet sidebars for refining product searches by price, size, and attributes.
- Product Card (10) E-commerce product cards with images, pricing, variants, and add-to-cart actions.
- Product Detail (6) Product detail pages with image galleries, specifications, and purchase options.
All Shadcn Block Groups
Browse the full ReUI Shadcn blocks library by product surface. Each group bundles category-level blocks you can mix and match across your project.
- Shadcn Application Blocks (303) Browse 303 Shadcn Application blocks across 23 categories.
- Shadcn Data Grid Blocks (47) Browse 47 Shadcn Data Grid blocks across 9 categories.
- Shadcn Charts Blocks (52) Browse 52 Shadcn Charts blocks across 10 categories.
- Shadcn Solutions Blocks (76) Browse 76 Shadcn Solutions blocks across 11 categories.
- Shadcn AI & Agents Blocks (22) Browse 22 Shadcn AI & Agents blocks across 3 categories.
- Shadcn eCommerce Blocks (87) Browse 87 Shadcn eCommerce blocks across 13 categories.
- Shadcn Marketing Blocks (67) Browse 67 Shadcn Marketing blocks across 8 categories.
Frequently Asked Questions
When should I use the AI Credit Checkout block?
Use it for prepaid AI tokens from 4 providers in packs priced per 1M, with auto top-up and usage alert switches and card, wallet or invoice payment.
The Checkout category fits:
- A storefront checkout that takes a shopper from contact and shipping to payment beside the order total
- A one page pay screen, with typed shipping and card fields or a saved card confirmed by its CVV
- A prepaid AI token or usage credit purchase for a workspace, with billing details and no shipping
For setting up a billing profile with a spend limit and billing alerts, with no tokens to buy, use the Billing Setup block. For sending an invoice to a customer, with line items and live tax and discount totals, use the Send Invoice block. For a business task in numbered steps, such as vendor intake or an invoice, with no cart, use the Wizard blocks. For step markers and panel switching alone, wrapped around a form you already built, use the Stepper component. For first run account or workspace setup right after signup, with nothing to pay for, use the Onboarding blocks.
What is the AI Credit Checkout block built with?
Can I restyle the AI Credit Checkout block?
How should I use Shadcn checkout blocks in a real project?
Start building with ReUI Pro today.
Every Pro block, every style, and every future addition, with one license for unlimited projects.
From $249, once. Lifetime updates.