# Order Confirmation 01

> A simple order confirmation block

A shadcn/ui block from the [@shadcnui-blocks](https://shadcnui-blocks.com) registry, listed on [shadcn.exchange](https://shadcn.exchange/r/shadcnui-blocks/order-confirmation-01).

- Page, with a live preview: https://shadcn.exchange/r/shadcnui-blocks/order-confirmation-01
- Screenshot: https://abzjhwgwpdpz7ua5.public.blob.vercel-storage.com/shots/shadcnui-blocks/order-confirmation-01-light-e1faa89144666e4b.png
- Registry item: https://shadcnui-blocks.com/r/order-confirmation-01.json
- Listed: 2026-10-13, source last changed 2026-10-13

## Install

```bash
npx shadcn@latest add https://shadcnui-blocks.com/r/order-confirmation-01.json
```

Run it in a project that has shadcn/ui set up. It adds the files below and installs what they depend on.

## Dependencies

- npm packages: `lucide-react`
- Registry items: `button`

## Files

### `src/registry/blocks/radix/order-confirmation-01/components/order-confirmation.tsx`

```tsx
import { Check, Eye, Home } from "lucide-react";
import { Button } from "@/registry/bases/radix/ui/button";

export default function OrderConfirmation() {
  return (
    <div className="flex min-h-screen items-center justify-center px-6">
      <div className="mx-auto flex w-full max-w-sm flex-col items-center rounded-xl border bg-card px-6 pt-8 pb-10 text-center">
        <div className="flex size-12 items-center justify-center rounded-full border border-green-500/12 bg-green-500/10">
          <Check className="size-6 text-green-500" />
        </div>
        <p className="mt-5 font-medium text-2xl">Order Confirmed!</p>
        <p className="mt-2 text-muted-foreground text-sm sm:text-base">
          Thank you for your purchase. We've sent a confirmation to your email.
        </p>

        <div className="mt-12 flex flex-wrap items-center gap-2">
          <Button className="grow">
            <Eye /> View Order
          </Button>
          <Button className="grow" variant="outline">
            <Home /> Go to Home
          </Button>
        </div>
      </div>
    </div>
  );
}
```
