Checkout Summary

Tailwind order summary card listing line items and prices, a divided total row and a full width Pay now button. Fits the side column of a checkout.

src/registry/ui/checkout-summary.tsx/r/checkout-summary.json

Installation#

bash
npx shadcn@latest add @minidev/checkout-summary

MiniDev UI is in the shadcn registry directory, so the short form works with no setup. Older CLI versions can use the full URL: npx shadcn@latest add https://ui.minidev.pro/r/checkout-summary.json

Usage#

tsx
import { CheckoutSummary } from "@/components/ui/checkout-summary"

export function Example() {
  return <CheckoutSummary />
}

API reference#

CheckoutSummary props
PropTypeDefault
items{ name: string; price: string }[][ { name: "Pro · monthly", price: "$4...
totalstring"$61"
classNamestring-

Dependencies#

npm

React only

Built from

All e-commerce components