Skip to content

Packs / design-systems-and-ui-kits-public

erp-inventory-table

Ship an ERP inventory table (stock, reorder flags, add item, CSV export) as one accessible HTML file

Install

logicpacks pack use design-systems-and-ui-kits-public/erp-inventory-table
get_pack design-systems-and-ui-kits-public/erp-inventory-table

The second line is the MCP tool call for the LogicPacks connector (Claude Code, Codex, Claude.ai and others). The first run of a pack someone else wrote asks for your yes.

Keys it needs (names only)

None.

Playbooks included

  • Spec: spec/SPEC.md (goal, steps, edge cases, don’ts)
  • Routes: static-htmlshadcn-next
  • Checks: 1 in outcome/checks.yaml
  • Code: index.htmlui_check.py
  • Tools: python3, npx

Usage, last 8 weeks

New: no recorded use yet.

Purpose (from spec/SPEC.md)

Goal

Ship an ERP inventory table (stock, reorder flags, add item, CSV export) as one accessible HTML file.

Steps

  1. Open code/index.html (no build): KPIs, add form, list/board, Export CSV.
  2. Change the config JSON at the bottom of the file (fields, columns, KPIs, seed rows) for a new entity.
  3. Tokens are shadcn/ui-style CSS variables; restyle by changing --primary etc. (see design-tokens).
  4. Check: python3 code/ui_check.py code/index.html outcome/fixtures/flow.json (390/1280 px, no console errors, no sideways scroll, labels, add -> list -> export).

Edge cases

  • Data lives in memory; wire the form to the real API (or refflow) before production.
  • Very wide tables scroll inside their card, not the page.

Don'ts

  • Don't copy NovaMotion or third-party designs into this file; reference by id.
  • Don't hotlink fonts/scripts from CDNs (offline-safe single file).

Check

lp pack check design-systems-and-ui-kits/erp-inventory-table runs outcome/checks.yaml.