React Settings & Billing

The account area of a SaaS product. A section nav switches the panel between Profile, Billing, and Security. Billing is the centerpiece: a current-plan card, usage meters that color by threshold (Storage sits at 95% and turns red, the rest stay petrol), the saved payment method, and an invoice table with paid / open status chips. Profile composes the form kit; Security drops in the shared DangerZone. Click between sections — the panel swaps while the nav and header hold.

Settings

Meridian RF Systems · Team workspace

Team plan

CURRENT

Renews Aug 1, 2026 · billed monthly

$490/mo

Usage this period

Seats18 / 25
API calls (mo)1.2M / 2.0M
Storage476 GB / 500 GB

Storage is at 95% — approaching the plan limit.

Payment method

Visa •••• 4242

Expires 08 / 28

Invoice history

DateInvoiceAmountStatusPDF
2026-07-01INV-2026-0714$490.00PAID
2026-06-01INV-2026-0631$490.00PAID
2026-05-01INV-2026-0559$420.00PAID
2026-04-01INV-2026-0487$420.00OPEN

Installation

npx shadcn@latest add "http://localhost:3000/registry/settings-billing.json"

Composition

PieceSourceRole
FormSection / FormGridform-layoutProfile form structure
Field / InputinputProfile fields
Switchselection-controlsNotification toggles
DangerZoneapp-shellSecurity section
ButtonbuttonPlan, payment, and form actions
Usage meter / invoice tableinlineThreshold-colored bars + status chips

The active section is the only navigational state; usage meters derive their color from used / limit (≥90% red, ≥75% amber, else petrol). Swap the plan, meters, and invoices for your billing provider's data.

Usage

Loading...

New components every week

Get the week's new Kelvin UI components and templates in one short email. No spam, unsubscribe anytime.