Skip to main content
BlocksBillingInvoice-centric with spend chart rail

shadcn/ui Billing blockInvoice-centric with spend chart rail

Invoice-first billing page from shadcn/ui: a header with a plan summary chip row (plan, seats, renewal, card with Edit) and Change plan / Cancel Buttons, a large Invoices Table filtered by status Tabs (All / Paid / Open / Refunded) with billing periods, a dashed empty state and a totals TableFooter, and a right rail with a 12-month spend AreaChart and an Estimated next invoice breakdown (seats × price, add-ons, tax). Ideal for finance-facing billing history pages.

Pro@shadcnpro/billing-06

Preview

Installation

Part of shadcn/ui Pro

Pro unlocks the source code and one-command install of all 439 blocks, plus the Figma kit, themes and the MCP server for your AI editor.

Let your AI editor install it

The shadcn/ui Pro MCP server lets Cursor, Claude Code and VS Code find and install blocks like Invoice-centric with spend chart rail from one prompt. It is included in every Pro plan.

Add the shadcn/ui components

Invoice-centric with spend chart rail uses Badge, Button, Card, Chart, Separator, Table, Tabs and Tooltip.

npx shadcn@latest add badge button card chart separator table tabs tooltip

Install the npm packages

npm install lucide-react recharts

Copy the code

Paste it into components/blocks/billing-06.tsx.

components/blocks/billing-06.tsx

Part of shadcn/ui Pro

Pro unlocks the source code and one-command install of all 439 blocks, plus the Figma kit, themes and the MCP server for your AI editor.

Use it

Import it where you need it and update the import path to match your project.

Usage
import Billing06 from '@/components/blocks/billing-06';

export default function Page() {
  return <Billing06 />;
}

Overview

Invoice-centric with spend chart rail is a Pro billing block for shadcn/ui. It is built from the Badge, Button, Card, Chart, Separator, Table, Tabs and Tooltip components with lucide-react and recharts, and installs as a single file you own and can edit.

It only uses semantic tokens such as bg-background, text-muted-foreground and border-border, so it follows your theme, radius and fonts and switches with dark mode. It is responsive from desktop to mobile; the width controls above the preview show each size. The same layout is in the shadcn/ui Pro Figma kit, so design and code start from one source.

Category
Billing
Component library
Radix UI (radix-ui)
Also available for
Base UI, React Aria
npm packages
lucide-react, recharts
Files
components/blocks/billing-06.tsx
Access
Included in every plan

Frequently asked questions

Pricing, installation and Radix UI details for Invoice-centric with spend chart rail.