∞ forever components

Feedback & States

Crisp Error Shake

Crisp email validation row that shakes tightly in 260ms (--fc-ease-sharp), switches to a carmine border, and reveals an aria-live error message (--fc-ease-out). Clean modern register.

csslight complexitysubtle motionclickmobile-readyaccessible

Open on the canvas to copy the code → Free account · 3 copies a day · membership goes unlimited

Live demo — the real component, running in a sandbox. One self-contained HTML file, zero dependencies. Open it on the canvas →
1

When to use it

Form validation rejection states on login, signup, and billing fields.

When not to

High-frequency live typing validation (wait for blur or submit).

Working with an AI agent

Every component ships agent-ready metadata. An example instruction for this one:

Edit --msc5-acc for danger colour and msg.textContent for your error copy. Under reduced motion, shake is disabled and the border + aria-live message appear immediately.

Safe to edit

  • theme tokens (:root + :root[data-theme=light])
  • validation message copy
  • shake keyframe offset (4px)

Keep intact

  • IIFE wrapper
  • :root --fc-* motion spine block
  • aria-live polite
  • prefers-reduced-motion no-shake fallback
  • visibilitychange guard
  • demo-v1 lifecycle

Known limitations

  • Rests ready until Check is clicked or host demoEnabled=true.

formerrorshakevalidationcrispmotion-spine

More Feedback & States components

  • Success CheckMint-green ring sweeps closed and a checkmark draws in with a springy pop and expanding halo; initial replay stops after first input; click or Space runs…
  • Error ShakeDark email input shakes horizontally with decaying-sine, border flushes red, X icon pops in with overshoot spring, validation message slides up.
  • Toast StackCompact notification toasts with one clear structure: status icon (check, x, exclamation, info), a short title, one muted detail line, a text action and a…
  • Hold to ConfirmPress-and-hold fills a tick-marked ring; a full hold rotates the center square 45° into a verdigris check, and an early release flashes a coral cross…
  • Empty StateA Bauhaus open vessel sits empty while 26 jade motes drift in a slow orbital cloud above it; poking scatters them and they spring back to settle.
  • Like BurstRose-and-verdigris enamel palette: a heart spring-pops with 96 dots and ring shards. First input stops the demo; later input toggles the liked state.