# xiaokjxiao/icepack-techno architecture

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

- Interactive diagram: https://gitdiagram.com/xiaokjxiao/icepack-techno
- Repository: https://github.com/xiaokjxiao/icepack-techno

## Overview

This is an Expo Router starter app rather than a domain-specific product. The main user workflow is opening the Home or Explore tab, viewing themed sample content, and optionally navigating to a modal; the Explore screen demonstrates collapsible sections, links, images, and platform/theme support. The map focuses on runtime screens and shared UI/theme layers. Source evidence was sampled, so unshown screen details and some component wiring are omitted rather than inferred.

Main entry points: [`app/(tabs)/explore.tsx`](https://github.com/xiaokjxiao/icepack-techno/blob/main/app/(tabs)/explore.tsx) (Explore Screen), [`app/(tabs)/index.tsx`](https://github.com/xiaokjxiao/icepack-techno/blob/main/app/(tabs)/index.tsx) (Home Screen), [`app/(tabs)/_layout.tsx`](https://github.com/xiaokjxiao/icepack-techno/blob/main/app/(tabs)/_layout.tsx) (Tab Navigator), [`components/ui/collapsible.tsx`](https://github.com/xiaokjxiao/icepack-techno/blob/main/components/ui/collapsible.tsx) (Collapsible Sections)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_navigation["App Navigation"]
  node_root["Root Stack<br/>[_layout.tsx]"]
  node_tabs["Tab Navigator<br/>[_layout.tsx]"]
end

subgraph group_screens["Starter Screens"]
  node_home["Home Screen<br/>[index.tsx]"]
  node_explore["Explore Screen<br/>[explore.tsx]"]
  node_modal["Modal Screen<br/>[modal.tsx]"]
end

subgraph group_ui["Shared UI"]
  node_parallax["Parallax Scroll"]
  node_collapsible["Collapsible Sections<br/>[collapsible.tsx]"]
  node_themedtext["Themed Text<br/>[themed-text.tsx]"]
  node_themedview["Themed View<br/>[themed-view.tsx]"]
  node_icons["Platform Icons<br/>[icon-symbol.tsx]"]
  node_external["External Links<br/>[external-link.tsx]"]
  node_wave["Wave Animation<br/>[hello-wave.tsx]"]
  node_haptictab["Haptic Tab<br/>[haptic-tab.tsx]"]
end

subgraph group_theme["Theme Support"]
  node_colors["Color Scheme"]
  node_themehook["Theme Color Hook<br/>[use-theme-color.ts]"]
  node_palette["Theme Palette<br/>[theme.ts]"]
end

node_user(("App User"))

node_user -->|"opens app"| node_root
node_root -->|"routes to"| node_tabs
node_root -->|"registers modal"| node_modal
node_tabs -->|"hosts tab"| node_home
node_tabs -->|"hosts tab"| node_explore
node_home -->|"navigates to"| node_modal
node_home -->|"renders"| node_parallax
node_home -->|"renders"| node_wave
node_home -->|"renders"| node_themedtext
node_home -->|"renders"| node_themedview
node_explore -->|"renders"| node_parallax
node_explore -->|"renders"| node_collapsible
node_explore -->|"renders"| node_external
node_explore -->|"renders"| node_themedtext
node_explore -->|"renders"| node_themedview
node_explore -->|"renders"| node_icons
node_parallax -->|"renders"| node_themedview
node_parallax -->|"reads scheme"| node_colors
node_parallax -->|"gets background"| node_themehook
node_collapsible -->|"renders"| node_themedview
node_collapsible -->|"renders"| node_themedtext
node_collapsible -->|"renders"| node_icons
node_collapsible -->|"reads scheme"| node_colors
node_themedtext -->|"gets text color"| node_themehook
node_themedview -->|"gets background"| node_themehook
node_themehook -->|"reads scheme"| node_colors
node_themehook -->|"reads palette"| node_palette
node_root -->|"reads scheme"| node_colors
node_tabs -->|"uses tab button"| node_haptictab
node_tabs -->|"uses icons"| node_icons

click node_root "https://github.com/xiaokjxiao/icepack-techno/blob/main/app/_layout.tsx"
click node_tabs "https://github.com/xiaokjxiao/icepack-techno/blob/main/app/(tabs)/_layout.tsx"
click node_home "https://github.com/xiaokjxiao/icepack-techno/blob/main/app/(tabs)/index.tsx"
click node_explore "https://github.com/xiaokjxiao/icepack-techno/blob/main/app/(tabs)/explore.tsx"
click node_modal "https://github.com/xiaokjxiao/icepack-techno/blob/main/app/modal.tsx"
click node_parallax "https://github.com/xiaokjxiao/icepack-techno/blob/main/components/parallax-scroll-view.tsx"
click node_collapsible "https://github.com/xiaokjxiao/icepack-techno/blob/main/components/ui/collapsible.tsx"
click node_themedtext "https://github.com/xiaokjxiao/icepack-techno/blob/main/components/themed-text.tsx"
click node_themedview "https://github.com/xiaokjxiao/icepack-techno/blob/main/components/themed-view.tsx"
click node_icons "https://github.com/xiaokjxiao/icepack-techno/blob/main/components/ui/icon-symbol.tsx"
click node_external "https://github.com/xiaokjxiao/icepack-techno/blob/main/components/external-link.tsx"
click node_wave "https://github.com/xiaokjxiao/icepack-techno/blob/main/components/hello-wave.tsx"
click node_haptictab "https://github.com/xiaokjxiao/icepack-techno/blob/main/components/haptic-tab.tsx"
click node_colors "https://github.com/xiaokjxiao/icepack-techno/blob/main/hooks/use-color-scheme.ts"
click node_themehook "https://github.com/xiaokjxiao/icepack-techno/blob/main/hooks/use-theme-color.ts"
click node_palette "https://github.com/xiaokjxiao/icepack-techno/blob/main/constants/theme.ts"

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_root,node_tabs,node_user toneBlue
class node_home,node_explore,node_modal toneAmber
class node_parallax,node_collapsible,node_themedtext,node_themedview,node_icons,node_external,node_wave,node_haptictab toneMint
class node_colors,node_themehook,node_palette toneRose
```

## Components

### App Navigation

- [Root Stack](https://github.com/xiaokjxiao/icepack-techno/blob/main/app/_layout.tsx): `app/_layout.tsx`
- [Tab Navigator](https://github.com/xiaokjxiao/icepack-techno/blob/main/app/(tabs)/_layout.tsx): `app/(tabs)/_layout.tsx`

### Starter Screens

- [Home Screen](https://github.com/xiaokjxiao/icepack-techno/blob/main/app/(tabs)/index.tsx): `app/(tabs)/index.tsx`
- [Explore Screen](https://github.com/xiaokjxiao/icepack-techno/blob/main/app/(tabs)/explore.tsx): `app/(tabs)/explore.tsx`
- [Modal Screen](https://github.com/xiaokjxiao/icepack-techno/blob/main/app/modal.tsx): `app/modal.tsx`

### Shared UI

- [Parallax Scroll](https://github.com/xiaokjxiao/icepack-techno/blob/main/components/parallax-scroll-view.tsx): `components/parallax-scroll-view.tsx`
- [Collapsible Sections](https://github.com/xiaokjxiao/icepack-techno/blob/main/components/ui/collapsible.tsx): `components/ui/collapsible.tsx`
- [Themed Text](https://github.com/xiaokjxiao/icepack-techno/blob/main/components/themed-text.tsx): `components/themed-text.tsx`
- [Themed View](https://github.com/xiaokjxiao/icepack-techno/blob/main/components/themed-view.tsx): `components/themed-view.tsx`
- [Platform Icons](https://github.com/xiaokjxiao/icepack-techno/blob/main/components/ui/icon-symbol.tsx): `components/ui/icon-symbol.tsx`
- [External Links](https://github.com/xiaokjxiao/icepack-techno/blob/main/components/external-link.tsx): `components/external-link.tsx`
- [Wave Animation](https://github.com/xiaokjxiao/icepack-techno/blob/main/components/hello-wave.tsx): `components/hello-wave.tsx`
- [Haptic Tab](https://github.com/xiaokjxiao/icepack-techno/blob/main/components/haptic-tab.tsx): `components/haptic-tab.tsx`

### Theme Support

- [Color Scheme](https://github.com/xiaokjxiao/icepack-techno/blob/main/hooks/use-color-scheme.ts): `hooks/use-color-scheme.ts`
- [Theme Color Hook](https://github.com/xiaokjxiao/icepack-techno/blob/main/hooks/use-theme-color.ts): `hooks/use-theme-color.ts`
- [Theme Palette](https://github.com/xiaokjxiao/icepack-techno/blob/main/constants/theme.ts): `constants/theme.ts`

### Other components

- **App User**

## Connections

- App User → Root Stack: opens app (evidence: `README.md`)
- Root Stack → Tab Navigator: routes to (evidence: `app/_layout.tsx`)
- Root Stack → Modal Screen: registers modal (evidence: `app/_layout.tsx`)
- Tab Navigator → Home Screen: hosts tab (evidence: `app/(tabs)/_layout.tsx`)
- Tab Navigator → Explore Screen: hosts tab (evidence: `app/(tabs)/_layout.tsx`)
- Home Screen → Modal Screen: navigates to (evidence: `app/(tabs)/index.tsx`)
- Home Screen → Parallax Scroll: renders (evidence: `app/(tabs)/index.tsx`)
- Home Screen → Wave Animation: renders (evidence: `app/(tabs)/index.tsx`)
- Home Screen → Themed Text: renders (evidence: `app/(tabs)/index.tsx`)
- Home Screen → Themed View: renders (evidence: `app/(tabs)/index.tsx`)
- Explore Screen → Parallax Scroll: renders (evidence: `app/(tabs)/explore.tsx`)
- Explore Screen → Collapsible Sections: renders (evidence: `app/(tabs)/explore.tsx`)
- Explore Screen → External Links: renders (evidence: `app/(tabs)/explore.tsx`)
- Explore Screen → Themed Text: renders (evidence: `app/(tabs)/explore.tsx`)
- Explore Screen → Themed View: renders (evidence: `app/(tabs)/explore.tsx`)
- Explore Screen → Platform Icons: renders (evidence: `app/(tabs)/explore.tsx`)
- Parallax Scroll → Themed View: renders (evidence: `components/parallax-scroll-view.tsx`)
- Parallax Scroll → Color Scheme: reads scheme (evidence: `components/parallax-scroll-view.tsx`)
- Parallax Scroll → Theme Color Hook: gets background (evidence: `components/parallax-scroll-view.tsx`)
- Collapsible Sections → Themed View: renders (evidence: `components/ui/collapsible.tsx`)
- Collapsible Sections → Themed Text: renders (evidence: `components/ui/collapsible.tsx`)
- Collapsible Sections → Platform Icons: renders (evidence: `components/ui/collapsible.tsx`)
- Collapsible Sections → Color Scheme: reads scheme (evidence: `components/ui/collapsible.tsx`)
- Themed Text → Theme Color Hook: gets text color (evidence: `components/themed-text.tsx`)
- Themed View → Theme Color Hook: gets background (evidence: `components/themed-view.tsx`)
- Theme Color Hook → Color Scheme: reads scheme (evidence: `hooks/use-theme-color.ts`)
- Theme Color Hook → Theme Palette: reads palette (evidence: `hooks/use-theme-color.ts`)
- Root Stack → Color Scheme: reads scheme (evidence: `app/_layout.tsx`)
- Tab Navigator → Haptic Tab: uses tab button (evidence: `app/(tabs)/_layout.tsx`)
- Tab Navigator → Platform Icons: uses icons (evidence: `app/(tabs)/_layout.tsx`)
