Skip to content
WunderUI
All effectsForms

Shudder

The field shakes and settles to signal an error, without feeling aggressive.

Pure CSSFormsPro

Meant for

FieldOTP FieldForm

Usage

On a Input

The amplitude decays instead of stopping flat. That decay is what separates a reaction from a loop — it plays once (400 ms, sideways only) — give the field a new key when validation fails again and it shudders once per failure.

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