DEV Community

UI Motion AI
UI Motion AI

Posted on

Tooth Chart: the small motion details that make it feel right

Thirty-two teeth, four quadrants, one tap each.

A dental chart laid out as upper and lower quadrant rows, where tapping a tooth opens procedure chips and logs the choice.

demo

The trick

Quadrants are built from a numbering rule and mirrored for the right side, so tooth ids match dental notation.

Log lines fade up with a 6px offset, so the newest entry is the one that moves.

@keyframes in{from{opacity:0;transform:translateY(6px)}to{opacity:1;transform:none}}
function btn(id){return document.querySelector('.t[data-id="'+id+'"]')}
Enter fullscreen mode Exit fullscreen mode

Where I'd use it

Dental and clinical charting

Every tooth is at least 44px high. Dentists wear gloves and tap with a knuckle, which I did not appreciate until I tried it.

The prompt for this one is free: uimotion.app.

Top comments (0)