StealThis .dev

Dental — Tooth Chart

A calm, clinical odontogram for charting a full adult dentition. Click any of the 32 numbered teeth in the SVG arch to select it, then flag its condition — healthy, filling, crown, or missing — each rendered in a distinct color. A live legend tallies every state, a per-tooth notes panel captures clinical remarks, and reassuring toasts confirm each change with soft, trust-first motion.

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

Code

The tooth chart presents a full adult dental arch as a single SVG odontogram, with the upper and lower jaws laid out in two rows of sixteen teeth. Each tooth is numbered in the universal 1–32 scheme and rendered as a rounded, tactile shape that lifts on hover and shows a clear focus ring for keyboard users. Selecting a tooth highlights it and opens a condition panel where you can mark it healthy, filling, crown, or missing — every state maps to a calm, accessible color that fills the tooth instantly.

A legend along the side keeps a running count of each condition across the whole mouth, so the overall picture updates the moment you make a change. A notes panel tied to the currently selected tooth lets you jot a short clinical remark, which is remembered per tooth as you move around the arch. Buttons, toasts, and transitions are deliberately soft and reassuring, matching a light clinical aesthetic with lots of white space, rounded corners, and gentle micro-interactions.

Everything is keyboard reachable: teeth are focusable buttons you can trigger with Enter or Space, arrow-free tabbing walks the arch in order, and each action emits an aria-live toast so assistive tech stays in sync. The layout collapses gracefully to a single readable column on narrow screens.

Illustrative UI only — not intended for real medical use.