Back to blocks
BlockeCommerceFree

Order Confirmation Block React component

A thank-you section after checkout: springy check with confetti, a copyable order number, a tracking timeline with the current step pulsing, a live change-or-cancel window with an inline confirm, downloadable receipt and calendar file, items with buy again, address and payment, create-an-account and a copyable referral code.

About the Order Confirmation Block component

Order Confirmation Block is the page shoppers see right after paying. It confirms the order with a short celebration, gives the order number in a copyable chip and shows where the order is now on a four-step timeline.

It also covers the questions people have in the next few minutes: a live countdown says how long they can still change or cancel (with an inline confirm), the receipt and an .ics file for the delivery window download right away, items can go back into the cart, guests can claim the order with just a password, and a referral code is one tap to copy.

When to use it

Use it as the thank-you step of your checkout, filled from the order you just created.

Hide the cancel window (cancelMinutes 0) if orders go to the warehouse immediately, and set signedIn so logged-in shoppers don't see the account card.

Installation

Add the Order Confirmation Block component to your project with the shadcn CLI. It lands in components/order-confirmation-block.tsx as plain React + Tailwind CSS source you own and can edit.

Install
Copied!
npx shadcn@latest add @reactframe/order-confirmation-block

Or copy the source by hand and install its dependencies:

Install
Copied!
npm install motion clsx tailwind-merge

More eCommerce components

Horizontal Filter Bar
Free
Accordion Checkout
Free
Mobile Filter Modal
Free
Multi-step Checkout Block
Free
Gift Card Designer
Free
Express Checkout Buttons
Free