Thermal receipt with a merchant header, itemized lines, a total row, and a jagged torn edge at the bottom.
Requires shadcn/ui initialized. Run npx shadcn@latest init if you haven't.
import { Receipt1 } from "@/components/beste/piece/receipt1";
<Receipt1
merchant="Packer's Coffee"
items={[
{
"label": "Latte",
"amount": "$4.50"
},
{
"label": "Croissant",
"amount": "$3.25"
},
{
"label": "Mineral water",
"amount": "$2.00"
}
]}
total="$9.75"
/>