Skip to main content

Claude/ChatGPT Prompt to Build a SaaS Billing & Subscription Settings Screen

B2B SaaS billing settings UI prompt: current plan, usage meter, plan comparison, payment methods, invoice history, and tax ID; accessible and responsive.

Fill in the placeholders

Edit the values, then copy your finished prompt.

Your Prompt
prompt.txt

                                

What this prompt does

This prompt designs a B2B SaaS billing and subscription settings page and returns real components and states, not a sketch. It covers the current-plan card with renewal date and a clear cancel/downgrade path, a usage meter with an at-risk warning, a plan comparison table with proration notes, a payment-methods section wired to your provider, and a billing-history table with downloadable invoices and a tax ID field. The emphasis lands where support tickets actually originate: failed payments and proration.

The variables make the screen match your billing reality. [plans] populates the comparison table and upgrade CTAs. [provider] (for example, Stripe) wires the add/set-default/remove and card-expiry flows to a real API shape. [framework] sets the component conventions. [tax_handling] drives the tax ID field — EU VAT with reverse charge looks different from a flat sales-tax model, and the prompt builds the field per that input.

When to use it

  • You are building a billing settings page for a B2B SaaS product
  • You need the failed-payment and proration states designed, not just the happy path
  • You want a plan comparison table with upgrade CTAs and a proration note
  • Your payment provider needs add, set-default, remove, and card-expiry handling
  • You need invoice history with status badges and downloadable invoices
  • You handle tax IDs (such as EU VAT) and need that field built in correctly

Example output

The model returns a component tree with states for your framework: a current-plan card with renewal date, seat count, and cancel/downgrade path; a usage meter with an at-risk warning; a plan comparison table for your plans; a payment-methods section wired to your provider; and a billing-history table with status badges, downloadable invoices, and a tax ID field. Loading, empty, and failed-payment states are included, and it is responsive and keyboard accessible.

Pro tips

  • List your real tiers in [plans] so the comparison table and proration notes reflect your actual pricing
  • Set [provider] to your processor; the payment-method flows depend on its API shape, especially card-expiry warnings
  • Describe [tax_handling] precisely — EU VAT with reverse charge needs different field logic than a simple sales-tax setup
  • Get the failed-payment banner and downgrade confirmation right first; those states protect revenue more than visual polish
  • Keep the at-risk usage warning; users who hit a plan limit without warning churn or file tickets
  • Match [framework] to your stack so the component tree and state handling slot in cleanly
  • Make the cancel and downgrade path obvious rather than buried; a hidden cancel flow generates chargebacks and support load instead of clean churn
  • Use the proration note on the comparison table so users understand the mid-cycle charge before they upgrade, not after it lands on the invoice

Frequently Asked Questions

Does it design the failed-payment and proration states?
Yes, and the prompt treats them as priorities. Failed payments and proration are where real support tickets come from, not the happy path, so the prompt has you get the failed-payment banner and downgrade confirmation right before polishing anything else.
Can I wire it to a payment provider other than Stripe?
Yes, set `[provider]` to your processor and the payment-methods section adapts to its flows for adding, setting default, removing, and warning on card expiry. The structure stays the same, but the exact integration shape follows the provider you name.
How does it handle EU VAT or other tax requirements?
The tax ID field is built per the `[tax_handling]` variable. If you specify EU VAT with reverse charge, the field logic reflects that, which differs from a flat sales-tax model. Describe your tax setup accurately so the field behaves correctly for your customers.
Is the billing page accessible and responsive?
Yes, deliverable 6 requires the page to be mobile-responsive and keyboard accessible, alongside loading, empty, and failed-payment states. So the comparison table, payment methods, and invoice history all work on smaller screens and via keyboard, not just on a desktop with a mouse.
Engr Mejba Ahmed

Need this built for real?

Engr Mejba Ahmed

AI Developer · Software Engineer

I'm Mejba — I design and ship production AI systems, automations, and full-stack apps. If you want this turned into a working solution for your team, let's talk.

More in Tech & SaaS UI Prompts

Engr Mejba Ahmed

Engr Mejba Ahmed

Claude Code Expert · Online

👋

Hey there!

Quick Actions

WhatsApp Instant reply

Chat on WhatsApp

+880 1723 741224 · Instant reply

Popular Questions

Engr Mejba Ahmed is connected
Engr Mejba Ahmed is typing...
Engr Mejba Ahmed avatar

✉ Want me to follow up? Drop your email

Engr Mejba Ahmed avatar

📞 Connect Directly

Choose how you'd like to reach me

WhatsApp

+880 1723 741224

Email

[email protected]

✓ Details sent! I'll get back to you shortly.

Powered by OpenAI

335+

Blog Posts

25

AI Courses

63

Projects

Services & Expertise

Pricing & Process

Learning & Resources

Connect & Support