Skip to content
nexubDesign System
v11.9.0

Patterns · Pages

Invoice

InvoicePage

An invoice or a receipt: both parties, line items in a real table, the arithmetic down to the total, status as text, and how to pay.

Web

Live, at a real viewport width. Switch to Phone to see the responsive layout.

Usage

TSX
import { InvoicePage } from '@nexub/patterns';

<InvoicePage
  number="INV-2041"
  status="due"
  issuedOn="2026-11-03"
  dueOn="2026-11-17"
  from={{ name: 'Harbour Studio', lines: ['12 Quay Street'], taxId: 'HS-204-881' }}
  to={{ name: 'Northwind Traders' }}
  items={[{ description: 'Design sprint', quantity: 2, unitPrice: 2400 }]}
  currency="USD"
  taxes={[{ label: 'Sales tax 8%', amount: 384 }]}
  actions={<Button onClick={pay}>Pay now</Button>}
/>

// A receipt after payment
<InvoicePage variant="receipt" status="paid" {...invoice} />