Alphabet soup

4 of 10 letters, fished out of the soup

No dependencies
Code format

Install with shadcn

Needs a free account token. Get a token

npx shadcn@latest add @movin/input-soup

About this component

A name spelled in alphabet soup: the letters you need swim out of the broth and line up across the bowl, a letter that is not there drops in with a ripple, and deleting lets it drift away.

Dependencies
None
Difficulty
Advanced
Reduced motion
Respected
Theme
Light and dark
Follows page color-scheme

Triggers3

  • State change
  • Continuous
  • Spring

Techniques3

  • requestAnimationFrame
  • Spring
  • State machine

Accessibility

Keyboard and screen readers

One native input named "Name"; the bowl is aria-hidden and the count, or the reason for a refusal, is announced.

Reduced motion

Everything changes at once, without the motion.

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

More inputs

See all

13 words · about 5 seconds read aloud

TeleprompterGet code

$12.50 · Enter to ring it up

Cash registerGet code

11 of 16 letters, home port Falmouth

Boat nameGet code
BalloonsGet code