About
A checkout summary card that lists order line items like subtotal, discount, tax and shipping, then a bordered bold total row, for cart and checkout pages.
Built with React and Tailwind. Copy the prompt and paste it into Claude Code, Cursor or Lovable: your agent adds Order Summary to your project and fits it to your theme.
Code
How Order Summary is used: the demo's code. The component's own source comes with a free account.
Usage.tsx
import { OrderSummary } from "@/components/ui/order-summary";
export default function OrderSummaryDemo() {
return (
<OrderSummary
lines={[
{ label: "Subtotal", value: "$49.00" },
{ label: "Tax", value: "$3.92" },
]}
total="$52.92"
/>
);
}







