StealThis .dev
Pages Medium

Insurance — Policy Detail

A single insurance policy detail page showing policy header, insured items, a coverage breakdown table with limits and deductibles, premium and payment schedule, downloadable documents, plus renew and cancel actions with a confirmation dialog.

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

Code

A reassuring, trust-forward policy detail page for an insurance customer portal. The header shows the policy number, type, status badge and term dates, followed by the people and items covered, a clear coverage breakdown table with limits and deductibles, the premium and upcoming payment schedule, and a documents list.

Built with calm blues and a trust-green accent, big confident numbers, and rounded cards. The renew and cancel actions are wired with vanilla JS: renewing toggles the policy into a confirmed state and the cancel button opens an accessible confirmation dialog before any change is applied.

Everything is plain HTML, CSS custom properties and dependency-free JavaScript, with focus styles, labelled controls, and a mobile breakpoint so it adapts down to small screens.

Illustrative UI only — not for real insurance use.