StealThis .dev

Dental — Cost Estimator

A trust-first dental treatment cost estimator where patients tick the procedures they need from priced cards, drag an insurance coverage slider, and watch a live summary tally the subtotal, insurance contribution, and out-of-pocket balance with smooth count-up animations and clear savings badges.

Open in Lab
html css vanilla-js
Targets: JS HTML

Code

The Dental Cost Estimator is a clean, clinical two-column tool that helps patients understand what a treatment plan might cost before they ever sit in the chair. On the left, procedures are grouped into cards — Preventive, Restorative, and Cosmetic — each row a large tappable checkbox with a plain-language name, a short note, and a transparent price. Ticking a row lifts it with a soft accent wash and adds its price to the running plan.

On the right, a sticky summary panel does the math in real time. An insurance coverage slider (0–100%) glides between “Paying out of pocket” and “Fully covered,” recoloring a progress track as it moves. Every change animates the subtotal, the estimated insurance contribution, and the final out-of-pocket figure with a quick count-up, while a savings badge highlights how much insurance is trimming from the bill. Buttons let patients reset the plan or copy a shareable summary, and a toast confirms the action.

Everything is keyboard-navigable with visible focus rings, the layout collapses to a single column under 520px with the summary dropping below the list, and all figures use realistic but fictional pricing so the piece feels believable without pretending to be a real quote.

Illustrative UI only — not intended for real medical use.