# Application Billing: Dunning Banner

Payment-failed notice with the card charged, retry schedule, exact access-pause date, and an update payment method action.

- Page: https://www.shadcn-ui-blocks.com/blocks/application-pro/billing/dunning-banner
- 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/dunning-banner.png

## Install

```bash
npx shadcn@latest add @shadcn-ui-blocks/application-pro-billing-dunning-banner
```

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, lucide-react, radix-ui
- shadcn/ui components: button
- Installs to: `@/components/blocks/application-pro/billing/dunning-banner`

## About this block

Dunning Banner is the payment-failed notice, a single card
with a TriangleAlert icon and the plain headline Your last
payment did not go through. The body names the card (Visa
ending 4242), the amount ($96), the attempt date
(Jun 13, 2026), and immediately reassures: nothing has
changed for your team yet. Two ruled rows follow: the
7-day retry window with the specific retry dates Jun 16 and
Jun 20, and the hard deadline, workspace becomes read-only
at 00:00 UTC on Jun 21 if it keeps failing, with the
explicit note that no data is deleted.

All copy is in one component, no arrays needed. The footer
clarifies that updating the card now charges immediately
and removes the Jun 20 deadline, so the action is
meaningful and the consequence is visible before clicking.

## When to use

Reach for this block at the top of any authenticated page
when a payment is in the retry window, wired to your
billing status endpoint. Replace the card last four,
amount, and dates with real values; generic copy like
your card was declined earns less trust than specifics.

A natural flow around it on an Application Pro page:

**Before**

- [App shell](https://www.shadcn-ui-blocks.com/blocks/application-pro/app-shells)

**After**

- [Plan comparison table](https://www.shadcn-ui-blocks.com/blocks/application-pro/billing)
- [Settings pages](https://www.shadcn-ui-blocks.com/blocks/application-pro/settings-pages)

## What you can display

One strong use is the active dunning notice. Other payment
status banners:

- **Trial ending.** The same card with days remaining and
  an upgrade CTA instead of an update-card action.
- **Invoice overdue.** Past the grace period, read-only
  already in effect, with a reactivate button.
- **Payment succeeded.** A brief confirmation that the
  retry worked and the next charge date is back to normal.

> Tip: name the retry dates explicitly so users can plan
> around them rather than checking back daily.

## 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)
- [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)
- [Proration Preview Card](https://www.shadcn-ui-blocks.com/blocks/application-pro/billing/proration-preview-card)
- [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)
