11 of 16 letters, home port Falmouth
Cash register
$12.50 · Enter to ring it up
Markup where the component goes, CSS in your stylesheet, script before </body>. In Vue, Svelte or Angular, call initFieldTill(el) on the mounted element instead.
Paste into Claude, ChatGPT or Cursor after filling in {{USER_STACK}}, {{USER_STYLING}} and {{USER_CONSTRAINTS}}. Neutral keeps the greys you see here; Match my project asks the model to map them onto your own colour tokens.
Install with shadcn
Needs a free account token. Get a token
npx shadcn@latest add @movin/input-tillAbout 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