Pos Retail Payment Panel
Split payment dialog with cash, card and gift card that computes change in exact cents.
Choose the primitives library your project already uses. Both look the same: your theme, not the variant, controls colors, shape, type and motion.
About this block
What it's for
- Split payment dialog with cash, card and gift card that computes change in exact cents.
- Checkout payment panel with quick cash buttons and a gift card balance check.
Includes
- Cash card gift card tenders
- Split payment
- Exact cent change
- Quick cash amounts
- Gift card code lookup
- Gift card balance cap
- Declined card state
- Remove tender
Works with
- Radix UI and Base UI primitives (pick the one your project uses)
- React 19 and Tailwind CSS 4 in Next.js (App Router), Vite, React Router or TanStack Start, installed with the agentic-ui or shadcn CLI
- Your theme tokens, in light and dark mode
- 1 template or blueprint on this site use it (below)
Install
Included with Agentic UI Kit (one-time license). Install needs your license key: see pricing · connect your project.
Agentic UI CLI
agentic-ui add pos-retail-payment-panelInstalls through shadcn and adapts the component to your design tokens.
shadcn CLI
npx shadcn@4.17.0 add @agentic-ui/pos-retail-payment-panelUsed in
- Type
- Block
- Variants
- Radix UI and Base UI
- Themes
- Light and dark
- Widths
- Preview it at desktop, tablet and mobile widths above.
- Motion
- Animated, with a reduced-motion fallback
- Sample data
- Ships with sample data in
history.ts,settings.ts,history-sales.ts,products.ts,customers.ts,seed.ts; replace it with your own.
- npm packages
lucide-react- Registry dependencies
lib-primitives- Files
33 files
- components/agentic-ui/pos-retail-payment-panel/components/receipt-print.css
- components/agentic-ui/pos-retail-payment-panel/components/tender-dialog.tsx
- components/agentic-ui/pos-retail-payment-panel/lib/types.ts
- components/agentic-ui/pos-retail-payment-panel/lib/types-ops.ts
- components/agentic-ui/pos-retail-payment-panel/lib/tender.ts
- components/agentic-ui/pos-retail-payment-panel/lib/money.ts
- components/agentic-ui/pos-retail-payment-panel/lib/receipt.ts
- components/agentic-ui/pos-retail-payment-panel/lib/derived.ts
- components/agentic-ui/pos-retail-payment-panel/lib/shifts.ts
- components/agentic-ui/pos-retail-payment-panel/lib/sales.ts
- components/agentic-ui/pos-retail-payment-panel/lib/cart.ts
- components/agentic-ui/pos-retail-payment-panel/lib/returns.ts
- components/agentic-ui/pos-retail-payment-panel/lib/loyalty.ts
- components/agentic-ui/pos-retail-payment-panel/lib/dates.ts
- components/agentic-ui/pos-retail-payment-panel/data/history.ts
- components/agentic-ui/pos-retail-payment-panel/data/settings.ts
- components/agentic-ui/pos-retail-payment-panel/data/history-sales.ts
- components/agentic-ui/pos-retail-payment-panel/data/products.ts
- components/agentic-ui/pos-retail-payment-panel/lib/random.ts
- components/agentic-ui/pos-retail-payment-panel/lib/catalog.ts
- components/agentic-ui/pos-retail-payment-panel/lib/barcode.ts
- components/agentic-ui/pos-retail-payment-panel/data/customers.ts
- components/agentic-ui/pos-retail-payment-panel/components/common.tsx
- components/agentic-ui/pos-retail-payment-panel/components/tender-forms.tsx
- components/agentic-ui/pos-retail-payment-panel/lib/store.ts
- components/agentic-ui/pos-retail-payment-panel/lib/reducer.ts
- components/agentic-ui/pos-retail-payment-panel/lib/reduce-stock.ts
- components/agentic-ui/pos-retail-payment-panel/lib/inventory.ts
- components/agentic-ui/pos-retail-payment-panel/lib/reduce-shift.ts
- components/agentic-ui/pos-retail-payment-panel/lib/reduce-sale.ts
- components/agentic-ui/pos-retail-payment-panel/lib/reduce-cart.ts
- components/agentic-ui/pos-retail-payment-panel/lib/reduce-admin.ts
- components/agentic-ui/pos-retail-payment-panel/data/seed.ts
Related components
Pos Retail Receipt
Retail receipt preview that can be printed or emailed from the register.
Details and live previewA11y Contrast Badge
Check in the browser whether the theme palette meets AA before opening the PR.
Details and live previewA11y Focus Manager
Confirmation dialog that returns focus to the button that opened it.
Details and live previewA11y Live Announcer
Announce the number of results when filtering a table without reloading the page.
Details and live preview