StealThis .dev

Clinic — Secure Chat with Doctor

A secure patient-doctor chat: an encrypted header with the doctor's avatar and online status, message bubbles with timestamps and delivery ticks, quick-reply chips, an attachment button, and a typing indicator with a simulated doctor reply.

Buka di Lab
html css vanilla-js
Targets: JS HTML

Code

Secure Chat with Doctor

A calm, clinical-white messaging thread between a patient and their doctor. The header carries the doctor’s avatar, name and specialty, an online indicator, and a 🔒 end-to-end encrypted badge. The scrollable thread opens on a short seeded conversation under a “Today” divider: doctor messages sit left in soft grey, patient messages right in teal with timestamps and a delivery tick. Quick-reply chips above the composer send common phrases in one tap, the attachment button toasts, and sending a message clears the input, scrolls to the bottom, shows a typing indicator, then drops in a simulated doctor reply. All interactions are vanilla JS.

Illustrative UI only — not intended for real medical use.