The Receipt

Receipt-style pricing section with paper aesthetics.

Main Features of The Receipt

How to Use The Receipt in Next.js

Installation Guide for The Receipt

Props

Customize the component with these props

PropertyTypeDefaultDescription
storeName
stringSaaS MarketStore name text.
storeAddress
string1234 Cloud Ave, Internet CityStore address text.
items
Array<{name: string, price: number}>[]Array of pricing items with name and price.
features
string[][]Array of feature strings to display.
backgroundColor
string#e0e0e0Background color (hex, rgb, or hsl).
receiptBgColor
string#ffffffReceipt background color.
receiptShadowColor
stringrgba(0,0,0,0.25)Receipt shadow color.
iconColor
string#404040Icon color.
titleColor
string#171717Title text color.
addressColor
string#171717Address text color.
dividerColor
string#d4d4d4Divider color.
itemNameColor
string#171717Item name text color.
itemPriceColor
string#171717Item price text color.
featureTextColor
string#737373Feature text color.
featureBorderColor
string#d4d4d4Feature border color.
buttonBorderColor
string#000000Button border color.
buttonTextColor
string#000000Button text color.
totalLabelColor
string#171717Total label text color.
totalPriceColor
string#171717Total price text color.
footerText
stringTHANK YOU FOR YOUR BUSINESSFooter text.
footerTextColor
string#171717Footer text color.
patternColor
string#000000Pattern color.
buttonText
stringAdd to CartButton text.

When to Use

Excellent for e-commerce checkouts, vintage-style boutiques, and Next.js sites that want a 'physical' paper aesthetic. Use this React component for a pricing section that looks like a printed grocery or retail receipt.

Best Practices

Maintain consistent spacing within your design system by using it on neutral, textured backgrounds. Follow React best practices by using monospaced or typewriter-style fonts. Optimize for performance by using simple CSS shadows for the paper depth.

Why This Component Matters in Modern UI Development

Receipt aesthetics provide a unique, skeuomorphic connection to real-world transactions. This production-ready UI component helpsคุณ build an interface that feels tactile and transparent, adding a layer of storytelling to the purchase process.

Frequently Asked Questions

QIs the paper edge torn?

Yes, the component uses a decorative SVG mask to create the signature 'zig-zag' torn edge at the top and bottom of the receipt.

QCan I change the store details?

The `storeName` and `storeAddress` props allow you to fully customize the branding at the top of the receipt.

QDoes it support long item lists?

The receipt scales vertically based on the number of items in the `items` array, maintaining its paper-strip aesthetic regardless of length.

The Receipt - React Pricing Table & Plan Card | Uilora