StealThis .dev
Strony Średni

Salon — Retail Inventory

A back-office retail inventory screen for a boutique salon. Four summary cards track active SKUs, low and out-of-stock counts and total retail value, while a sortable table lists every shampoo, color tube and styling tool with brand, SKU, par level, supplier and shelf price. Inline plus-minus steppers adjust on-hand counts and recompute each status pill and row highlight live, filter tabs and a search box narrow the shelf, and a Reorder action fires on anything running low.

Otwórz w Lab
html css vanilla-js
Targety: JS HTML

Kod

Retail Inventory

The stockroom view for Maison Lumière, where the front-of-house polish meets back-office precision. A serif title sits above four editorial summary cards — active SKUs, low stock, out of stock and total retail value — each lit by a thin gold or accent hairline so the numbers that matter read at a glance. Below, a refined table catalogues a dozen real-feeling products: repair shampoos, color gloss tubes, developer, finishing oils and pro tools, each with a tinted swatch, brand, monospaced SKU, par level and supplier.

Every row is alive. The inline plus-minus steppers adjust on-hand counts and instantly recompute the status pill — In stock, Low or Out — re-tinting the row and toggling a gold Reorder button as levels cross their par. Filter tabs for All, Low and Out carry live counts, a search box scans product, brand, SKU and supplier, and the summary cards and footer tally update in the same breath. Reordering or exporting raises a quiet confirmation toast.

Built in dependency-free vanilla JavaScript: delegated event handling, in-place row updates with a soft flash, accessible steppers and tabs with aria labels and visible focus, and a reusable toast() helper. The palette is rose-gold on cream in Cormorant Garamond and Inter, with tabular figures throughout and a layout that holds its composure down to 360px.