# geonhui0309/atcha_designsystem architecture

> Architecture diagram of the GitHub repository geonhui0309/atcha_designsystem, generated by GitDiagram from its file tree, README and a sample of source files (last updated 2026-10-14). It is an AI-made overview: check details against the source.

- Interactive diagram: https://gitdiagram.com/geonhui0309/atcha_designsystem
- Repository: https://github.com/geonhui0309/atcha_designsystem

## Overview

ATCHA Design System is a React UI package for consistently assembling ATCHA screens. A consumer can reuse a screen-level pattern first, or compose components and layout primitives, with shared contracts defining the data shapes. The repository also supplies reusable controls, navigation, feedback, and domain-specific UI for diagnostics, vehicle history, maintenance, parts, and shops. The README documents the package layers and usage priority; the graph shows only component relationships established by the README or source-index references, not an application runtime or data-fetching workflow.

Main entry points: [`components`](https://github.com/geonhui0309/atcha_designsystem/tree/main/components) (Reusable components), [`contracts`](https://github.com/geonhui0309/atcha_designsystem/tree/main/contracts) (Shared data contracts), [`patterns`](https://github.com/geonhui0309/atcha_designsystem/tree/main/patterns) (Screen patterns), [`components/sections/service-menu-section/ServiceMenuSection.tsx`](https://github.com/geonhui0309/atcha_designsystem/blob/main/components/sections/service-menu-section/ServiceMenuSection.tsx) (Service UI)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_assembly["Screen Assembly"]
  node_patterns["Screen patterns"]
  node_components["Reusable components"]
end

subgraph group_ui["UI Components"]
  node_layout["Layout primitives"]
  node_inputs["Inputs and controls"]
  node_navigation["Navigation"]
  node_feedback["Feedback and progress"]
  node_display["Display elements"]
  node_cards["Domain cards"]
  node_diagnostic_ui["Diagnostic UI"]
  node_history_ui["History UI"]
  node_service_ui["Service UI"]
end

subgraph group_domain["Domain Patterns"]
  node_diagnostic_pattern["Diagnostic patterns<br/>[index.ts]"]
  node_history_pattern["History patterns<br/>[index.ts]"]
  node_authority_pattern["Authority pattern<br/>[index.ts]"]
  node_parts_pattern["Parts pattern<br/>[index.ts]"]
  node_service_pattern["Service patterns<br/>[index.ts]"]
  node_shop_pattern["Shop pattern<br/>[index.ts]"]
  node_vehicle_pattern["Vehicle warning pattern<br/>[index.ts]"]
end

subgraph group_shared["Shared Types and Assets"]
  node_contracts["Shared data contracts"]
  node_foundation["Shared UI helpers<br/>[foundation.ts]"]
  node_icons["Icon system<br/>[Icon.tsx]"]
end

node_consumer(("Consumer app"))

node_consumer -->|"reuse first"| node_patterns
node_consumer -->|"compose UI"| node_components
node_consumer -->|"use types"| node_contracts
node_patterns -->|"exports"| node_diagnostic_pattern
node_patterns -->|"exports"| node_history_pattern
node_patterns -->|"exports"| node_authority_pattern
node_patterns -->|"exports"| node_parts_pattern
node_patterns -->|"exports"| node_service_pattern
node_patterns -->|"exports"| node_shop_pattern
node_patterns -->|"exports"| node_vehicle_pattern
node_diagnostic_pattern -->|"wraps"| node_diagnostic_ui
node_history_pattern -->|"wraps"| node_history_ui
node_authority_pattern -->|"wraps list"| node_components
node_parts_pattern -->|"wraps section"| node_components
node_service_pattern -->|"wraps"| node_service_ui
node_shop_pattern -->|"wraps list"| node_components
node_vehicle_pattern -->|"wraps section"| node_components
node_components -->|"exports"| node_layout
node_components -->|"exports"| node_inputs
node_components -->|"exports"| node_navigation
node_components -->|"exports"| node_feedback
node_components -->|"exports"| node_display
node_components -->|"exports"| node_cards
node_components -->|"exports"| node_diagnostic_ui
node_components -->|"exports"| node_history_ui
node_components -->|"exports"| node_service_ui
node_diagnostic_ui -->|"uses types"| node_contracts
node_history_ui -->|"uses types"| node_contracts
node_service_ui -->|"uses types"| node_contracts
node_service_ui -->|"renders button"| node_inputs
node_service_ui -->|"uses helper"| node_foundation
node_service_ui -->|"renders item"| node_service_pattern
node_service_pattern -->|"uses types"| node_contracts
node_history_pattern -->|"uses types"| node_contracts
node_authority_pattern -->|"uses types"| node_contracts
node_parts_pattern -->|"uses types"| node_contracts
node_shop_pattern -->|"uses types"| node_contracts
node_vehicle_pattern -->|"uses types"| node_contracts
node_components -->|"exports icon"| node_icons

click node_patterns "https://github.com/geonhui0309/atcha_designsystem/tree/main/patterns"
click node_components "https://github.com/geonhui0309/atcha_designsystem/tree/main/components"
click node_layout "https://github.com/geonhui0309/atcha_designsystem/tree/main/components/layout"
click node_inputs "https://github.com/geonhui0309/atcha_designsystem/tree/main/components/inputs"
click node_navigation "https://github.com/geonhui0309/atcha_designsystem/tree/main/components/navigation"
click node_feedback "https://github.com/geonhui0309/atcha_designsystem/tree/main/components/feedback"
click node_display "https://github.com/geonhui0309/atcha_designsystem/tree/main/components/display"
click node_cards "https://github.com/geonhui0309/atcha_designsystem/tree/main/components/cards"
click node_diagnostic_ui "https://github.com/geonhui0309/atcha_designsystem/blob/main/components/lists/diagnostic-list-section/DiagnosticListSection.tsx"
click node_history_ui "https://github.com/geonhui0309/atcha_designsystem/blob/main/components/lists/history-timeline-section/HistoryTimelineSection.tsx"
click node_service_ui "https://github.com/geonhui0309/atcha_designsystem/blob/main/components/sections/service-menu-section/ServiceMenuSection.tsx"
click node_diagnostic_pattern "https://github.com/geonhui0309/atcha_designsystem/blob/main/patterns/diagnostic-list-section/index.ts"
click node_history_pattern "https://github.com/geonhui0309/atcha_designsystem/blob/main/patterns/history-timeline-section/index.ts"
click node_authority_pattern "https://github.com/geonhui0309/atcha_designsystem/blob/main/patterns/authority-list/index.ts"
click node_parts_pattern "https://github.com/geonhui0309/atcha_designsystem/blob/main/patterns/part-selection-section/index.ts"
click node_service_pattern "https://github.com/geonhui0309/atcha_designsystem/blob/main/patterns/service-menu-section/index.ts"
click node_shop_pattern "https://github.com/geonhui0309/atcha_designsystem/blob/main/patterns/shop-list-section/index.ts"
click node_vehicle_pattern "https://github.com/geonhui0309/atcha_designsystem/blob/main/patterns/vehicle-warning-section/index.ts"
click node_contracts "https://github.com/geonhui0309/atcha_designsystem/tree/main/contracts"
click node_foundation "https://github.com/geonhui0309/atcha_designsystem/blob/main/components/shared/foundation.ts"
click node_icons "https://github.com/geonhui0309/atcha_designsystem/blob/main/icons/Icon.tsx"

classDef toneNeutral fill:#f8fafc,stroke:#334155,stroke-width:1.5px,color:#0f172a
classDef toneBlue fill:#dbeafe,stroke:#2563eb,stroke-width:1.5px,color:#172554
classDef toneAmber fill:#fef3c7,stroke:#d97706,stroke-width:1.5px,color:#78350f
classDef toneMint fill:#dcfce7,stroke:#16a34a,stroke-width:1.5px,color:#14532d
classDef toneRose fill:#ffe4e6,stroke:#e11d48,stroke-width:1.5px,color:#881337
classDef toneIndigo fill:#e0e7ff,stroke:#4f46e5,stroke-width:1.5px,color:#312e81
classDef toneTeal fill:#ccfbf1,stroke:#0f766e,stroke-width:1.5px,color:#134e4a
class node_patterns,node_components toneBlue
class node_layout,node_inputs,node_navigation,node_feedback,node_display,node_cards,node_diagnostic_ui,node_history_ui,node_service_ui toneAmber
class node_diagnostic_pattern,node_history_pattern,node_authority_pattern,node_parts_pattern,node_service_pattern,node_shop_pattern,node_vehicle_pattern toneMint
class node_contracts,node_foundation,node_icons toneRose
class node_consumer toneIndigo
```

## Components

### Screen Assembly

- [Screen patterns](https://github.com/geonhui0309/atcha_designsystem/tree/main/patterns): `patterns`
- [Reusable components](https://github.com/geonhui0309/atcha_designsystem/tree/main/components): `components`

### UI Components

- [Layout primitives](https://github.com/geonhui0309/atcha_designsystem/tree/main/components/layout): `components/layout`
- [Inputs and controls](https://github.com/geonhui0309/atcha_designsystem/tree/main/components/inputs): `components/inputs`
- [Navigation](https://github.com/geonhui0309/atcha_designsystem/tree/main/components/navigation): `components/navigation`
- [Feedback and progress](https://github.com/geonhui0309/atcha_designsystem/tree/main/components/feedback): `components/feedback`
- [Display elements](https://github.com/geonhui0309/atcha_designsystem/tree/main/components/display): `components/display`
- [Domain cards](https://github.com/geonhui0309/atcha_designsystem/tree/main/components/cards): `components/cards`
- [Diagnostic UI](https://github.com/geonhui0309/atcha_designsystem/blob/main/components/lists/diagnostic-list-section/DiagnosticListSection.tsx): `components/lists/diagnostic-list-section/DiagnosticListSection.tsx`
- [History UI](https://github.com/geonhui0309/atcha_designsystem/blob/main/components/lists/history-timeline-section/HistoryTimelineSection.tsx): `components/lists/history-timeline-section/HistoryTimelineSection.tsx`
- [Service UI](https://github.com/geonhui0309/atcha_designsystem/blob/main/components/sections/service-menu-section/ServiceMenuSection.tsx): `components/sections/service-menu-section/ServiceMenuSection.tsx`

### Domain Patterns

- [Diagnostic patterns](https://github.com/geonhui0309/atcha_designsystem/blob/main/patterns/diagnostic-list-section/index.ts): `patterns/diagnostic-list-section/index.ts`
- [History patterns](https://github.com/geonhui0309/atcha_designsystem/blob/main/patterns/history-timeline-section/index.ts): `patterns/history-timeline-section/index.ts`
- [Authority pattern](https://github.com/geonhui0309/atcha_designsystem/blob/main/patterns/authority-list/index.ts): `patterns/authority-list/index.ts`
- [Parts pattern](https://github.com/geonhui0309/atcha_designsystem/blob/main/patterns/part-selection-section/index.ts): `patterns/part-selection-section/index.ts`
- [Service patterns](https://github.com/geonhui0309/atcha_designsystem/blob/main/patterns/service-menu-section/index.ts): `patterns/service-menu-section/index.ts`
- [Shop pattern](https://github.com/geonhui0309/atcha_designsystem/blob/main/patterns/shop-list-section/index.ts): `patterns/shop-list-section/index.ts`
- [Vehicle warning pattern](https://github.com/geonhui0309/atcha_designsystem/blob/main/patterns/vehicle-warning-section/index.ts): `patterns/vehicle-warning-section/index.ts`

### Shared Types and Assets

- [Shared data contracts](https://github.com/geonhui0309/atcha_designsystem/tree/main/contracts): `contracts`
- [Shared UI helpers](https://github.com/geonhui0309/atcha_designsystem/blob/main/components/shared/foundation.ts): `components/shared/foundation.ts`
- [Icon system](https://github.com/geonhui0309/atcha_designsystem/blob/main/icons/Icon.tsx): `icons/Icon.tsx`

### Other components

- **Consumer app**

## Connections

- Consumer app → Screen patterns: reuse first
- Consumer app → Reusable components: compose UI
- Consumer app → Shared data contracts: use types
- Screen patterns → Diagnostic patterns: exports (evidence: `patterns/index.ts`)
- Screen patterns → History patterns: exports (evidence: `patterns/index.ts`)
- Screen patterns → Authority pattern: exports (evidence: `patterns/index.ts`)
- Screen patterns → Parts pattern: exports (evidence: `patterns/index.ts`)
- Screen patterns → Service patterns: exports (evidence: `patterns/index.ts`)
- Screen patterns → Shop pattern: exports (evidence: `patterns/index.ts`)
- Screen patterns → Vehicle warning pattern: exports (evidence: `patterns/index.ts`)
- Diagnostic patterns → Diagnostic UI: wraps (evidence: `patterns/diagnostic-list-section/index.ts`)
- History patterns → History UI: wraps (evidence: `patterns/history-timeline-section/index.ts`)
- Authority pattern → Reusable components: wraps list (evidence: `patterns/authority-list/index.ts`)
- Parts pattern → Reusable components: wraps section (evidence: `patterns/part-selection-section/index.ts`)
- Service patterns → Service UI: wraps (evidence: `patterns/service-menu-section/index.ts`)
- Shop pattern → Reusable components: wraps list (evidence: `patterns/shop-list-section/index.ts`)
- Vehicle warning pattern → Reusable components: wraps section (evidence: `patterns/vehicle-warning-section/index.ts`)
- Reusable components → Layout primitives: exports (evidence: `components/index.ts`)
- Reusable components → Inputs and controls: exports (evidence: `components/index.ts`)
- Reusable components → Navigation: exports (evidence: `components/index.ts`)
- Reusable components → Feedback and progress: exports (evidence: `components/index.ts`)
- Reusable components → Display elements: exports (evidence: `components/index.ts`)
- Reusable components → Domain cards: exports (evidence: `components/index.ts`)
- Reusable components → Diagnostic UI: exports (evidence: `components/index.ts`)
- Reusable components → History UI: exports (evidence: `components/index.ts`)
- Reusable components → Service UI: exports (evidence: `components/index.ts`)
- Diagnostic UI → Shared data contracts: uses types (evidence: `patterns/diagnostic-list-section/index.ts`)
- History UI → Shared data contracts: uses types (evidence: `patterns/history-timeline-section/index.ts`)
- Service UI → Shared data contracts: uses types (evidence: `components/sections/service-menu-section/ServiceMenuSection.tsx`)
- Service UI → Inputs and controls: renders button (evidence: `components/sections/service-menu-section/ServiceMenuSection.tsx`)
- Service UI → Shared UI helpers: uses helper (evidence: `components/sections/service-menu-section/ServiceMenuSection.tsx`)
- Service UI → Service patterns: renders item (evidence: `components/sections/service-menu-section/ServiceMenuSection.tsx`)
- Service patterns → Shared data contracts: uses types (evidence: `patterns/service-menu-section/index.ts`)
- History patterns → Shared data contracts: uses types (evidence: `patterns/history-timeline-section/index.ts`)
- Authority pattern → Shared data contracts: uses types (evidence: `patterns/authority-list/index.ts`)
- Parts pattern → Shared data contracts: uses types (evidence: `patterns/part-selection-section/index.ts`)
- Shop pattern → Shared data contracts: uses types (evidence: `patterns/shop-list-section/index.ts`)
- Vehicle warning pattern → Shared data contracts: uses types (evidence: `patterns/vehicle-warning-section/index.ts`)
- Reusable components → Icon system: exports icon (evidence: `components/index.ts`)
