Angular POS and inventory template
A till and a stockroom that agree with each other, built from the Styloviz components
Six sections — register, receipts, inventory, stock movements, purchase orders and shift cash-up — over one signal store and a mock API you swap for your own with one setting. Stock is never stored: on-hand is the signed sum of an append-only movement ledger, so a sale, a refund, a goods-in and a cycle count all land in the same place. Money is integer cents, with a light and dark theme switch in the rail.
Included with a Styloviz Pro license. The download is a complete Angular project — npm install && npm start.


- sections, 9 routes
- 6
- tenders, split on one ticket
- 4
- ledger movement reasons
- 7
- stored stock counts — on-hand is derived
- 0
Walkthrough · 1:31
What it does, page by page
1. Register
OpenA scan box that stays focused after every action takes a SKU, an EAN-8 or EAN-13 barcode (check digit validated — a bad one says why) or a name search; a product grid filters by six categories and shows stock left and units held on parked tickets. The ticket has quantity steppers capped at available stock, 10% and 20% line discounts and a customer name. Take payment by cash (keypad, $5–$100 quick notes, Exact, change due), card, gift card or on account, and split a ticket across several. Card •••• 0002 is wired to decline: nothing is charged and the basket stays as it was. Hold parks the ticket in the rail, where it keeps its stock until resumed; a paid ticket shows its receipt and Next customer.
2. Receipts
OpenEvery ticket in a table with kept and owing totals, filter chips for balance due, parked, part refunded, refunded and void, search, column toggle and CSV / XLSX export. A ticket opens at its own URL as a printable receipt with a Code 128 barcode of the ticket id. Return any lines against it — priced from the receipt, so a discounted line gives back its share of the discount — with a reason, the tender the money goes back on, and whether the goods go back on the shelf. Void reverses the whole ticket with a reason, as reversal movements; nothing is deleted.
3. Inventory
OpenThe catalogue with on-hand, held, available, on order, reorder point and cover, all derived from the ledger, plus stock value at cost, below-reorder and out-of-stock counts. A product opens at its own URL with price, standard cost, margin, tax rate, sales per day and a suggested order quantity, an EAN-13 shelf-edge label, its ledger newest first with the balance after each movement, and a form to post a count correction, shrink or receipt against it.
4. Stock movements
OpenThe append-only ledger itself: units in and out, filter chips by reason — opening count, received, sold, refunded, void reversal, count correction, shrink — and a side panel to post an adjustment, which shows the ledger figure and the resulting on-hand before you post. A mistake is corrected by posting the opposite, never by editing a row.
5. Purchase orders
OpenOrders with due, part received, overdue, received and cancelled status — read back from the goods-in movements, so a fully landed order is never overdue. Book in what came off the van line by line (Rest, Everything arrived); more than was ordered is refused unless a supervisor ticks the approval. Cancel with a reason only while nothing has landed, and draft a new order per supplier from reorder points less stock already on order.
6. Shift & cash-up
OpenOpening float, cash taken less change and refunds, and what should be in the drawer; type the counted figure (or To the penny) and see the signed variance. The drawer will not close uncounted, and a variance of $1.00 or more needs a note. Takings by tender, and net sales, tax, gross margin at standard cost, ticket count, average ticket, refunds and voids for the shift. Demo controls reset the day or simulate a lost connection.
Built from Styloviz components
The template is a composition of the same packages you install from npm — nothing in it is a one-off copy of a component.
| Component | Package | Used for |
|---|---|---|
| sv-data-table-pro | @styloviz-pro/data-table | receipts, inventory, the ledger and purchase orders — search, column filters, CSV / XLSX export, card layout on phones |
| sv-cart-line-item | @styloviz-pro/commerce | the ticket lines, with a quantity stepper capped at available stock |
| sv-price | @styloviz/commerce | every money figure on screen, from integer cents |
| sv-barcode-1d | @styloviz/barcode-1d | the Code 128 ticket barcode on receipts and the EAN-13 shelf-edge label |
| sv-badge | @styloviz/badge | balance-due, low-stock and overdue counts in the navigation |
| sv-avatar | @styloviz/avatar | the signed-in member of staff |
| sv-skeleton-shell · sv-error-shell · sv-empty-shell | @styloviz/core | loading, error with Try again, and no-data / no-results states |
| sv-icon-pro | @styloviz-pro/icons | every glyph — the template registers the ones it names |
What it would cost to build
Our estimate for building the same thing from scratch is 6–8 weeks for one experienced Angular developer — roughly 240–320 hours for the six sections, the scan handling, split tenders with rollback on a decline, receipt-priced refunds and voids, the derived stock ledger, purchase-order receiving and the cash-up — before any of your own backend work. It is an estimate, not a measurement.
Questions
Does it connect to my backend?
Yes. Set POS_API.baseUrl in pos.config.ts and the store loads everything with GET /register , then saves through PUT /sales/:id , POST /movements , POST /refunds , PUT /purchase-orders/:id and PUT /shifts/:id . Leave it empty and the template runs on the bundled mock data in the browser, after demoLatencyMs . Card payments are mocked — no payment provider is called.
How is stock calculated?
There is no stock field. On-hand is the signed sum of the movement ledger for a SKU; available is on-hand less what parked tickets hold; on order comes from the outstanding lines of live purchase orders. Sales, voids, refunds and goods-in post their own movements, and counts and shrink are posted by hand.
How are tax and refunds calculated?
In integer cents. Tax is each line’s taxable amount × its rate in basis points, rounded per line, then summed — so the printed lines add up to the printed total. A refund is priced from the receipt, not today’s price list, and a discounted line returns its share of the discount.
Which Angular and Tailwind versions does it need?
Angular 21 or 22 with standalone components and signals, and Tailwind CSS 4. The download is a complete Angular project: npm install && npm start .
Can I change the tenders, categories and store details?
Yes — pos.config.ts holds POS_TENDERS , POS_CATEGORIES , POS_SUPPLIERS , POS_STAFF , the store name and address on the receipt, the currency, the quick-cash notes and the cash-up note threshold.
What license covers it?
The POS template is part of Styloviz Pro. A Pro license covers the template and the Pro packages it imports, including use in client projects.
Looking for something else? See every template