Loading preview
Notification Stack
Data displayPhone-style stacked notifications with frosted glass that fan out into a list on hover or click.
A receipt that prints out of a slot line by line, with itemized totals and a torn zig-zag edge.
npx shadcn@latest add @venusui/receipt-printerRun this in a project set up with shadcn. If you haven’t set it up yet, run npx shadcn@latest init first.
Paths use the default shadcn aliases. The CLI follows the aliases in your components.json.
@/components/ui/receipt-printer.tsxThe code behind the preview above.
receipt-printer-demo.tsx
import { ReceiptPrinter } from "@/components/ui/receipt-printer"
// The café is made up.
export default function ReceiptPrinterDemo() {
return (
<ReceiptPrinter
store="Little Fern Café"
address="12 Harbour Street, Lisbon"
date="16 Nov 2026, 09:41"
orderId="#0482"
currency="EUR"
locale="en-IE"
taxRate={0.13}
paidWith="Visa •• 4821"
items={[
{ name: "Flat white", quantity: 2, price: 3.4 },
{ name: "Pastel de nata", quantity: 3, price: 1.6 },
{ name: "Avocado toast", quantity: 1, price: 8.5 },
{ name: "Orange juice", quantity: 1, price: 3.9 },
]}
/>
)
}
| Prop | Type | Default | Description |
|---|---|---|---|
| store, address | string | — | Printed at the top. |
| items | { name: string; quantity: number; price: number }[] | — | Line items; totals are calculated from them. |
| taxRate | number | 0 | e.g. 0.2 for 20%, added on top. |
| currency, locale | string | "USD", "en-US" | Formats prices with Intl.NumberFormat. |
| paidWith, orderId, date | string | — | Printed details. |
All <div> props.
lucide-react for the replay icon. React 19 and Tailwind CSS v4.0.12 (seconds per line) in the paper's transition.Unknown registry "@venusui"npx shadcn@latest), install by URL, or register it with its address: npx shadcn@latest registry add @venusui=https://venusui.com/r/{name}.json.No components.json foundnpx shadcn@latest init in your project first.Phone-style stacked notifications with frosted glass that fan out into a list on hover or click.
A terminal window that types commands and prints their output when it scrolls into view.
A weather widget with a live sky: turning sun rays, drifting clouds, falling rain or snow, and twinkling stars.