Wink Pings

While others build receipt components, he built a printer that can tear paper

A Receipt Printer component that brings the physical details of a thermal printer into the browser: line-by-line paper output, drag-to-tear paper, barcode scanning, and synthesized print sounds. The demo receipt also turns the entire component library into an order.

Yash Vishnoi said in a tweet that he had seen many people make receipt components, so he tried it too. What he built is called Receipt Printer, a web-based thermal receipt printer.

This is a new interaction component in the Amines UI library. The page shows a thermal printer with a live status screen. Click Print and the receipt comes out of the paper slot line by line; press and drag the paper downward and you can tear it off along the perforated edge. The barcode can be scanned, the printing sound is synthesized, and it also supports looping automatic printing.

There is a high density of detail.

The demo receipt itself is an easter egg: the header is AMINES UI, order number 0042, customer: you, plan: pro lifetime, and registry points to ui.amines.fun. The item list consists of three component names—receipt-printer, logo-rain, ice-button. The installation method is listed as npx shadcn add, and the last column is status: shipped. The entire component library has been turned into an order, and even “thank you for your patronage” is printed on it.

Amines UI is a React/Next.js/Tailwind/Motion component library maintained by Yash Vishnoi, a set of UI pieces for frontend developers to reuse, with a consistent style leaning toward motion effects: buttons have lightning, water-splash, and frost effects, cards wobble like jelly, and text can be rendered with pixels and ink. Receipt Printer is under the Interactions category, and the page is marked Pro. The core of this category is interactive play, and every component encourages people to click, drag, and tear.

The interesting part is that after years of talk about going paperless, an electronic receipt has become a novelty. The act of tearing paper is the memorable hook of the whole component. Most similar implementations stop at static styling; this version puts paper output, paper tearing, code scanning, and sound effects all together, and each step can also be interrupted and restarted.

Its uses are direct too: order confirmation pages, check-in vouchers, redemption code displays. Turning a boring results page into something users want to play with a couple more times costs little and has an obvious effect.

Online preview and demo: ui.amines.fun/intractions/receipt-printer

发布时间: 2026-11-30 03:36