I'll create an extensive, practical visual learning experience for Apple's Human Interface Guidelines. Let me start by researching Apple HIG thoroughly.
Now let me research more specific HIG topics in depth.
Now let me research more specifics on components, navigation patterns, and the Liquid Glass material.
Now let me look at the existing project structure and set things up.
Now I have a thorough understanding of the project structure and Apple HIG. Let me build this massive visual learning experience. I'll create a comprehensive single-page application with multiple sections covering all HIG topics with practical visual examples.
Let me start building the app. First, I'll update the HTML title, then create all the necessary files.
Now let me create the comprehensive CSS with all HIG design tokens, squircle shapes, and the complete visual system:
Now let me create the main App structure. This is going to be a huge single-page app with all the HIG sections. Let me build it section by section.
Now I need to create all the section components. Let me create them all. I'll start with a shared components file and then each section:
Now let me create all the section files. I'll create them in parallel batches:
Now the final section — Do's & Don'ts:
All section files are created. Now let me fix the minor lint issues (unused variables in shared.tsx and some sections) and then build:
I see the SpecLabel function references isDark in the body. Let me fix it properly:
Now fix the CodeLabel function:
The remaining lint warnings are just unused variable warnings (TS6133) that won't prevent compilation. They are from ColorSwatch and CodeLabel having isDark params that are referenced but the linter might be checking differently. Let me look at the actual issue:
I see — SectionShell and ColorSwatch both take isDark but don't actually use it in their return JSX. These are minor issues that don't affect functionality. Let me quickly fix these by prefixing:
Good, shared.tsx is clean. Now let me quickly fix the remaining TS6133 in the section files. These are just unused bg, border, and mutedBg variables in sections where they weren't needed. Let me fix them quickly:
Good. Now let's try building:
The project builds successfully. Let me also verify it works by checking no errors remain. Let me do a final build confirmation:
Build successful. The entire application compiles to a single 348KB HTML file. Let me provide a summary of what was built:
Apple HIG Visual Learning Experience — Complete
I've built an extensive, fully interactive visual learning experience covering all major Apple Human Interface Guidelines topics with practical, visual examples rather than walls of text. Here's what's included:
13 Comprehensive Sections:
-
Core Principles — Clarity, Deference, Depth, Consistency with visual DO/DON'T comparisons and HIG vs Material Design comparison
-
Typography — Full Dynamic Type scale (11 styles from Large Title 34pt to Caption 2 11pt), SF Pro 9-weight display, SF Pro Text vs Display optical sizes, tracking & leading, and the SF typeface family (SF Pro, New York, SF Mono)
-
Color System — All 12 system colors with light/dark hex values, semantic label hierarchy (4 levels), semantic backgrounds (4 types), gray scale (6 levels), and a sample Settings-style UI showing colors in context
-
Materials — Interactive material thickness stack (ultra-thin through chrome), Liquid Glass (iOS 26+) simulation with backdrop-blur, and vibrancy effect comparison
-
Layout & Safe Areas — Full iPhone device mockup showing status bar (59pt), Dynamic Island, nav bar (44pt), content area with margins, tab bar (49pt), and home indicator (34pt), plus 8pt grid system and readable content guide
-
Squircles & Continuous Corners — Visual comparison of standard rounded rect vs iOS squircle, corner smoothing spectrum (0-100%), the superellipse math (|x/a|ⁿ + |y/b|ⁿ = 1), and practical squircle sizes
-
Components — Interactive buttons (filled/tinted/gray/plain/destructive), toggle switches, checkboxes, sliders, segmented controls, steppers, progress indicators, and picker wheels — all with proper 44pt tap targets
-
Navigation Patterns — Tab bar (49pt, 3-5 items), navigation bar (44pt standard / 58pt large title), sidebar for iPad/Mac, action sheets, alert dialogs, and navigation rules cheat sheet
-
Accessibility — Dynamic Type demo across 9 sizes, color contrast requirements (4.5:1 / 3:1), 44×44pt touch targets, and a 10-item HIG accessibility checklist
-
Dark Mode — Side-by-side light/dark comparison, elevation inversion demo (shadows → lighter backgrounds), system colors auto-adaptation, and dark mode best practices
-
Iconography & SF Symbols — 16 sample SF Symbols, 9-weight scale matching SF Pro, 3 size scales, app icon design rules (DO/DON'T), and symbol rendering modes
-
Gestures & Input — 9 standard iOS gestures, haptic feedback types and best practices, Apple Pencil interactions, and platform input comparison (iOS/iPadOS/macOS/watchOS/tvOS)
-
Do's & Don'ts — 48 comprehensive rules across typography, color, layout, navigation, accessibility, and components, plus a quick reference card
Design Authenticity:
- Squircle corner radii (22.37%) used throughout for authentic iOS feel
- SF Pro-inspired typography with proper letter-spacing and optical sizing
- Semantic color system with light/dark mode adaptation
- Liquid Glass material simulation with backdrop-blur and borders
- 8pt grid spacing convention
- 44×44pt minimum tap targets on all interactive elements
- Dark mode toggle that transforms the entire app
Files built: index.html, src/index.css, src/App.tsx, src/sections/shared.tsx, src/sections/CorePrinciples.tsx, src/sections/TypographySection.tsx, src/sections/ColorSystem.tsx, src/sections/MaterialsSection.tsx, src/sections/LayoutSection.tsx, src/sections/SquircleSection.tsx, src/sections/ComponentsSection.tsx, src/sections/NavigationSection.tsx, src/sections/AccessibilitySection.tsx, src/sections/DarkModeSection.tsx, src/sections/IconographySection.tsx, src/sections/GesturesSection.tsx, src/sections/DoDontSection.tsx