← catalogo / components/order-history
TW-CO-OH-01
Tailwind Plus
tailwind/ecommerce/components/order-history/03-invoice-panels
@tailwindplus/elements<!-- Include this script tag or install `@tailwindplus/elements` via npm: -->
<!-- <script src="https://cdn.jsdelivr.net/npm/@tailwindplus/elements@1" type="module"></script> -->
<div class="bg-white">
<div class="py-16 sm:py-24">
<div class="mx-auto max-w-7xl sm:px-2 lg:px-8">
<div class="mx-auto max-w-2xl px-4 lg:max-w-4xl lg:px-0">
<h1 class="text-2xl font-bold tracking-tight text-gray-900 sm:text-3xl">Order history</h1>
<p class="mt-2 text-sm text-gray-500">Check the status of recent orders, manage returns, and discover similar products.</p>
</div>
</div>
<div class="mt-16">
<h2 class="sr-only">Recent orders</h2>
<div class="mx-auto max-w-7xl sm:px-2 lg:px-8">
<div class="mx-auto max-w-2xl space-y-8 sm:px-4 lg:max-w-4xl lg:px-0">
<div class="border-t border-b border-gray-200 bg-white shadow-xs sm:rounded-lg sm:border">
<h3 class="sr-only">Order placed on <time datetime="2021-07-06">Jul 6, 2021</time></h3>
<div class="flex items-center border-b border-gray-200 p-4 sm:grid sm:grid-cols-4 sm:gap-x-6 sm:p-6">
<dl class="grid flex-1 grid-cols-2 gap-x-6 text-sm sm:col-span-3 sm:grid-cols-3 lg:col-span-2">
<div>
<dt class="font-medium text-gray-900">Order number</dt>
<dd class="mt-1 text-gray-500">WU88191111</dd>
</div>
<div class="hidden sm:block">
<dt class="font-medium text-gray-900">Date placed</dt>
<dd class="mt-1 text-gray-500">
<time datetime="2021-07-06">Jul 6, 2021</time>
</dd>
</div>
<div>
<dt class="font-medium text-gray-900">Total amount</dt>
<dd class="mt-1 font-medium text-gray-900">$160.00</dd>
</div>
</dl>
<div class="flex justify-end lg:hidden">
<el-dropdown class="relative">
<button class="relative flex items-center text-gray-400 hover:text-gray-500">
<span class="absolute -inset-2"></span>
<span class="sr-only">Options for order WU88191111</span>
<svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.5" data-slot="icon" aria-hidden="true" class="size-6">
<path d="M12 6.75a.75.75 0 1 1 0-1.5.75.75 0 0 1 0 1.5ZM12 12.75a.75.75 0 1 1 0-1.5.75.75 0 0 1 0 1.5ZM12 18.75a.75.75 0 1 1 0-1.5.75.75 0 0 1 0 1.5Z" stroke-linecap="round" stroke-linejoin="round" />
</svg>
</button>
<el-menu anchor="bottom end" popover class="w-40 origin-bottom-right rounded-md bg-white shadow-lg ring-1 ring-black/5 transition transition-discrete [--anchor-gap:--spacing(2)] focus:outline-hidden data-closed:scale-95 data-closed:transform data-closed:opacity-0 data-enter:duration-100 data-enter:ease-out data-leave:duration-75 data-leave:ease-in">
<div class="py-1">
<a href="#" class="block px-4 py-2 text-sm text-gray-700 focus:bg-gray-100 focus:text-gray-900 focus:outline-hidden">View</a>
<a href="#" class="block px-4 py-2 text-sm text-gray-700 focus:bg-gray-100 focus:text-gray-900 focus:outline-hidden">Invoice</a>
</div>
</el-menu>
</el-dropdown>
</div>
<div class="hidden lg:col-span-2 lg:flex lg:items-center lg:justify-end lg:space-x-4">
<a href="#" class="flex items-center justify-center rounded-md border border-gray-300 bg-white px-2.5 py-2 text-sm font-medium text-gray-700 shadow-xs hover:bg-gray-50 focus:ring-2 focus:ring-indigo-500 focus:ring-offset-2 focus:outline-hidden">
<span>View Order</span>
<span class="sr-only">WU88191111</span>
</a>
<a href="#" class="flex items-center justify-center rounded-md border border-gray-300 bg-white px-2.5 py-2 text-sm font-medium text-gray-700 shadow-xs hover:bg-gray-50 focus:ring-2 focus:ring-indigo-500 focus:ring-offset-2 focus:outline-hidden">
<span>View Invoice</span>
<span class="sr-only">for order WU88191111</span>
</a>
</div>
</div>
<!-- Products -->
<h4 class="sr-only">Items</h4>
<ul role="list" class="divide-y divide-gray-200">
<li class="p-4 sm:p-6">
<div class="flex items-center sm:items-start">
<div class="size-20 shrink-0 overflow-hidden rounded-lg bg-gray-200 sm:size-40">
<img src="https://tailwindcss.com/plus-assets/img/ecommerce-images/order-history-page-03-product-01.jpg" alt="Moss green canvas compact backpack with double top zipper, zipper front pouch, and matching carry handle and backpack straps." class="size-full object-cover" />
</div>
<div class="ml-6 flex-1 text-sm">
<div class="font-medium text-gray-900 sm:flex sm:justify-between">
<h5>Micro Backpack</h5>
<p class="mt-2 sm:mt-0">$70.00</p>
</div>
<p class="hidden text-gray-500 sm:mt-2 sm:block">Are you a minimalist looking for a compact carry option? The Micro Backpack is the perfect size for your essential everyday carry items. Wear it like a backpack or carry it like a satchel for all-day use.</p>
</div>
</div>
<div class="mt-6 sm:flex sm:justify-between">
<div class="flex items-center">
<svg viewBox="0 0 20 20" fill="currentColor" data-slot="icon" aria-hidden="true" class="size-5 text-green-500">
<path d="M10 18a8 8 0 1 0 0-16 8 8 0 0 0 0 16Zm3.857-9.809a.75.75 0 0 0-1.214-.882l-3.483 4.79-1.88-1.88a.75.75 0 1 0-1.06 1.061l2.5 2.5a.75.75 0 0 0 1.137-.089l4-5.5Z" clip-rule="evenodd" fill-rule="evenodd" />
</svg>
<p class="ml-2 text-sm font-medium text-gray-500">Delivered on <time datetime="2021-07-12">July 12, 2021</time></p>
</div>
<div class="mt-6 flex items-center divide-x divide-gray-200 border-t border-gray-200 pt-4 text-sm font-medium sm:mt-0 sm:ml-4 sm:border-none sm:pt-0">
<div class="flex flex-1 justify-center pr-4">
<a href="#" class="whitespace-nowrap text-indigo-600 hover:text-indigo-500">View product</a>
</div>
<div class="flex flex-1 justify-center pl-4">
<a href="#" class="whitespace-nowrap text-indigo-600 hover:text-indigo-500">Buy again</a>
</div>
</div>
</div>
</li>
<li class="p-4 sm:p-6">
<div class="flex items-center sm:items-start">
<div class="size-20 shrink-0 overflow-hidden rounded-lg bg-gray-200 sm:size-40">
<img src="https://tailwindcss.com/plus-assets/img/ecommerce-images/order-history-page-03-product-02.jpg" alt="Bright yellow canvas tote with double-stitched straps, handle, and matching zipper." class="size-full object-cover" />
</div>
<div class="ml-6 flex-1 text-sm">
<div class="font-medium text-gray-900 sm:flex sm:justify-between">
<h5>Nomad Shopping Tote</h5>
<p class="mt-2 sm:mt-0">$90.00</p>
</div>
<p class="hidden text-gray-500 sm:mt-2 sm:block">This durable shopping tote is perfect for the world traveler. Its yellow canvas construction is water, fray, tear resistant. The matching handle, backpack straps, and shoulder loops provide multiple carry options for a day out on your next adventure.</p>
</div>
</div>
<div class="mt-6 sm:flex sm:justify-between">
<div class="flex items-center">
<svg viewBox="0 0 20 20" fill="currentColor" data-slot="icon" aria-hidden="true" class="size-5 text-green-500">
<path d="M10 18a8 8 0 1 0 0-16 8 8 0 0 0 0 16Zm3.857-9.809a.75.75 0 0 0-1.214-.882l-3.483 4.79-1.88-1.88a.75.75 0 1 0-1.06 1.061l2.5 2.5a.75.75 0 0 0 1.137-.089l4-5.5Z" clip-rule="evenodd" fill-rule="evenodd" />
</svg>
<p class="ml-2 text-sm font-medium text-gray-500">Delivered on <time datetime="2021-07-12">July 12, 2021</time></p>
</div>
<div class="mt-6 flex items-center divide-x divide-gray-200 border-t border-gray-200 pt-4 text-sm font-medium sm:mt-0 sm:ml-4 sm:border-none sm:pt-0">
<div class="flex flex-1 justify-center pr-4">
<a href="#" class="whitespace-nowrap text-indigo-600 hover:text-indigo-500">View product</a>
</div>
<div class="flex flex-1 justify-center pl-4">
<a href="#" class="whitespace-nowrap text-indigo-600 hover:text-indigo-500">Buy again</a>
</div>
</div>
</div>
</li>
</ul>
</div>
<div class="border-t border-b border-gray-200 bg-white shadow-xs sm:rounded-lg sm:border">
<h3 class="sr-only">Order placed on <time datetime="2020-12-22">Dec 22, 2020</time></h3>
<div class="flex items-center border-b border-gray-200 p-4 sm:grid sm:grid-cols-4 sm:gap-x-6 sm:p-6">
<dl class="grid flex-1 grid-cols-2 gap-x-6 text-sm sm:col-span-3 sm:grid-cols-3 lg:col-span-2">
<div>
<dt class="font-medium text-gray-900">Order number</dt>
<dd class="mt-1 text-gray-500">AT48441546</dd>
</div>
<div class="hidden sm:block">
<dt class="font-medium text-gray-900">Date placed</dt>
<dd class="mt-1 text-gray-500">
<time datetime="2020-12-22">Dec 22, 2020</time>
</dd>
</div>
<div>
<dt class="font-medium text-gray-900">Total amount</dt>
<dd class="mt-1 font-medium text-gray-900">$40.00</dd>
</div>
</dl>
<div class="flex justify-end lg:hidden">
<el-dropdown class="relative">
<button class="relative flex items-center text-gray-400 hover:text-gray-500">
<span class="absolute -inset-2"></span>
<span class="sr-only">Options for order AT48441546</span>
<svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.5" data-slot="icon" aria-hidden="true" class="size-6">
<path d="M12 6.75a.75.75 0 1 1 0-1.5.75.75 0 0 1 0 1.5ZM12 12.75a.75.75 0 1 1 0-1.5.75.75 0 0 1 0 1.5ZM12 18.75a.75.75 0 1 1 0-1.5.75.75 0 0 1 0 1.5Z" stroke-linecap="round" stroke-linejoin="round" />
</svg>
</button>
<el-menu anchor="bottom end" popover class="w-40 origin-bottom-right rounded-md bg-white shadow-lg ring-1 ring-black/5 transition transition-discrete [--anchor-gap:--spacing(2)] focus:outline-hidden data-closed:scale-95 data-closed:transform data-closed:opacity-0 data-enter:duration-100 data-enter:ease-out data-leave:duration-75 data-leave:ease-in">
<div class="py-1">
<a href="#" class="block px-4 py-2 text-sm text-gray-700 focus:bg-gray-100 focus:text-gray-900 focus:outline-hidden">View</a>
<a href="#" class="block px-4 py-2 text-sm text-gray-700 focus:bg-gray-100 focus:text-gray-900 focus:outline-hidden">Invoice</a>
</div>
</el-menu>
</el-dropdown>
</div>
<div class="hidden lg:col-span-2 lg:flex lg:items-center lg:justify-end lg:space-x-4">
<a href="#" class="flex items-center justify-center rounded-md border border-gray-300 bg-white px-2.5 py-2 text-sm font-medium text-gray-700 shadow-xs hover:bg-gray-50 focus:ring-2 focus:ring-indigo-500 focus:ring-offset-2 focus:outline-hidden">
<span>View Order</span>
<span class="sr-only">AT48441546</span>
</a>
<a href="#" class="flex items-center justify-center rounded-md border border-gray-300 bg-white px-2.5 py-2 text-sm font-medium text-gray-700 shadow-xs hover:bg-gray-50 focus:ring-2 focus:ring-indigo-500 focus:ring-offset-2 focus:outline-hidden">
<span>View Invoice</span>
<span class="sr-only">for order AT48441546</span>
</a>
</div>
</div>
<!-- Products -->
<h4 class="sr-only">Items</h4>
<ul role="list" class="divide-y divide-gray-200">
<li class="p-4 sm:p-6">
<div class="flex items-center sm:items-start">
<div class="size-20 shrink-0 overflow-hidden rounded-lg bg-gray-200 sm:size-40">
<img src="https://tailwindcss.com/plus-assets/img/ecommerce-images/order-history-page-03-product-03.jpg" alt="Garment bag with two layers of grey and tan zipper pouches for folded shirts and pants." class="size-full object-cover" />
</div>
<div class="ml-6 flex-1 text-sm">
<div class="font-medium text-gray-900 sm:flex sm:justify-between">
<h5>Double Stack Clothing Bag</h5>
<p class="mt-2 sm:mt-0">$40.00</p>
</div>
<p class="hidden text-gray-500 sm:mt-2 sm:block">Save space and protect your favorite clothes in this double-layer garment bag. Each compartment easily holds multiple pairs of jeans or tops, while keeping your items neatly folded throughout your trip.</p>
</div>
</div>
<div class="mt-6 sm:flex sm:justify-between">
<div class="flex items-center">
<svg viewBox="0 0 20 20" fill="currentColor" data-slot="icon" aria-hidden="true" class="size-5 text-green-500">
<path d="M10 18a8 8 0 1 0 0-16 8 8 0 0 0 0 16Zm3.857-9.809a.75.75 0 0 0-1.214-.882l-3.483 4.79-1.88-1.88a.75.75 0 1 0-1.06 1.061l2.5 2.5a.75.75 0 0 0 1.137-.089l4-5.5Z" clip-rule="evenodd" fill-rule="evenodd" />
</svg>
<p class="ml-2 text-sm font-medium text-gray-500">Delivered on <time datetime="2021-01-05">January 5, 2021</time></p>
</div>
<div class="mt-6 flex items-center divide-x divide-gray-200 border-t border-gray-200 pt-4 text-sm font-medium sm:mt-0 sm:ml-4 sm:border-none sm:pt-0">
<div class="flex flex-1 justify-center pr-4">
<a href="#" class="whitespace-nowrap text-indigo-600 hover:text-indigo-500">View product</a>
</div>
<div class="flex flex-1 justify-center pl-4">
<a href="#" class="whitespace-nowrap text-indigo-600 hover:text-indigo-500">Buy again</a>
</div>
</div>
</div>
</li>
</ul>
</div>
</div>
</div>
</div>
</div>
</div>