Packs / design-systems-and-ui-kits-public
admin-dashboard-template
Ship an admin dashboard (KPIs, orders table, add form, CSV export) as one accessible HTML file
Install
logicpacks pack use design-systems-and-ui-kits-public/admin-dashboard-templateget_pack design-systems-and-ui-kits-public/admin-dashboard-templateThe 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 admin dashboard (KPIs, orders table, add form, CSV export) as one accessible HTML file.
Steps
- Open
code/index.html(no build): KPIs, add form, list/board, Export CSV. - Change the config JSON at the bottom of the file (fields, columns, KPIs, seed rows) for a new entity.
- Tokens are shadcn/ui-style CSS variables; restyle by changing
--primaryetc. (see design-tokens). - 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/admin-dashboard-template runs outcome/checks.yaml.