Write, total and send an invoice, with imported usage lines, VAT and its payment status.
Import it and pass your content. The props that matter most are listed next.
import { InvoiceStudio, type InvoiceStudioProps } from "@/components/ui/notchset/blocks/invoice-studio";
export function Invoice({ invoice }: { invoice: Omit<InvoiceStudioProps, "onSend" | "onSaveDraft"> & { id: string } }) {
return (
<InvoiceStudio
{...invoice}
onSaveDraft={(draft) => fetch(`/api/invoices/${invoice.id}`, { method: "PUT", body: JSON.stringify(draft) })}
onSend={(draft) => fetch(`/api/invoices/${invoice.id}/send`, { method: "POST", body: JSON.stringify(draft) }).then((r) => {
if (!r.ok) throw new Error("send failed");
})}
/>
);
}number / issued / due–
stringShown in the header.
from / billTo–
{ name, address } / { name, address, email }The parties; billTo.email is named when the invoice is sent.
lines–
{ id, description, quantity, rate, metered? }[]Quantity and rate are strings so typing stays exact; only numbers are accepted.
taxRates–
number[]VAT choices as fractions (default 0.19, 0.07, 0).
onSend / onMarkPaid / onReopen / onSaveDraft–
(invoice) => PromiseEach gets { lines, taxRate, subtotal, tax, total }; resolve to move on, reject to stay put.
onImportUsage / importLabel–
() => Promise<lines> / stringAdds the import button; returned lines are marked METERED.
InvoiceStudiodata-slot="invoice-studio"
Header, parties, lines, totals and actions.
components/ui/notchset/blocks/invoice-studio.tsx
This component is included with Pro.
Try the live preview above. Get Pro to install the source.
pnpm dlx shadcn@latest add @beautiful-ui-pro/invoice-studioNeeds your registry key. Your components.json style picks the Base UI or Radix build: radix-*, new-york and default get Radix, base-* gets Base UI.
The CLI adds the styles to the CSS file named in components.json (tailwind.css). Check that it points at your global stylesheet, that the project uses Tailwind CSS v4, and that the file is imported in your root layout. Installed by hand: paste styles.css into that file.
Give your coding assistant the Markdown guide instead of screenshots.
https://beautiful-ui.dev/api/mcp (setup)v1.0.0 · 2026-10-04
First release
Pro is in early access.