

Every state


default


hover


focus


paused


cancelling


payment-failed


yearly-gbp
Props
| Prop | Type | Default | What it does |
|---|---|---|---|
| plan | { name: string; detail?: string; price: number; interval: string } | – | The plan; price per interval in minor units. |
| status | "active" | "paused" | "cancelling" | "payment-failed" | "active" | Sets the tag, the date row and the footer action. |
| nextCharge | { date: string; amount: number } | null | { date: "Tuesday 1 December", amount: 2400 } | Date as shown, amount in minor units. Null: no row. |
| resumesOn | string | null | "Friday 1 January" | Paused: when it starts again. Null: until resumed. |
| endsOn | string | "Thursday 31 December" | Cancelling: the last day, as shown. |
| paymentMethod | string | null | "Card ending 4242" | How it is paid, as plain text. Null hides the row. |
| changeHref | string | null | "/account/subscription" | Change plan link. Null: no link. |
| paymentHref | string | null | "/account/payment" | Change payment link; the main action when a payment failed. Null: no link. |
| resumeHref | string | null | "/account/subscription/resume" | Resume (paused) or keep (cancelling) link. Null: no link. |
| currency | string | "EUR" | ISO 4217 code. |
| locale | string | "en-IE" | Formats the amounts. |
| className | string | – | Extra classes on the panel. |
More order summaries
All 8order-summary-07 is in UI ProGet UI Pro, €199


