Component libraryOrder summary
Components/Blocks

Order summary

Pro

A semantic order review block with consumer-owned items, price rows, totals, and native actions, without checkout behavior.

npx shadcn@latest add @tidal-pro/order-summary
Desktop viewport

Installation

Pro source is gated. Configure the @tidal-pro registry using the agent guide. Create an access key from your account after purchasing.

Terminal
npx shadcn@latest add @tidal-pro/order-summary

Import components/ui/tidal.css, components/ui/order-summary.css, then add the component inside a tidal-scope wrapper. Its scoped design tokens keep it independent of your existing CSS.

Usage

Complete example source · Dependency and asset manifest

Loading the complete example…

API & behavior

title names the section and headingLevel defaults to h2. description, status, notice, emptyMessage, item media and all labels are consumer content and preserve numeric zero. items is an ordered list of unique IDs with name, optional description/media/unitPrice, quantity and amount; an optional real href accepts native anchor attributes and a ref, while linkDisabled or aria-disabled true suppresses navigation before the consumer click handler. rows is an ordered list of unique IDs with label, value, optional detail and emphasis. totalLabel and totalValue are required. actions is an ordered list of unique IDs containing native buttons with caller-first preventable click handling or real anchors preserving modifiers, download and target; both support matching native attributes and refs, visible labels, optional accessible labels, emphasis and disabled state. The source owns no prices, calculations, checkout, payment, requests, navigation, timers, focus, storage or account state.

Style with the --t-* CSS variables. Set data-theme="dark" on your tidal-scope wrapper for a dark surface. Motion respects the system’s reduced-motion preference.

Building with an agent?Give it the installation guide and component catalog.