Back to blocks
BlockeCommerceFree

Order History Block React component

An account orders page: status tabs with counts, search by order number or product, order cards with stacked thumbnails and colored status pills (a pulsing dot for orders on the way), expandable details with a delivery progress timeline, tracking number, line items and actions to track, buy again, return, cancel or download the invoice.

About the Order History Block component

Order History Block is the 'My orders' page of a customer account. Tabs and search find any order quickly, and each card shows at a glance what was bought, its status and the total.

Opening an order reveals where it is on its way, the tracking number and the items, with the right actions for its state: track what's on the way, return what's arrived, cancel what hasn't shipped and buy favourites again in one click.

When to use it

Use it in customer accounts of any store, or in an order lookup page for guests.

For a single order's confirmation use the Order Confirmation Block.

Installation

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

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

Or copy the source by hand and install its dependencies:

Install
Copied!
npm install motion clsx tailwind-merge

More eCommerce components

Product Features Block
Free
Incentives Block
Free
Product Reviews Block
Free
Upsell / Cross-sell Block
Free
Store Navigation
Free
Free Shipping Progress Bar
Free