{ "$schema": "https://ui.shadcn.com/schema/registry-item.json", "name": "checkout-01", "type": "registry:block", "description": "Checkout form with order summary", "registryDependencies": [ "button", "checkbox", "input", "label", "badge", "separator" ], "files": [ { "path": "creative-tim-ui/blocks/checkout-01/page.tsx", "content": "\"use client\"\n\nimport {\n CreditCard,\n Lock,\n Mail,\n MapPin,\n Package,\n ShoppingBag,\n} from \"lucide-react\"\n\nimport { Badge } from \"@/components/ui/badge\"\nimport { Button } from \"@/components/ui/button\"\nimport { Checkbox } from \"@/components/ui/checkbox\"\nimport { Input } from \"@/components/ui/input\"\nimport { Label } from \"@/components/ui/label\"\nimport { Separator } from \"@/components/ui/separator\"\n\nconst OPTIONS = [\n {\n image: \"https://v3.material-tailwind.com/coat-1.png\",\n title: \"Classic Suit\",\n description: \"Silk\",\n size: \"M\",\n price: \"$1,300\",\n quantity: 1,\n },\n {\n image: \"https://v3.material-tailwind.com/coat-2.png\",\n title: \"Premium Suit\",\n description: \"Linen\",\n size: \"M\",\n price: \"$790\",\n quantity: 1,\n },\n]\n\nconst PRICE_OPTIONS = [\n { value: \"Subtotal\", price: \"$2,090\" },\n { value: \"Shipping estimate\", price: \"$0\" },\n { value: \"Tax estimate\", price: \"$5\" },\n]\n\nexport default function Checkout01() {\n return (\n
\n
\n
\n

Checkout

\n

\n Complete your order by providing your payment details\n

\n
\n\n
\n
\n
\n
\n
\n
\n \n
\n
\n

Contact

\n

\n We'll send order updates here\n

\n
\n
\n
\n \n \n
\n
\n \n \n I agree to the{\" \"}\n \n Terms & Conditions\n {\" \"}\n and{\" \"}\n \n Privacy Policy\n \n \n
\n
\n\n \n\n
\n
\n
\n \n
\n
\n

Shipping Address

\n

\n Where should we deliver your order?\n

\n
\n
\n
\n
\n \n \n
\n
\n
\n \n \n
\n
\n \n \n
\n
\n \n \n
\n
\n
\n
\n\n \n\n
\n
\n
\n \n
\n
\n

Payment Details

\n

\n Your payment information is secure\n

\n
\n \n \n Secure\n \n
\n
\n
\n \n \n
\n
\n
\n \n \n
\n
\n \n \n
\n
\n
\n
\n\n \n
\n\n
\n
\n
\n
\n \n
\n

Order Summary

\n
\n\n
\n {OPTIONS.map(\n (\n { image, title, description, size, price, quantity },\n index\n ) => (\n \n
\n \n
\n
\n

{title}

\n

\n {description} ยท Size {size}\n

\n

\n Qty: {quantity}\n

\n
\n

{price}

\n
\n )\n )}\n
\n\n \n\n
\n {PRICE_OPTIONS.map(({ value, price }) => (\n
\n {value}\n {price}\n
\n ))}\n
\n\n \n\n
\n Total\n $2,095\n
\n\n
\n \n
\n

Free Shipping

\n

\n Your order qualifies for free standard shipping\n

\n
\n
\n
\n
\n
\n
\n \n
\n )\n}\n", "type": "registry:page", "target": "app/checkout/page.tsx" } ], "meta": { "iframeHeight": "1200px", "container": "w-full bg-surface min-h-svh flex px-4 py-12 items-center md:py-20 justify-center min-w-0", "mobile": "component" }, "categories": [ "ecommerce" ] }