Keypad phone

No dependencies
Code format

Install with shadcn

Needs a free account token. Get a token

npx shadcn@latest add @movin/input-multitap

About this component

A text message on a keypad phone: every letter presses its key the right number of times, the screen cycles through the letters on that key before it settles, and the counter runs down from 160.

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

Triggers3

  • State change
  • Click
  • Keyframe

Techniques3

  • State machine
  • Interval
  • Keyframes

Accessibility

Keyboard and screen readers

One native input named "Text message"; the phone and the guide are aria-hidden, and the characters left are given as its description.

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

6 of 12 letters, cut in one piece

Name necklaceGet code
Nixie alarmGet code
Date blocksGet code
Pin artGet code