Invoice preview preview
A consumer-owned invoice document with semantic parties, dates, line items, totals and native optional actions.
pro · Blocks · composite
When to use
- Use it when a page needs a consumer-owned invoice document with semantic parties, dates, line items, totals and native optional actions.
- Choose it inside an authenticated product surface when the host application owns routing, persistence, and service calls.
Alternatives
- Choose empty-state instead when empty collections, search results and errors with a clear next action is the actual interface need, rather than invoice preview.
Configure components.json and the @tidal-pro namespace before installing Pro components.
Installation
npx shadcn@latest add @tidal-pro/invoice-previewImport components/ui/tidal.css, components/ui/invoice-preview.css. Wrap installed components in tidal-scope.
Preview

Minimal example
import"./components/ui/tidal.css";
import"./components/ui/invoice-preview.css";
import{TidalInvoicePreview}from"./components/ui/invoice-preview";
export default(p:Parameters<typeof TidalInvoicePreview>[0])=><div className="tidal-scope"><TidalInvoicePreview {...p}/></div>;API and props
TidalInvoicePreview.accessibleName (required)stringRequired accessible name value accepted by this exported component.
TidalInvoicePreview.billTo (required)TidalInvoicePartyRequired bill to value accepted by this exported component.
TidalInvoicePreview.from (required)TidalInvoicePartyRequired from value accepted by this exported component.
TidalInvoicePreview.invoiceNumber (required)ReactNodeRequired invoice number value accepted by this exported component.
TidalInvoicePreview.issueDate (required)TidalInvoiceDateRequired issue date value accepted by this exported component.
TidalInvoicePreview.lineItems (required)ReadonlyArray<TidalInvoiceLineItem>Required line items value accepted by this exported component.
TidalInvoicePreview.lineItemsCaption (required)ReactNodeRequired line items caption value accepted by this exported component.
TidalInvoicePreview.status (required)ReactNodeRequired status value accepted by this exported component.
TidalInvoicePreview.totals (required)ReadonlyArray<TidalInvoiceTotal>Required totals value accepted by this exported component.
TidalInvoicePreview.actionsReadonlyArray<TidalInvoiceAction> | undefinedOptional actions value accepted by this exported component.
TidalInvoicePreview.columnLabelsPartial<TidalInvoiceColumnLabels> | undefinedOptional column labels value accepted by this exported component.
TidalInvoicePreview.currencyNoteReactNodeOptional currency note value accepted by this exported component.
TidalInvoicePreview.dueDateTidalInvoiceDate | undefinedOptional due date value accepted by this exported component.
TidalInvoicePreview.emptyLineItemsMessageReactNodeOptional empty line items message value accepted by this exported component.
TidalInvoicePreview.footerReactNodeOptional footer value accepted by this exported component.
TidalInvoicePreview.headingLevel"h2" | "h3" | "h4" | undefinedOptional heading level value accepted by this exported component.
TidalInvoicePreview.labelsPartial<TidalInvoiceLabels> | undefinedOptional labels value accepted by this exported component.
TidalInvoicePreview.lineItemsScrollPropsOmit<HTMLAttributes<HTMLDivElement>, "aria-label" | "children"> | undefinedOptional line items scroll props value accepted by this exported component.
TidalInvoicePreview.lineItemsScrollRefRef<HTMLDivElement> | undefinedOptional line items scroll ref value accepted by this exported component.
TidalInvoicePreview.notesReactNodeOptional notes value accepted by this exported component.
TidalInvoicePreview.purchaseOrderReactNodeOptional purchase order value accepted by this exported component.
TidalInvoicePreview.tablePropsOmit<TableHTMLAttributes<HTMLTableElement>, "children"> | undefinedOptional table props value accepted by this exported component.
TidalInvoicePreview.tableRefRef<HTMLTableElement> | undefinedOptional table ref value accepted by this exported component.
TidalInvoicePreview.titleReactNodeOptional title value accepted by this exported component.
Complete usage
Full example, stylesheet imports, API and accessibility documentation
Gotchas
- The host application owns data, validation, persistence, navigation, and service side effects described by this API.