Skip to content
WunderUI
All effectsForms

Tick Draw

The box fills, then the tick draws itself, so checking reads as a decision.

Pure CSSFormsPro

Meant for

CheckboxFieldPlan Step

Usage

On a Checkbox

Click it. The box takes the press, fills, and the tick draws itself along its own path. Drawing the tick instead of fading it in is what makes it read as a decision rather than as a repaint. A checkbox is clicked all day, so in a product this is a state transition on the Checkbox's own checked attribute — 150 ms to draw, 80 ms to clear — not a show. The Checkbox is the box (data-wm-box); its own check icon is the tick, 23 units long.

The class is wm wm-tick-draw — the first half is the marker the trigger and reduced-motion rules hook into, the second is the effect.