Skip to content
HTML Templates For Developers

Documentation

Stockroom — Inventory Management Dashboard

Version 1.0.0 · Vanilla HTML · 17 files · 169 KB

Back to the template

Getting started

  1. Unzip the download and open index.html in a browser. No server, installation or build step is needed.
  2. Edit the text directly in the HTML files.
  3. Change colours, fonts and spacing through the CSS custom properties at the top of assets/css/style.css.
  4. Replace the artwork in assets/images/ with your own images.
  5. Upload the whole folder to any static host.

File structure

The download contains these 17 files:

  • LICENSE.txt1.8 KB
  • README.md3.1 KB
  • assets/css/style.css24 KB
  • assets/fonts/ibm-plex-mono-LICENSE.txt5.2 KB
  • assets/fonts/ibm-plex-mono-latin-400-normal.woff214 KB
  • assets/fonts/ibm-plex-mono-latin-500-normal.woff215 KB
  • assets/fonts/ibm-plex-mono-latin-600-normal.woff215 KB
  • assets/fonts/ibm-plex-sans-LICENSE.txt4.3 KB
  • assets/fonts/ibm-plex-sans-latin-400-normal.woff222 KB
  • assets/fonts/ibm-plex-sans-latin-500-normal.woff224 KB
  • assets/fonts/ibm-plex-sans-latin-600-normal.woff224 KB
  • assets/fonts/ibm-plex-sans-latin-700-normal.woff222 KB
  • assets/images/favicon.svg395 B
  • assets/js/main.js24 KB
  • documentation/index.html13 KB
  • documentation/licenses/lucide-LICENSE.txt3.1 KB
  • index.html14 KB

Colours

These custom properties are defined at the top of the stylesheet. Change a value once and it updates everywhere it is used.

  • --c-steel#334155
  • --c-steel-dark#1E293B
  • --c-steel-mid#64748B
  • --c-bg#F8FAFC
  • --c-surface#FFFFFF
  • --c-line#CBD5E1
  • --c-line-soft#E2E8F0
  • --c-ink#0F172A
  • --c-muted#475569
  • --c-orange#EA580C
  • --c-orange-ink#C2410C
  • --c-orange-soft#FFEDD5
  • --c-ok-soft#DCFCE7
  • --c-ok-ink#166534
  • --c-red-soft#FEE2E2
  • --c-red-ink#991B1B

Interactive features

Stock register

Edit the RAW array at the top of assets/js/main.js: each row is [sku, name, category, location, onHand, reorderPoint, unitCost]. Filters, sorting and paging read from it; change PAGE_SIZE for more rows per page.

Adjust-stock drawer

The submit handler in initDrawer() applies the change to the in-memory item and re-renders. To persist it, send the SKU, mode and quantity to your API there before updating the item.

Warehouse zones

ZONES lists each zone's letter, name and rated capacity in units. An item belongs to the zone matching the first letter of its location code, such as C-02-04.

Reorder suggestions

Every low or out-of-stock SKU is listed. suggestQty() orders enough to reach twice the reorder point, rounded up to 5; change it to use your own pack sizes or supplier minimums.

Movement chart

The moves array holds 30 days of units received and issued. Replace its generator with your own feed of { date, in, out } objects, oldest first.

Customisation notes

Status rules

statusOf() in assets/js/main.js marks an item Out at zero and Low at or below its reorder point. Change it to add a warning band or per-category thresholds.

Capacity warning level

Zone bars turn orange at 85 percent. The threshold is the 0.85 value in renderZones().

Hazard stripe

The striped band under the header is the .hazard rule in assets/css/style.css. Change the two colours in its repeating-linear-gradient, or remove the element to go plain.

Reasons for adjustments

The REASONS object lists the choices offered for each adjustment type. Add your own, such as inter-site transfers or quarantine.

Currency

Stock value is formatted by money() in assets/js/main.js. Change the prefix or use Intl.NumberFormat for another currency.

What is front-end only

This is a front-end template. The behaviours below are demonstrations that run in the browser; connect them to your own server or service before relying on them.

  • All inventory, movement and capacity figures are sample data held in JavaScript arrays and reset when the page reloads.
  • The adjust-stock form and the draft purchase order only change what is shown on this page; nothing is written to a warehouse system or sent to a supplier.

Bundled components and licences

Everything the template needs is inside the download; nothing is loaded from the network.

  • IBM Plex Mono typeface — OFL-1.1 (assets/fonts/ibm-plex-mono-LICENSE.txt)
  • IBM Plex Sans typeface — OFL-1.1 (assets/fonts/ibm-plex-sans-LICENSE.txt)
  • Lucide icons (inlined SVG) — ISC (documentation/licenses/lucide-LICENSE.txt)

Changelog

Version 1.0.0 · Nov 23, 2026

  • Initial release.