Insurance — Claim Status Tracker
A reassuring claim status tracker with a header summarizing claim number, type, filed date and amount, a five-step horizontal progress stepper, a dated activity timeline you can expand, and an assigned adjuster contact card with call and message actions.
MCP
Code
:root {
--blue: #2563eb;
--blue-d: #1d4ed8;
--blue-50: #eef4ff;
--green: #15a06b;
--green-50: #e7f7ef;
--ink: #0f1a2b;
--muted: #5a6b82;
--bg: #f3f7fc;
--white: #ffffff;
--line: #e2eaf4;
--radius: 16px;
--radius-sm: 10px;
--shadow: 0 1px 2px rgba(15, 26, 43, .04), 0 12px 32px rgba(37, 99, 235, .07);
--font: 'Inter', system-ui, -apple-system, sans-serif;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
body {
font-family: var(--font);
background: var(--bg);
color: var(--ink);
line-height: 1.5;
-webkit-font-smoothing: antialiased;
padding: 32px 16px;
display: flex;
justify-content: center;
}
.claim {
width: 100%;
max-width: 760px;
}
/* Header */
.claim__head {
background: var(--white);
border: 1px solid var(--line);
border-radius: var(--radius);
box-shadow: var(--shadow);
padding: 24px;
margin-bottom: 18px;
}
.claim__head-top {
display: flex;
justify-content: space-between;
gap: 20px;
flex-wrap: wrap;
padding-bottom: 22px;
border-bottom: 1px solid var(--line);
}
.claim__eyebrow {
font-size: 12px;
font-weight: 600;
text-transform: uppercase;
letter-spacing: .06em;
color: var(--blue);
margin-bottom: 4px;
}
.claim__title {
font-size: 21px;
font-weight: 800;
letter-spacing: -.01em;
}
.claim__meta {
display: flex;
align-items: center;
gap: 8px;
font-size: 13.5px;
color: var(--muted);
margin-top: 6px;
}
.claim__type {
background: var(--blue-50);
color: var(--blue-d);
font-weight: 600;
padding: 2px 9px;
border-radius: 999px;
font-size: 12.5px;
}
.claim__dot { color: var(--line); }
.claim__amount {
display: flex;
flex-direction: column;
align-items: flex-end;
gap: 5px;
text-align: right;
}
.claim__amount-label {
font-size: 12px;
color: var(--muted);
font-weight: 500;
}
.claim__amount-value {
font-size: 30px;
font-weight: 800;
letter-spacing: -.02em;
color: var(--ink);
}
/* Badges */
.badge {
display: inline-block;
font-size: 12px;
font-weight: 600;
padding: 3px 11px;
border-radius: 999px;
line-height: 1.4;
}
.badge--green { background: var(--green-50); color: var(--green); }
.badge--soft { background: var(--blue-50); color: var(--blue-d); }
/* Stepper */
.stepper {
list-style: none;
display: flex;
margin-top: 24px;
}
.step {
flex: 1;
position: relative;
display: flex;
flex-direction: column;
align-items: center;
text-align: center;
padding-top: 6px;
}
.step::before {
content: "";
position: absolute;
top: 20px;
left: -50%;
width: 100%;
height: 3px;
background: var(--line);
z-index: 0;
}
.step:first-child::before { display: none; }
.step.is-done::before,
.step.is-current::before { background: var(--green); }
.step__marker {
position: relative;
z-index: 1;
width: 30px;
height: 30px;
border-radius: 50%;
display: grid;
place-items: center;
background: var(--white);
border: 3px solid var(--line);
color: var(--muted);
font-size: 13px;
font-weight: 700;
transition: transform .2s ease;
}
.step.is-done .step__marker {
background: var(--green);
border-color: var(--green);
color: var(--white);
}
.step.is-current .step__marker {
border-color: var(--blue);
color: var(--blue-d);
box-shadow: 0 0 0 4px var(--blue-50);
}
.step:hover .step__marker { transform: scale(1.08); }
.step__label {
font-size: 12.5px;
font-weight: 600;
color: var(--muted);
margin-top: 9px;
}
.step.is-done .step__label,
.step.is-current .step__label { color: var(--ink); }
.step__date {
font-size: 11px;
color: var(--muted);
margin-top: 2px;
}
/* Grid */
.claim__grid {
display: grid;
grid-template-columns: 1.5fr 1fr;
gap: 18px;
}
.card {
background: var(--white);
border: 1px solid var(--line);
border-radius: var(--radius);
box-shadow: var(--shadow);
padding: 22px;
}
.card__title {
font-size: 15px;
font-weight: 700;
margin-bottom: 16px;
}
/* Timeline */
.timeline { list-style: none; }
.event {
position: relative;
display: flex;
gap: 14px;
padding-bottom: 18px;
}
.event::before {
content: "";
position: absolute;
left: 5px;
top: 16px;
bottom: -2px;
width: 2px;
background: var(--line);
}
.event:last-child { padding-bottom: 0; }
.event:last-child::before { display: none; }
.event--hidden { display: none; }
.event__dot {
flex: none;
width: 12px;
height: 12px;
border-radius: 50%;
background: var(--white);
border: 2px solid var(--blue);
margin-top: 4px;
}
.event--accent .event__dot { background: var(--green); border-color: var(--green); }
.event__head {
display: flex;
justify-content: space-between;
gap: 10px;
font-size: 13.5px;
flex-wrap: wrap;
}
.event__head time { color: var(--muted); font-size: 12px; font-weight: 500; }
.event__head strong { font-weight: 600; }
.event__text {
font-size: 12.5px;
color: var(--muted);
margin-top: 2px;
}
.link-btn {
margin-top: 14px;
background: none;
border: none;
color: var(--blue-d);
font: inherit;
font-size: 13px;
font-weight: 600;
cursor: pointer;
padding: 4px 0;
border-radius: 6px;
}
.link-btn:hover { text-decoration: underline; }
.link-btn:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; }
/* Adjuster card */
.card--adjuster { align-self: start; }
.adjuster {
display: flex;
align-items: center;
gap: 12px;
padding-bottom: 16px;
border-bottom: 1px solid var(--line);
}
.adjuster__avatar {
width: 46px;
height: 46px;
border-radius: 50%;
background: linear-gradient(135deg, var(--blue), var(--blue-d));
color: var(--white);
display: grid;
place-items: center;
font-weight: 700;
font-size: 15px;
flex: none;
}
.adjuster__name { font-weight: 700; font-size: 14.5px; }
.adjuster__role { font-size: 12.5px; color: var(--muted); }
.adjuster__facts {
margin: 16px 0;
display: grid;
gap: 12px;
}
.adjuster__facts div {
display: flex;
justify-content: space-between;
align-items: center;
gap: 10px;
}
.adjuster__facts dt { font-size: 12.5px; color: var(--muted); }
.adjuster__facts dd { font-size: 13px; font-weight: 600; text-align: right; }
.adjuster__actions {
display: grid;
gap: 9px;
}
.btn {
font: inherit;
font-size: 13.5px;
font-weight: 600;
padding: 11px 14px;
border-radius: var(--radius-sm);
border: 1px solid transparent;
cursor: pointer;
transition: background .15s ease, transform .12s ease, border-color .15s ease;
}
.btn:active { transform: translateY(1px); }
.btn:focus-visible { outline: 2px solid var(--blue); outline-offset: 2px; }
.btn--primary { background: var(--blue); color: var(--white); }
.btn--primary:hover { background: var(--blue-d); }
.btn--ghost { background: var(--white); color: var(--blue-d); border-color: var(--line); }
.btn--ghost:hover { border-color: var(--blue); background: var(--blue-50); }
.adjuster__note {
font-size: 12.5px;
color: var(--green);
font-weight: 600;
margin-top: 10px;
min-height: 16px;
}
/* Responsive */
@media (max-width: 520px) {
body { padding: 18px 12px; }
.claim__grid { grid-template-columns: 1fr; }
.claim__head-top { flex-direction: column; }
.claim__amount { align-items: flex-start; text-align: left; }
.claim__amount-value { font-size: 26px; }
.stepper { overflow-x: auto; gap: 4px; padding-bottom: 6px; }
.step { min-width: 78px; }
.step__label { font-size: 11.5px; }
}// Insurance Claim Status Tracker — vanilla JS, no libraries.
(function () {
'use strict';
// --- Activity timeline: show / hide earlier events ---
var toggle = document.getElementById('toggle-activity');
var extras = Array.prototype.slice.call(
document.querySelectorAll('#timeline [data-extra]')
);
if (toggle && extras.length) {
toggle.addEventListener('click', function () {
var expanded = toggle.getAttribute('aria-expanded') === 'true';
var next = !expanded;
extras.forEach(function (el) {
el.classList.toggle('event--hidden', expanded);
});
toggle.setAttribute('aria-expanded', String(next));
toggle.textContent = next
? 'Hide earlier activity'
: 'Show earlier activity';
});
}
// --- Adjuster contact actions ---
var note = document.getElementById('adjuster-note');
var noteTimer;
function flash(message) {
if (!note) return;
note.textContent = message;
window.clearTimeout(noteTimer);
noteTimer = window.setTimeout(function () {
note.textContent = '';
}, 3200);
}
document.querySelectorAll('[data-action]').forEach(function (btn) {
btn.addEventListener('click', function () {
var action = btn.getAttribute('data-action');
if (action === 'call') {
flash('Connecting you to Priya Nadkarni at (415) 555-0182…');
} else if (action === 'message') {
flash('Message thread opened — typical reply within 2 hours.');
}
});
});
})();<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Claim Status Tracker</title>
<link rel="preconnect" href="https://fonts.googleapis.com" />
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin />
<link href="https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap" rel="stylesheet" />
<link rel="stylesheet" href="style.css" />
</head>
<body>
<main class="claim" aria-labelledby="claim-title">
<!-- Header -->
<header class="claim__head">
<div class="claim__head-top">
<div>
<p class="claim__eyebrow">Auto claim</p>
<h1 class="claim__title" id="claim-title">Claim #CLM-2026-048172</h1>
<p class="claim__meta">
<span class="claim__type">Collision</span>
<span class="claim__dot" aria-hidden="true">•</span>
<span>Filed Jun 12, 2026</span>
</p>
</div>
<div class="claim__amount">
<span class="claim__amount-label">Estimated payout</span>
<span class="claim__amount-value">$4,820.00</span>
<span class="badge badge--green" id="claim-status">Approved</span>
</div>
</div>
<!-- Stepper -->
<ol class="stepper" aria-label="Claim progress">
<li class="step is-done">
<span class="step__marker" aria-hidden="true">✓</span>
<span class="step__label">Submitted</span>
<span class="step__date">Jun 12</span>
</li>
<li class="step is-done">
<span class="step__marker" aria-hidden="true">✓</span>
<span class="step__label">Under review</span>
<span class="step__date">Jun 13</span>
</li>
<li class="step is-done">
<span class="step__marker" aria-hidden="true">✓</span>
<span class="step__label">Adjuster assigned</span>
<span class="step__date">Jun 15</span>
</li>
<li class="step is-current" aria-current="step">
<span class="step__marker" aria-hidden="true">4</span>
<span class="step__label">Approved</span>
<span class="step__date">Jun 20</span>
</li>
<li class="step">
<span class="step__marker" aria-hidden="true">5</span>
<span class="step__label">Paid</span>
<span class="step__date">Est. Jun 24</span>
</li>
</ol>
</header>
<!-- Body grid -->
<div class="claim__grid">
<!-- Timeline -->
<section class="card" aria-labelledby="activity-title">
<h2 class="card__title" id="activity-title">Activity timeline</h2>
<ul class="timeline" id="timeline">
<li class="event event--accent">
<span class="event__dot" aria-hidden="true"></span>
<div class="event__body">
<p class="event__head"><strong>Payment scheduled</strong><time>Jun 20, 4:12 PM</time></p>
<p class="event__text">Direct deposit of $4,820.00 to account ending 4471 scheduled for Jun 24.</p>
</div>
</li>
<li class="event">
<span class="event__dot" aria-hidden="true"></span>
<div class="event__body">
<p class="event__head"><strong>Claim approved</strong><time>Jun 20, 9:38 AM</time></p>
<p class="event__text">Adjuster Priya Nadkarni approved repair estimate from Westside Auto Body.</p>
</div>
</li>
<li class="event">
<span class="event__dot" aria-hidden="true"></span>
<div class="event__body">
<p class="event__head"><strong>Estimate received</strong><time>Jun 18, 2:05 PM</time></p>
<p class="event__text">Repair estimate of $4,820.00 uploaded and matched to policy coverage.</p>
</div>
</li>
<li class="event event--hidden" data-extra>
<span class="event__dot" aria-hidden="true"></span>
<div class="event__body">
<p class="event__head"><strong>Adjuster assigned</strong><time>Jun 15, 11:20 AM</time></p>
<p class="event__text">Priya Nadkarni assigned to your claim and reached out by email.</p>
</div>
</li>
<li class="event event--hidden" data-extra>
<span class="event__dot" aria-hidden="true"></span>
<div class="event__body">
<p class="event__head"><strong>Documents requested</strong><time>Jun 13, 10:02 AM</time></p>
<p class="event__text">Requested police report and 3 photos of vehicle damage. Received same day.</p>
</div>
</li>
<li class="event event--hidden" data-extra>
<span class="event__dot" aria-hidden="true"></span>
<div class="event__body">
<p class="event__head"><strong>Claim submitted</strong><time>Jun 12, 8:47 AM</time></p>
<p class="event__text">You filed a collision claim for a rear-end incident on Hwy 41.</p>
</div>
</li>
</ul>
<button class="link-btn" id="toggle-activity" type="button" aria-expanded="false">
Show earlier activity
</button>
</section>
<!-- Adjuster card -->
<aside class="card card--adjuster" aria-labelledby="adjuster-title">
<h2 class="card__title" id="adjuster-title">Your adjuster</h2>
<div class="adjuster">
<span class="adjuster__avatar" aria-hidden="true">PN</span>
<div>
<p class="adjuster__name">Priya Nadkarni</p>
<p class="adjuster__role">Senior Claims Adjuster</p>
</div>
</div>
<dl class="adjuster__facts">
<div>
<dt>Direct line</dt>
<dd>(415) 555-0182</dd>
</div>
<div>
<dt>Typical reply</dt>
<dd><span class="badge badge--soft">Within 2 hrs</span></dd>
</div>
<div>
<dt>Claim ref</dt>
<dd>CLM-2026-048172</dd>
</div>
</dl>
<div class="adjuster__actions">
<button class="btn btn--primary" type="button" data-action="call">Call adjuster</button>
<button class="btn btn--ghost" type="button" data-action="message">Send message</button>
</div>
<p class="adjuster__note" id="adjuster-note" role="status" aria-live="polite"></p>
</aside>
</div>
</main>
<script src="script.js"></script>
</body>
</html>Claim Status Tracker
A calm, trust-forward panel that lets a policyholder follow a claim end to end. The header leads with the claim number, a type badge, the filed date and a big confident claim amount. Below it a horizontal stepper walks Submitted → Under review → Adjuster assigned → Approved → Paid, with completed steps marked, the current step highlighted, and upcoming steps dimmed.
An activity timeline lists every dated event — submission, document requests, the adjuster assignment, approval and disbursement — and a “Show earlier activity” toggle keeps the default view compact. An assigned-adjuster card rounds it out with a name, role, response time and call / message buttons.
Everything is vanilla HTML, CSS and JavaScript: the stepper progress, the timeline toggle and the contact actions are all driven by a small no-dependency script.
Illustrative UI only — not for real insurance use.