Data
Result direction
Proration mode
Collection mode
Status
Scheduled change
Install
pnpm dlx shadcn@latest add @paddle/plan-change-previewyarn dlx shadcn@latest add @paddle/plan-change-previewnpx shadcn@latest add @paddle/plan-change-previewUse an AI agent
Import this component from https://developer.paddle.com/r/plan-change-preview.json and open the code for editing. IMPORTANT: preserve the component exactly as-is. Do NOT change colors, CSS variables, Tailwind classes, spacing, fonts, or any visual styles. Do NOT regenerate or restyle the UI. Create files from the registry JSON verbatim and show the code tree.Props
preview-subscription-update endpoint, passed through with minimal transformation. Pass undefined to render the skeleton loading state. PATCH /subscriptions/{id}. What it does
A compact summary of a subscription plan change. Shows the customer's current plan, their new plan, and the financial impact (charge, credit, or no-op) in a compact card.
It takes into account subscription states that may restrict the customer's billing options, like:
- When a subscription is scheduled to be paused or canceled
- When a subscription is in a trial period
When to use
- You're building an upgrade, downgrade, or plan change page and want to present a clear, scannable preview of the change.
- You want to surface proration behavior ("$13.33 today, $29.99 on Feb 1") in a legible way.
For full invoice-style detail, use the plan change breakdown component instead. Pair the two for optimal UX, presenting the compact preview initially and letting customers expand to see the full breakdown.