Docs / ui-catalogue-workflow / templates
Templates for reference-driven design
1. Brief intake (fill before searching; 2 minutes)
Surface: site | app (mobile/web) | component | motion/video | brand asset | ad
Domain: (e.g. fintech, devtools, wellness, marketplace) -> catalogue category + industry tags
Audience/tone: (trust, premium, playful, technical, editorial...) -> mood tags
Platform: web | iOS | Android | desktop
Theme: light | dark | both (check the domain norm: index/categories/*/<cat>.md "Theme")
Must-have modules/screens: (hero, pricing, onboarding, checkout...)
Constraints: stack (Next/Tailwind/SwiftUI...), brand colours, perf budget, a11y level, reduced motion
Ambition: conventional | distinctive | experimental
2. Retrieval log (keep it; it is the audit trail)
Query 1: uic.py search ... -> N hits; sheet viewed: <path>
Picks: [ID] why (structure) / [ID] why (visual) / [ID] why (motion)
Query 2: ...
Rejected: [ID] why (cliché / wrong tone / unbuildable)
Target: 3 index profiles read, 2-4 sheets (24-30 designs each), 4-8 zoomed picks, 1-2 similar expansions, 1 app-flow sheet if the surface is an app.
3. Reference analysis table (one row per pick)
| Ref | Structure (layout skeleton) | Hierarchy (what reads first/second/third) | Tokens (bg / surface / text / accent; type; radius; shadow; spacing rhythm) | Components + states | Motion | Take | Leave |
|---|---|---|---|---|---|---|---|
4. Design spec (the thing you implement from)
# <Project> design spec
## Concept in one sentence
## Reference lineage: [ID] -> what we borrow; [ID] -> what we borrow (attribution list at the end)
## Layout skeleton
(section/screen order; grid: columns, max-width, gutters; breakpoints; sticky/overlay layers)
## Tokens
colour roles: bg, surface-1/2, border, text-1/2/3, accent, accent-text, success/warn/error (+ contrast ratios)
type: families (display/body/mono), scale (e.g. 12/14/16/20/28/40/64), weights, tracking, line-heights
space: base unit and scale; radius scale; elevation/border strategy; blur/glass rules
## Components (name -> anatomy -> states: idle/hover/focus/active/disabled/loading/error/success -> notes)
## Motion
(for each: trigger, property, duration, easing/spring, stagger, reduced-motion fallback)
## Content & microcopy (headline formulas, button labels, empty/error copy)
## Responsive & a11y (touch targets >=44px, focus rings, contrast >=4.5:1, keyboard paths)
## Risks / what we deliberately do differently from the references
5. Verification checklist (after building)
- Screenshot at 1440, 768, 390 widths (browser tool); put next to the reference sheet and compare hierarchy, density, rhythm.
- Every state in the spec exists and is reachable (hover/focus/disabled/loading/error/empty).
- Contrast: body text >= 4.5:1, large text/UI >= 3:1, also for dark theme and for text over gradients/images.
prefers-reduced-motionremoves parallax/auto-play/large transforms; animation uses transform/opacity only.- No reference is copied pixel-for-pixel; wording, illustrations, logos and imagery are original or licensed.
- Attribution list written (creator name + source_url from
uic.py show <id>) if references are named in docs/PRs.