# Honda Product UI/UX Design Pattern Standard **Client:** Honda · **Brand:** RoboTaxi (Honda 0 Series) **Purpose:** Reusable design law & pattern language for Honda-themed digital products. **Role:** Part of a 3-tier brand model — this is the law (tier 2). > The 3-tier model: > 1. `agent_skills/params/honda.yaml` — parametric values (hex codes, font names). Single source. > 2. **This document** — reusable design law (principles, patterns, rationale). Cross-project IP + Metis KB. > 3. `flow_docs/J2_internal_design/_common/theme-tokens.md` — this project's concrete token instantiation. > > No duplication: tier 3 cites this standard; this standard references tier 1 for raw values. **Sources:** Honda Design Guideline images `honda-design-01..10.png` (principles/rationale) + `flow_docs/UI_UX_Specification.md` (implemented layout & component architecture) + `src/frontend/tailwind.config.js` (verified tokens). This document supersedes and consolidates `UI_UX_Specification.md` as the single Honda design authority. --- ## 1. Color System **Source images:** `honda-design-01.png`, `honda-design-02.png`, `honda-design-03.png` ### 1.1 Primary brand color Honda red is the defining accent. Reference `honda.yaml` for the exact hex value. Usage rules: - **Primary CTAs:** solid red background, white foreground text. Never use red for non-interactive decoration. - **Active/selected states:** red background or red left-border accent (the "red tick" pattern). - **Focus rings:** red ring with 2px width, 1px offset on interactive elements. - **Subtle red:** tinted background (`#FDEAEC` equivalent) for badges, hover states, and informational callouts. ### 1.2 Neutral palette - **Ink (text):** near-black, for body text and headings. - **Muted ink:** medium gray, for secondary text, labels, and placeholders. - **Surface tertiary (`#F1F3F5`):** near-white gray, for table header fills and subtle backgrounds. - **Surface alt (`#F8F9FA`):** off-white app background. - **Line (borders):** light gray, for card borders, dividers, and table rules. - **Surface alt:** off-white, for alternating rows and secondary surfaces. ### 1.3 Semantic colors - **Active/positive:** green for statuses "Active", "Online", "BUILT". - **Inactive/disabled:** gray for "Inactive", "Offline". - **Error/destructive:** red for validation errors, delete actions, "ACCESS_DENIED". - **Warning:** amber for security findings, deviation tags, "live wiring in progress". --- ## 2. Typography **Source images:** `honda-design-04.png`, `honda-design-05.png` ### 2.1 Typeface stack Reference `honda.yaml` for the font family names. General principles: - **Display/headings:** geometric sans-serif (Space Grotesk) — used for page titles, KPI values, brand name. - **Body:** clean sans-serif (Inter) — used for paragraphs, table cells, form labels, buttons. - **Monospace:** system monospace stack — used for file paths, code, technical data. ### 2.2 Scale - Headings: display font, bold, tracking tight. - KPI values: display font, 3xl (30px), bold. - Body text: 14px base, 1.5 line-height. - Small text: 13px for secondary content, 12px for metadata. - Captions: 11px for file sizes, timestamps, version numbers. - Micro: 10px uppercase for badges, labels, status pills. ### 2.3 Uppercase conventions - Section labels, badge text, and status pills use uppercase with letter-spacing. - Navigation labels use sentence case (not uppercase). --- ## 3. Spacing & Layout Rhythm **Source images:** `honda-design-06.png`, `honda-design-07.png` ### 3.1 Base spacing unit 8px base grid. Common spacing tokens: 4px (micro), 8px (tight), 12px (standard gap), 16px (section padding), 24px (page padding), 32px (section separation). ### 3.2 Card padding - Content cards: 16px (p-4) for standard content, tables, lists. - Form cards: 24px (p-6) — forms need more breathing room. - KPI cards: 20px (p-5) — tight but impactful. ### 3.3 Layout rhythm - Page header → content: 32px gap. - Between sections: 40px gap. - Between related elements within a section: 16px gap. - Grid gutters: 16px on standard 4-column grids. ### 3.4 Border radius - Cards: 8px (rounded-lg). - Buttons: 6px (rounded-md). - Inputs: 6px (rounded-md). - Badges/pills: full round (rounded-full). --- ## 4. Buttons & Controls **Source images:** `honda-design-08.png` ### 4.1 Button variants - **Primary:** solid Honda red background, white text, hover darkens. - **Secondary:** white background, gray border, ink text, hover shows light gray background. - **Ghost:** transparent, ink-muted text, hover shows light gray background. Used for icon-only actions. - **Danger:** red-tinted background for destructive actions (delete, deactivate). ### 4.2 Button sizing - Standard: 40px height, 16px horizontal padding. - Compact: 32px height, 12px horizontal padding. - Icon-only: 32px square. ### 4.3 Input styling - Height: 40px (h-10). - Border: 1px line color, 6px radius. - Focus: 2px Honda red ring with 1px offset. - Invalid: red border, no ring (ring overrides border color). - Disabled: 50% opacity, not-allowed cursor. ### 4.4 Select (dropdown) Native `