Skip to content
GetUrUI

Invoice cards

3 variantsNewPro
.md

Invoice summary, printed receipt and payout statement cards — each with a money moment: counting totals, a print-in receipt and an optimistic mark-as-paid stamp.

invoicereceiptpayoutbillingstatementfintechline itemscount-up

Invoice summary

summary.tsx

Client, counting amount due, collapsible line items and totals, with an optimistic mark-as-paid that stamps the card.

$npx shadcn@latest add @geturui-pro/invoice-cards-summary
PropTypeDefaultDescription
number / client / clientEmailstring—Invoice id and who it is billed to.
issuedOn / dueOn / paidOnstring—Display dates.
items{ description; quantity; unitPrice }[]—Line items in major units.
taxRatenumber0.08Tax as a fraction of the subtotal.
status"paid" | "due" | "overdue""due"Initial status.
currencystring"USD"ISO currency code.
onMarkPaid / onSendReminder() => void—Action handlers.

Receipt

receipt.tsx

Paper receipt that prints in from the top, with dotted leaders, a drawn barcode and tear edge, and a download button that fills with progress.

$npx shadcn@latest add @geturui-pro/invoice-cards-receipt
PropTypeDefaultDescription
merchant / meta / orderIdstring—Header text and the barcode value.
lines{ label; amount; quantity? }[]—Purchased items.
tip / taxRatenumber3 / 0.0875Added to the total.
paymentMethodstring"Card •• 4821"Shown next to the paid mark.
currencystring"USD"ISO currency code.
onDownload / onEmail() => void—Download fires when the simulated progress completes.

Payout statement

payout.tsx

Monthly payout with period tabs, a counting net amount and a stacked breakdown bar that highlights from its legend.

$npx shadcn@latest add @geturui-pro/invoice-cards-payout
PropTypeDefaultDescription
periodsPayoutPeriod[]—{ key, label, gross, fees, refunds, reserve, status, arrival } per tab.
defaultPeriodstring—Initially selected period key; defaults to the last.
destinationstring—Bank account the payout goes to.
currencystring"USD"ISO currency code.
onViewStatement(period: string) => void—Statement button handler.

Install the whole set

Installs every invoice cards variant at once. Each section above has its own command for a single variant.

Pro installs use your private registry token. Add the @geturui-pro registry once — setup guide. The command works after you get Pro.

$npx shadcn@latest add @geturui-pro/invoice-cards

Accessibility

  • Statuses always pair colour with an icon and a word; amounts keep a static screen-reader value while the visible figure counts.
  • Expandable line items use aria-expanded/aria-controls; the period switcher is a tablist.
  • Reduced motion removes the receipt print-in, height springs and stamp spin, leaving fades.

Related