Bootstrap 5 Order Confirmation Receipt Template
An order confirmation receipt with a success header, order details, itemised products with photos and a clear totals breakdown.
<section class="iv-section wdw-stage">
<div class="container" style="max-width:860px">
<div class="wdw-card overflow-hidden">
<div class="iv-head px-4 py-3 d-flex align-items-center gap-3">
<span class="iv-check d-inline-flex align-items-center justify-content-center rounded-circle flex-shrink-0" aria-hidden="true"><svg width="22" height="22" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="3" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><path d="m5 12 5 5L20 7"/></svg></span>
<div>
<h2 class="h4 wdw-heading mb-0">Order confirmed</h2>
<p class="mb-0 text-body-secondary small">Thanks, Chris. Your order ships within two days.</p>
</div>
</div>
<div class="iv-strip bg-body-tertiary border-top border-bottom px-4 py-2 small d-flex flex-wrap column-gap-4 row-gap-1">
<span><span class="text-body-secondary">Date</span> <strong>12 Jan 2026</strong></span>
<span><span class="text-body-secondary">Order</span> <strong>MT-12332345</strong></span>
<span><span class="text-body-secondary">Payment</span> <strong>Visa 4242</strong></span>
<span><span class="text-body-secondary">Ship to</span> <strong>414 Advert Ave, NYC</strong></span>
</div>
<div class="card-body p-4">
<ol class="iv-steps list-unstyled d-flex gap-2 mb-4 p-0" aria-label="Delivery progress">
<li class="iv-step flex-fill d-flex flex-column align-items-center text-center gap-1 done"><span class="iv-dot iv-done rounded-circle d-inline-flex align-items-center justify-content-center flex-shrink-0"><svg width="12" height="12" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="3" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><path d="m5 12 5 5L20 7"/></svg></span><span class="small fw-semibold">Confirmed</span><span class="small text-body-secondary">12 Jan</span></li>
<li class="iv-step flex-fill d-flex flex-column align-items-center text-center gap-1 current"><span class="iv-dot iv-current rounded-circle d-inline-flex align-items-center justify-content-center flex-shrink-0"></span><span class="small fw-semibold">Packed</span><span class="small text-body-secondary">13 Jan</span></li>
<li class="iv-step flex-fill d-flex flex-column align-items-center text-center gap-1 todo"><span class="iv-dot iv-todo rounded-circle d-inline-flex align-items-center justify-content-center flex-shrink-0"></span><span class="small fw-semibold">Shipped</span><span class="small text-body-secondary">Est. 14 Jan</span></li>
<li class="iv-step flex-fill d-flex flex-column align-items-center text-center gap-1 todo"><span class="iv-dot iv-todo rounded-circle d-inline-flex align-items-center justify-content-center flex-shrink-0"></span><span class="small fw-semibold">Delivered</span><span class="small text-body-secondary">Est. 17 Jan</span></li>
</ol>
<div class="row g-4">
<div class="col-md-7">
<ul class="list-group list-group-flush">
<li class="list-group-item bg-transparent px-0 pt-0 pb-3 d-flex align-items-center gap-3">
<span class="iv-tile rounded-3 bg-body-tertiary border p-1 flex-shrink-0"><img src="https://images.unsplash.com/photo-1542291026-7eec264c27ff?w=160&q=70" width="56" height="56" class="rounded-2 object-fit-cover d-block" alt="Red running shoe"></span>
<div class="flex-grow-1"><div class="fw-semibold">Stride Runner Shoes</div><div class="small text-body-secondary">Qty 1 · Colour Red</div></div>
<div class="fw-semibold">$67.50</div>
</li>
<li class="list-group-item bg-transparent px-0 pb-0 pt-3 d-flex align-items-center gap-3">
<span class="iv-tile rounded-3 bg-body-tertiary border p-1 flex-shrink-0"><img src="https://images.unsplash.com/photo-1523275335684-37898b6baf30?w=160&q=70" width="56" height="56" class="rounded-2 object-fit-cover d-block" alt="Wrist watch"></span>
<div class="flex-grow-1"><div class="fw-semibold">Classic Wrist Watch</div><div class="small text-body-secondary">Qty 1 · Colour Silver</div></div>
<div class="fw-semibold">$77.50</div>
</li>
</ul>
</div>
<div class="col-md-5">
<div class="d-flex justify-content-between align-items-baseline small py-1"><span class="text-body-secondary">Subtotal</span><span class="">$145.00</span></div>
<div class="d-flex justify-content-between align-items-baseline small py-1"><span class="text-body-secondary">Shipping</span><span class="">$22.00</span></div>
<div class="d-flex justify-content-between align-items-baseline small py-1"><span class="text-body-secondary">Tax</span><span class="">$7.65</span></div>
<div class="d-flex justify-content-between align-items-baseline small py-1"><span class="text-body-secondary">Discount</span><span class="text-success-emphasis">-$6.15</span></div>
<div class="d-flex justify-content-between align-items-baseline border-top pt-2 mt-1"><span class="fw-semibold">Total</span><span class="h4 wdw-heading mb-0">$168.50</span></div>
</div>
</div>
</div>
<div class="px-4 py-3 border-top bg-body-tertiary d-flex flex-wrap justify-content-between align-items-center gap-3">
<span class="small text-body-secondary">A confirmation was sent to [email protected]</span>
<div class="d-flex gap-2">
<button type="button" class="btn btn-outline-secondary text-body rounded-pill px-4">Track order</button>
<button type="button" class="btn btn-primary rounded-pill px-4" id="ivPrint">Print receipt</button>
</div>
</div>
</div>
</div>
</section>
/* Web Designer Wall library style — shared base for every Bootstrap 5 snippet.
Indigo accent, Plus Jakarta Sans, soft cards, pill buttons. Works in light and dark. */
@import url("https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700;800&display=swap");
:root,
[data-bs-theme="light"] {
--wdw-font: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
--bs-body-font-family: var(--wdw-font);
--bs-primary: #4f46e5;
--bs-primary-rgb: 79, 70, 229;
--bs-primary-text-emphasis: #3730a3;
--bs-primary-bg-subtle: #eef2ff;
--bs-primary-border-subtle: #c7d2fe;
--bs-link-color: #4f46e5;
--bs-link-color-rgb: 79, 70, 229;
--bs-link-hover-color: #4338ca;
--bs-link-hover-color-rgb: 67, 56, 202;
--bs-focus-ring-color: rgba(79, 70, 229, 0.25);
--bs-border-radius: 0.75rem;
--bs-border-radius-lg: 1rem;
--bs-border-radius-xl: 1.25rem;
--wdw-radius-card: 1.25rem;
--wdw-shadow: 0 1px 2px rgba(16, 24, 40, 0.05), 0 16px 40px -16px rgba(16, 24, 40, 0.22);
--wdw-shadow-sm: 0 1px 2px rgba(16, 24, 40, 0.06), 0 4px 12px -4px rgba(16, 24, 40, 0.12);
--wdw-stage: #f5f6fb;
}
[data-bs-theme="dark"] {
--bs-primary: #818cf8;
--bs-primary-rgb: 129, 140, 248;
--bs-primary-text-emphasis: #c7d2fe;
--bs-primary-bg-subtle: rgba(129, 140, 248, 0.14);
--bs-primary-border-subtle: rgba(129, 140, 248, 0.35);
--bs-link-color: #a5b4fc;
--bs-link-color-rgb: 165, 180, 252;
--bs-link-hover-color: #c7d2fe;
--bs-link-hover-color-rgb: 199, 210, 254;
--bs-focus-ring-color: rgba(129, 140, 248, 0.35);
--wdw-shadow: 0 1px 2px rgba(0, 0, 0, 0.4), 0 16px 40px -16px rgba(0, 0, 0, 0.7);
--wdw-shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.4), 0 4px 12px -4px rgba(0, 0, 0, 0.5);
--wdw-stage: #0f1117;
}
body { font-family: var(--wdw-font); -webkit-font-smoothing: antialiased; }
/* Bootstrap compiles its blue into these components; point them at the accent. */
.btn-primary {
--bs-btn-bg: var(--bs-primary); --bs-btn-border-color: var(--bs-primary);
--bs-btn-hover-bg: #4338ca; --bs-btn-hover-border-color: #4338ca;
--bs-btn-active-bg: #3730a3; --bs-btn-active-border-color: #3730a3;
--bs-btn-disabled-bg: var(--bs-primary); --bs-btn-disabled-border-color: var(--bs-primary);
--bs-btn-focus-shadow-rgb: var(--bs-primary-rgb);
}
[data-bs-theme="dark"] .btn-primary { --bs-btn-color: #0f1117; --bs-btn-hover-bg: #a5b4fc; --bs-btn-hover-border-color: #a5b4fc; --bs-btn-hover-color: #0f1117; --bs-btn-active-color: #0f1117; }
.btn-outline-primary {
--bs-btn-color: var(--bs-primary); --bs-btn-border-color: var(--bs-primary);
--bs-btn-hover-bg: var(--bs-primary); --bs-btn-hover-border-color: var(--bs-primary);
--bs-btn-active-bg: var(--bs-primary); --bs-btn-active-border-color: var(--bs-primary);
--bs-btn-focus-shadow-rgb: var(--bs-primary-rgb);
}
.btn { --bs-btn-font-weight: 600; min-height: 44px; display: inline-flex; align-items: center; justify-content: center; gap: .5rem; }
.btn-sm { min-height: 36px; }
.form-control, .form-select { min-height: 44px; border-radius: .75rem; }
.form-control:focus, .form-select:focus, .form-check-input:focus { border-color: rgba(var(--bs-primary-rgb), .6); box-shadow: 0 0 0 .25rem var(--bs-focus-ring-color); }
.form-check-input:checked { background-color: var(--bs-primary); border-color: var(--bs-primary); }
.nav-pills { --bs-nav-pills-link-active-bg: var(--bs-primary); }
.nav { --bs-nav-link-color: var(--bs-secondary-color); --bs-nav-link-hover-color: var(--bs-emphasis-color); }
.pagination { --bs-pagination-active-bg: var(--bs-primary); --bs-pagination-active-border-color: var(--bs-primary); --bs-pagination-color: var(--bs-body-color); --bs-pagination-focus-box-shadow: 0 0 0 .25rem var(--bs-focus-ring-color); }
.progress, .progress-stacked { --bs-progress-bar-bg: var(--bs-primary); }
.list-group { --bs-list-group-active-bg: var(--bs-primary); --bs-list-group-active-border-color: var(--bs-primary); }
.dropdown-menu { --bs-dropdown-link-active-bg: var(--bs-primary); border-radius: .875rem; box-shadow: var(--wdw-shadow-sm); }
.accordion { --bs-accordion-active-bg: var(--bs-primary-bg-subtle); --bs-accordion-active-color: var(--bs-primary-text-emphasis); --bs-accordion-btn-focus-box-shadow: 0 0 0 .25rem var(--bs-focus-ring-color); }
.badge { font-weight: 600; }
/* Library building blocks — use these instead of re-inventing them per snippet. */
.wdw-stage { min-height: 100vh; display: flex; align-items: center; background: var(--wdw-stage); padding-block: 3rem; }
.wdw-card { background: var(--bs-body-bg); border: 1px solid var(--bs-border-color-translucent); border-radius: var(--wdw-radius-card); box-shadow: var(--wdw-shadow); }
.wdw-card-sm { background: var(--bs-body-bg); border: 1px solid var(--bs-border-color-translucent); border-radius: 1rem; box-shadow: var(--wdw-shadow-sm); }
.wdw-aurora { position: relative; color: #fff; background: radial-gradient(60% 55% at 100% 0, #818cf8 0, transparent 70%), radial-gradient(65% 60% at 0 100%, #ec4899 0, transparent 65%), #1e1b4b; }
.wdw-eyebrow { display: inline-block; font-size: .75rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--bs-primary); }
.wdw-heading { font-weight: 800; letter-spacing: -.02em; color: var(--bs-emphasis-color); }
.wdw-muted { color: var(--bs-secondary-color); }
.wdw-icon { width: 2.75rem; height: 2.75rem; flex: none; display: inline-flex; align-items: center; justify-content: center; border-radius: .875rem; background: var(--bs-primary-bg-subtle); color: var(--bs-primary); }
/* Component */
.iv-head { background: var(--bs-primary-bg-subtle); border-bottom: 1px solid var(--bs-primary-border-subtle); }
.iv-check { width: 44px; height: 44px; background: var(--bs-success); color: #fff; }
.iv-strip strong { font-weight: 600; }
.iv-steps { position: relative; }
.iv-step { position: relative; min-width: 0; }
.iv-step:not(:last-child)::after { content: ""; position: absolute; top: 11px; left: calc(50% + 18px); right: calc(-50% + 18px); height: 2px; background: var(--bs-border-color); }
.iv-step.done:not(:last-child)::after { background: var(--bs-success); }
.iv-dot { width: 24px; height: 24px; border: 2px solid var(--bs-border-color); background: var(--bs-body-bg); }
.iv-dot.iv-done { background: var(--bs-success); border-color: var(--bs-success); color: #fff; }
.iv-dot.iv-current { border-color: var(--bs-primary); box-shadow: 0 0 0 4px var(--bs-primary-bg-subtle); }
@media (max-width: 575.98px) { .iv-step .small { font-size: .7rem; } }
@media print { .iv-section { background: #fff !important; } .btn { display: none; } }
function initPrintButton() {
var btn = document.getElementById('ivPrint');
if (!btn) return;
btn.addEventListener('click', function () { window.print(); });
}
initPrintButton();
Built on Bootstrap 5.3.8 with plain JavaScript — no jQuery. Supports light and dark mode via data-bs-theme.