# Application Billing: Proration Preview Card

Upgrade proration preview with credit and charge line items, due-today total, and next renewal amount.

- Page: https://www.shadcn-ui-blocks.com/blocks/application-pro/billing/proration-preview-card
- Collection: [Application](https://www.shadcn-ui-blocks.com/blocks/application-pro), Standard tier
- Group: [Billing](https://www.shadcn-ui-blocks.com/blocks/application-pro/billing)
- Created: 2026-06-15
- Preview image: https://www.shadcn-ui-blocks.com/blocks/application-pro/billing/proration-preview-card.png

## Install

```bash
npx shadcn@latest add @shadcn-ui-blocks/application-pro-billing-proration-preview-card
```

Needs an API key from a Pro or Team plan: add `@shadcn-ui-blocks` to the registries in components.json with the key as an `Authorization: Bearer` header. Setup: https://www.shadcn-ui-blocks.com/docs/shadcn-cli. The MCP server installs it without the setup: https://www.shadcn-ui-blocks.com/docs/mcp.

## Depends on

- npm packages: class-variance-authority, radix-ui
- shadcn/ui components: badge, button, separator
- Installs to: `@/components/blocks/application-pro/billing/proration-preview-card`

## About this block

Proration Preview Card is the upgrade confirmation surface,
showing the full math before the user commits. The three
line items are credit for unused Team days (Jun 13 to Jun 30,
17 of 30 days, -$34.13), the prorated Business charge for
the same window (+$96.00), and the Jul 1 renewal at $240.00.
Due today lands at $61.87 with the honest footer: no hidden
true-up, $61.87 is the whole charge.

Line items live in one const array with a dimmed flag that
mutes the credit row. The footer promise is the difference
between a confirm click and a support ticket.

## When to use

Reach for this block immediately before any mid-cycle plan
change, wired to your billing API proration endpoint. The
math must match the actual charge or the block erodes trust
faster than it builds it.

A natural flow around it on an Application Pro page:

**Before**

- [Billing settings](https://www.shadcn-ui-blocks.com/blocks/application-pro/billing)

**After**

- [Credits balance card](https://www.shadcn-ui-blocks.com/blocks/application-pro/billing)
- [Activity feed](https://www.shadcn-ui-blocks.com/blocks/application-pro/activity)

## What you can display

One strong use is the plan upgrade preview. Other proration
surfaces:

- **Seat add preview.** Adding 4 seats mid-cycle with the
  per-seat credit and the prorated charge each on its own
  row.
- **Downgrade preview.** Credit issued for the remaining
  higher-tier days carried forward, not charged back.
- **Annual to monthly switch.** The annual credit minus the
  monthly charge, with the new renewal cadence stated.

> Tip: always show the next renewal amount alongside the
> due-today figure so users know what follows.

## More in Application Billing

- [Add-ons Panel](https://www.shadcn-ui-blocks.com/blocks/application-pro/billing/addons-panel)
- [Billing Contacts Card](https://www.shadcn-ui-blocks.com/blocks/application-pro/billing/billing-contacts-card)
- [Billing Cycle Switch](https://www.shadcn-ui-blocks.com/blocks/application-pro/billing/billing-cycle-switch)
- [Cancel Flow Blueprint](https://www.shadcn-ui-blocks.com/blocks/application-pro/billing/cancel-flow-blueprint)
- [Cost Allocation Panel](https://www.shadcn-ui-blocks.com/blocks/application-pro/billing/cost-allocation-panel)
- [Coupon Redemption Card](https://www.shadcn-ui-blocks.com/blocks/application-pro/billing/coupon-redemption-card)
- [Credits Balance Card](https://www.shadcn-ui-blocks.com/blocks/application-pro/billing/credits-balance-card)
- [Current Plan Usage](https://www.shadcn-ui-blocks.com/blocks/application-pro/billing/current-plan-usage)
- [Dunning Banner](https://www.shadcn-ui-blocks.com/blocks/application-pro/billing/dunning-banner)
- [Invoice Detail Page](https://www.shadcn-ui-blocks.com/blocks/application-pro/billing/invoice-detail-page)
- [Invoice History Table](https://www.shadcn-ui-blocks.com/blocks/application-pro/billing/invoice-history-table)
- [Pause Subscription Panel](https://www.shadcn-ui-blocks.com/blocks/application-pro/billing/pause-subscription-panel)
- [Payment History Table](https://www.shadcn-ui-blocks.com/blocks/application-pro/billing/payment-history-table)
- [Payment Method Panel](https://www.shadcn-ui-blocks.com/blocks/application-pro/billing/payment-method-panel)
- [Plan Change History](https://www.shadcn-ui-blocks.com/blocks/application-pro/billing/plan-change-history)
- [Plan Comparison Table](https://www.shadcn-ui-blocks.com/blocks/application-pro/billing/plan-comparison-table)
- [Receipt Card](https://www.shadcn-ui-blocks.com/blocks/application-pro/billing/receipt-card)
- [Refund Status Card](https://www.shadcn-ui-blocks.com/blocks/application-pro/billing/refund-status-card)
- [Seat Management Panel](https://www.shadcn-ui-blocks.com/blocks/application-pro/billing/seat-management-panel)
- [Spend Trend Chart](https://www.shadcn-ui-blocks.com/blocks/application-pro/billing/spend-trend-chart)
- [Spending Limit Card](https://www.shadcn-ui-blocks.com/blocks/application-pro/billing/spending-limit-card)
- [Tax and Invoice Settings](https://www.shadcn-ui-blocks.com/blocks/application-pro/billing/tax-and-invoice-settings)
- [Trial Status Card](https://www.shadcn-ui-blocks.com/blocks/application-pro/billing/trial-status-card)
- [Upgrade Comparison Card](https://www.shadcn-ui-blocks.com/blocks/application-pro/billing/upgrade-comparison-card)
- [Usage Alerts Panel](https://www.shadcn-ui-blocks.com/blocks/application-pro/billing/usage-alerts-panel)
- [Usage Breakdown Bill](https://www.shadcn-ui-blocks.com/blocks/application-pro/billing/usage-breakdown-bill)
