Search the docs

Search Keyframery's docs

Keyframery

Input Group animation

The whole group shakes once when its input turns invalid after a submit.

with <Cuts />

What moves

WhenWhat you seeTimingHow
Its input turns invalid after a submitThe group shakes once240 msAutomatic
Its buttonsDip while pressed70 ms in, 150 ms outAutomatic

Install

Input Group is shadcn's own component. With <Cuts /> in your root layout (Quick start), there's nothing else to add:

npx shadcn add input-group

Turn it off

Put data-cut="none" on a input group (or anything around it) to keep shadcn's own motion there. <Cuts responses="none" /> turns off every response across the app and keeps the cuts. With reduced motion, movement becomes a short fade or nothing.

On this page