Bootstrap 5 Order Tracking Page with Delivery Progress
An order tracking page with a four-stage delivery progress bar, shipping details, and the items in the order.
<section class="wdw-stage ot-stage">
<div class="container" style="max-width:900px">
<nav aria-label="breadcrumb"><ol class="breadcrumb small mb-3"><li class="breadcrumb-item"><a href="#" class="text-decoration-none">My orders</a></li><li class="breadcrumb-item active" aria-current="page">Tracking</li></ol></nav>
<div class="wdw-card overflow-hidden">
<div class="d-flex flex-wrap align-items-center justify-content-between gap-3 px-4 px-md-5 pt-4 pt-md-5 pb-3">
<div>
<span class="wdw-eyebrow">Order #OD45345345435</span>
<h2 class="wdw-heading h2 mb-0">Arriving 29 Nov</h2>
</div>
<span class="badge rounded-pill bg-primary-subtle text-primary-emphasis px-3 py-2 d-inline-flex align-items-center gap-2"><span class="ot-pulse" aria-hidden="true"></span>In transit</span>
</div>
<div class="px-4 px-md-5 pb-4">
<ol class="ot-track list-unstyled mb-4 mt-3" aria-label="Delivery progress">
<li class="ot-s is-done"><span class="ot-dot"><svg width="16" height="16" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><path d="M5 12.5l4.5 4.5L19 7.5"/></svg></span><span class="ot-label">Order confirmed</span><span class="ot-date">24 Nov</span></li>
<li class="ot-s is-done"><span class="ot-dot"><svg width="16" height="16" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><path d="M21 8l-9-5-9 5v8l9 5 9-5zM3 8l9 5 9-5M12 13v8"/></svg></span><span class="ot-label">Picked by courier</span><span class="ot-date">25 Nov</span></li>
<li class="ot-s is-done is-current" aria-current="step"><span class="ot-dot"><svg width="16" height="16" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><path d="M2 6h11v10H2zM13 10h4l4 3v3h-8"/><circle cx="7" cy="18" r="2"/><circle cx="17" cy="18" r="2"/></svg></span><span class="ot-label">On the way</span><span class="ot-date">27 Nov</span></li>
<li class="ot-s"><span class="ot-dot"><svg width="16" height="16" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><path d="M12 21s7-6.2 7-11.5A7 7 0 005 9.5C5 14.8 12 21 12 21z"/><circle cx="12" cy="9.5" r="2.5"/></svg></span><span class="ot-label">Delivered</span><span class="ot-date">Est. 29 Nov</span></li>
</ol>
<dl class="row g-3 ot-meta rounded-4 bg-body-tertiary p-3 mx-0 mb-4">
<div class="col-6 col-md-3"><dt class="small wdw-muted fw-medium">Estimated delivery</dt><dd class="mb-0 fw-semibold">29 Nov 2026</dd></div>
<div class="col-6 col-md-3"><dt class="small wdw-muted fw-medium">Shipped by</dt><dd class="mb-0 fw-semibold">BlueDart<span class="d-block small fw-normal wdw-muted">+1 598 675 986</span></dd></div>
<div class="col-6 col-md-3"><dt class="small wdw-muted fw-medium">Status</dt><dd class="mb-0 fw-semibold">In transit</dd></div>
<div class="col-6 col-md-3"><dt class="small wdw-muted fw-medium">Tracking number</dt><dd class="mb-0 fw-semibold ot-track-no">BD045903594059</dd></div>
</dl>
<h3 class="h6 fw-bold mb-3">Items in this order</h3>
<ul class="list-unstyled row g-3 mb-4">
<li class="col-md-4"><div class="wdw-card-sm d-flex gap-3 align-items-center p-3 h-100"><span class="wdw-icon ot-tile"><svg width="22" height="22" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><rect x="4" y="5" width="16" height="11" rx="2"/><path d="M2 20h20"/></svg></span><div class="min-w-0"><div class="fw-semibold small">Dell XPS 13 laptop</div><div class="small wdw-muted">512 GB SSD, 16 GB RAM</div><div class="fw-bold mt-1">$950</div></div></div></li>
<li class="col-md-4"><div class="wdw-card-sm d-flex gap-3 align-items-center p-3 h-100"><span class="wdw-icon ot-tile"><svg width="22" height="22" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><rect x="4" y="5" width="16" height="11" rx="2"/><path d="M2 20h20"/></svg></span><div class="min-w-0"><div class="fw-semibold small">HP Pavilion 15 laptop</div><div class="small wdw-muted">512 GB SSD, 8 GB RAM</div><div class="fw-bold mt-1">$850</div></div></div></li>
<li class="col-md-4"><div class="wdw-card-sm d-flex gap-3 align-items-center p-3 h-100"><span class="wdw-icon ot-tile"><svg width="22" height="22" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><rect x="4" y="5" width="16" height="11" rx="2"/><path d="M2 20h20"/></svg></span><div class="min-w-0"><div class="fw-semibold small">Acer Aspire 5 laptop</div><div class="small wdw-muted">256 GB SSD, 8 GB RAM</div><div class="fw-bold mt-1">$650</div></div></div></li>
</ul>
<div class="d-flex flex-wrap justify-content-between align-items-center gap-3 border-top pt-4">
<a href="#" class="btn btn-outline-primary rounded-pill px-4">Back to orders</a>
<p class="mb-0 wdw-muted">Total <span class="ms-2 fs-4 fw-bold text-body-emphasis">$2,450</span></p>
</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 */
.ot-meta dd{margin:0}
.ot-track{display:grid;grid-template-columns:repeat(4,1fr);position:relative;margin:0 0 2rem;padding:0}
.ot-s{position:relative;display:flex;flex-direction:column;align-items:center;text-align:center;gap:.25rem}
.ot-s::before{content:"";position:absolute;top:17px;left:-50%;width:100%;height:3px;background:var(--bs-border-color);border-radius:2px}
.ot-s:first-child::before{display:none}
.ot-s.is-done::before{background:var(--bs-primary)}
.ot-dot{position:relative;z-index:1;width:36px;height:36px;border-radius:50%;background:var(--bs-body-bg);border:3px solid var(--bs-border-color);display:inline-flex;align-items:center;justify-content:center;margin-bottom:.5rem}
.ot-s.is-done .ot-dot{background:var(--bs-primary);border-color:var(--bs-primary);color:#fff}
[data-bs-theme="dark"] .ot-s.is-done .ot-dot{color:#0f1117}
.ot-s.is-current .ot-dot{box-shadow:0 0 0 5px var(--bs-primary-bg-subtle)}
.ot-label{font-weight:600;font-size:.9rem;color:var(--bs-emphasis-color)}
.ot-s:not(.is-done) .ot-label{color:var(--bs-secondary-color)}
.ot-date{font-size:.8rem;color:var(--bs-secondary-color)}
.ot-tile{width:56px;height:56px}
.ot-pulse{width:8px;height:8px;border-radius:50%;background:var(--bs-primary)}
.ot-track-no{font-family:ui-monospace,SFMono-Regular,Menlo,monospace;font-size:.85rem;word-break:break-all}
.min-w-0{min-width:0}
.ot-stage .btn-outline-primary:hover{color:#fff}
[data-bs-theme="dark"] .ot-stage .btn-outline-primary:hover{color:#0f1117}
@media (max-width:575.98px){.ot-label{font-size:.78rem}.ot-date{font-size:.72rem}}
.ot-meta.row{margin-top:0!important}
Built on Bootstrap 5.3.8 with plain JavaScript — no jQuery. Supports light and dark mode via data-bs-theme.