Commerce Checkout

A two column React checkout page with an editable cart line item, a shipping address form, and an order summary with subtotal, tax, total and a pay button.

src/registry/blocks/commerce-checkout.tsx/r/commerce-checkout.json

Installation#

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

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/commerce-checkout.json

Usage#

tsx
import { CommerceCheckout } from "@/components/ui/commerce-checkout"

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

API reference#

CommerceCheckout takes no props. It ships with realistic sample content: install it, then edit the copy and data in the file directly. The file is yours.

Dependencies#

All e-commerce components