Wobble

No dependencies
Code format

Install with shadcn

Needs a free account token. Get a token

npx shadcn@latest add @movin/input-wobble

About this component

On focus the input jiggles with a CSS keyframe combining rotation and translateX zigzag over 400ms then settles. Playful tactile feedback.

Triggers

  • Focus

Techniques

  • Keyframes
  • Transform only

Difficulty

Beginner

Moves on

Its code uses this curve. Open one to see it plotted and tune it.

Accessibility

Reduced motion

Wobble animation is skipped entirely under prefers-reduced-motion.

Use it in anything you build, commercial and client work included. Licence

More inputs

See all

5 of 8 · it heats while you type, Enter brands it

Branding ironGet code

7 of 14 · Enter boxes it

Candy heartGet code

5 of 20 · sets in 8 s · Enter pours a new slab

Wet cementGet code

27 of 44 · the first letter is illuminated

Drop capGet code