LCD
Markup where the component goes, CSS in your stylesheet. No JavaScript.
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-lcdAbout this component
An amount field on a pocket-calculator display, grey-green and unlit, with ghost segments behind the figures and a bar cursor at the right where the digits enter. Focus switches the backlight on and the glass turns bright mint.
Triggers
- Focus
- State change
- Glow
Techniques
- CSS transition
- Keyframes
- Gradient
Difficulty
Beginner
Accessibility
Keyboard and screen readers
A native text input with a decimal keypad (9 characters at most) inside a <label>, named by aria-label ("Amount in dollars"); ghost segments and drawn cursor are aria-hidden.
Reduced motion
Every transition and animation is switched off.
Use it in anything you build, commercial and client work included. Licence