Pos Retail Customers
Customer loyalty list for a retail chain with tiers, points and spend.
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 page
What it's for
- Customer loyalty list for a retail chain with tiers, points and spend.
- Customer detail with points history, tier progress, rewards and a button to start a sale.
Includes
- Member list with tiers
- Tier chips with counts
- Points balance and lifetime
- Customer detail sheet
- Inline editable contact
- Tier progress
- Reward redemption for store credit
- Recent purchases
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-customersInstalls through shadcn and adapts the component to your design tokens.
shadcn CLI
npx shadcn@4.17.0 add @agentic-ui/pos-retail-customersUsed in
- Type
- Page
- 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
commerce-loyalty-pointsdata-description-listlib-primitivesutil-export-menu- Files
35 files
- components/agentic-ui/pos-retail-customers/components/receipt-print.css
- components/agentic-ui/pos-retail-customers/screens/customers.tsx
- components/agentic-ui/pos-retail-customers/lib/store.ts
- components/agentic-ui/pos-retail-customers/lib/types.ts
- components/agentic-ui/pos-retail-customers/lib/types-ops.ts
- components/agentic-ui/pos-retail-customers/lib/reducer.ts
- components/agentic-ui/pos-retail-customers/lib/reduce-stock.ts
- components/agentic-ui/pos-retail-customers/lib/money.ts
- components/agentic-ui/pos-retail-customers/lib/inventory.ts
- components/agentic-ui/pos-retail-customers/lib/derived.ts
- components/agentic-ui/pos-retail-customers/lib/shifts.ts
- components/agentic-ui/pos-retail-customers/lib/sales.ts
- components/agentic-ui/pos-retail-customers/lib/tender.ts
- components/agentic-ui/pos-retail-customers/lib/cart.ts
- components/agentic-ui/pos-retail-customers/lib/returns.ts
- components/agentic-ui/pos-retail-customers/lib/loyalty.ts
- components/agentic-ui/pos-retail-customers/lib/dates.ts
- components/agentic-ui/pos-retail-customers/data/history.ts
- components/agentic-ui/pos-retail-customers/data/settings.ts
- components/agentic-ui/pos-retail-customers/data/history-sales.ts
- components/agentic-ui/pos-retail-customers/data/products.ts
- components/agentic-ui/pos-retail-customers/lib/random.ts
- components/agentic-ui/pos-retail-customers/lib/catalog.ts
- components/agentic-ui/pos-retail-customers/lib/barcode.ts
- components/agentic-ui/pos-retail-customers/data/customers.ts
- components/agentic-ui/pos-retail-customers/lib/reduce-shift.ts
- components/agentic-ui/pos-retail-customers/lib/reduce-sale.ts
- components/agentic-ui/pos-retail-customers/lib/reduce-cart.ts
- components/agentic-ui/pos-retail-customers/lib/reduce-admin.ts
- components/agentic-ui/pos-retail-customers/data/seed.ts
- components/agentic-ui/pos-retail-customers/lib/customers.ts
- components/agentic-ui/pos-retail-customers/components/notice.tsx
- components/agentic-ui/pos-retail-customers/components/common.tsx
- components/agentic-ui/pos-retail-customers/components/customer-sheet.tsx
- components/agentic-ui/pos-retail-customers/components/customer-dialog.tsx
Related components
Pos Retail Inventory
Inventory screen for a retail chain with low stock alerts, store to store transfers and purchase orders you receive.
Details and live previewPos Retail Order Detail
Sale detail page with refund and exchange flow, reasons and manager approval.
Details and live previewPos Retail Orders
Search past retail sales by receipt number, customer or total with refund status filters.
Details and live previewPos Retail Products
Retail product catalog with variants by size and color and stock for each store.
Details and live preview