Cash register

$12.50 · Enter to ring it up

No dependencies
Code format

Install with shadcn

Needs a free account token. Get a token

npx shadcn@latest add @movin/input-till

About this component

An amount rung up on an old till: digits come in from the cents like a real register, each column's flag drops and a new one pops up in the window, and Enter rings the bell, turns the crank and springs the drawer.

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

Triggers3

  • State change
  • Click
  • Spring

Techniques4

  • Keyframes
  • Gradient
  • State machine
  • CSS transition

Accessibility

Keyboard and screen readers

One native input named "Amount in dollars" with a numeric keypad; the machine is aria-hidden and the amount, the ring-up and any refusal are 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

11 of 16 letters, home port Falmouth

Boat nameGet code
BalloonsGet code
BeadsGet code

No photo yet · JPG, PNG or WebP

FlatbedGet code