Receipt
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/card-receiptAbout this component
A payment terminal card. On hover its light blinks and a receipt prints out of the slot in steps() jerks like a thermal printer, line items, total and barcode, with a torn zigzag edge from a conic-gradient mask; leaving pulls it back in smoothly. Pure CSS.
Triggers
- Hover
- Focus
- Card
- Keyframe
Techniques
- CSS transition
- Keyframes
- Gradient
- Transform only
Difficulty
Beginner
Accessibility
Keyboard and screen readers
Focusable; keyboard focus prints the receipt like hover.
Reduced motion
The receipt appears without feeding and the light does not blink.
Use it in anything you build, commercial and client work included. Licence