Apple Human Interface Guidelines Skill
Design exceptional experiences for Apple platforms following official Apple HIG principles, patterns, and best practices.
Core Design Principles
Clarity
- Text must be legible at every size
- Icons should be precise and lucid
- Adornments are subtle and appropriate
- Functionality is obvious through focus on content
Deference
- Content fills the entire screen while UI stays out of the way
- Translucency and blurring hint at more content
- Minimal use of bezels, gradients, and shadows keeps interface light and airy
Depth
- Visual layers and realistic motion convey hierarchy and vitality
- Touch and discoverability heighten delight
- Smooth transitions maintain spatial orientation
Platform-Specific Guidelines
###iOS / iPadOS
Key Characteristics:
- Touch-first interaction
- Portrait and landscape orientations
- Safe area respect (notch, Dynamic Island, home indicator)
- Gestures: swipe, tap, long press, pinch, rotate
Layout:
- Use SF Pro text (system font)
- Respect safe areas and readable content guides
- Adopt Auto Layout for adaptive interfaces
- Support Dynamic Type for accessibility
Navigation:
- Tab Bar: 3-5 primary destinations, always visible
- Navigation Bar: Hierarchical browsing, back button
- Search: Prominent when important to app experience
For complete iOS patterns, see references/ios.md
macOS
Key Characteristics:
- Mouse/trackpad/keyboard interaction
- Resizable windows
- Menu bar at top of screen
- Dock for launching apps
Layout:
- Use SF Pro (system font)
- Window controls (close, minimize, zoom) on left
- Sidebars for navigation (leading edge)
- Toolbars for primary actions
Interaction:
- Right-click context menus
- Keyboard shortcuts (⌘ Command key)
- Drag and drop between windows
For complete macOS patterns, see references/macos.md
watchOS
Key Characteristics:
- Glanceable information
- Quick interactions
- Digital Crown and side button
- Always-on display support
Layout:
- SF Compact (rounded system font for watches)
- Edge-to-edge content
- Vertical scrolling preferred
Interaction:
- Tap: Primary action
- Digital Crown: Scroll and zoom
- Force Touch: (older models) Context menu
- Raise to wake
For complete watchOS patterns, see references/watchos.md
tvOS
Key Characteristics:
- 10-foot viewing distance
- Siri Remote (directional pad + touch)
- Focus-driven navigation
- Parallax effects
Layout:
- SF Pro (system font)
- Large touch targets (minimum 250pt)
- Grid layouts for content
- Focus engine handles navigation
Interaction:
- Directional: Up/down/left/right focus movement
- Select (click): Primary action
- Menu: Back navigation
- Siri: Voice commands
For complete tvOS patterns, see references/tvos.md
visionOS
Key Characteristics:
- Spatial computing environment
- 3D depth and windows
- Eye tracking + hand gestures
- Immersive and windowed modes
Layout:
- Depth and layers in 3D space
- Glass materials with vibrancy
- SF Pro (system font)
Interaction:
- Gaze + pinch: Primary selection
- Hand gestures: Tap, drag, rotate
- Voice: Siri commands
- Immersion: Dial controls environment blend
For complete visionOS patterns, see references/visionos.md
Typography
SF Symbols
- 6,000+ icons designed by Apple
- Variable weight and scale (Ultralight to Black)
- Multicolor, hierarchical, palette, monochrome rendering modes
- SF Symbols 6 latest version
Usage:
Image(systemName: "star.fill")
Image(systemName: "heart.circle.fill")
Guidelines:
- Match symbol weight to text weight
- Use filled variants for selected states
- Leverage multicolor for semantic meaning
San Francisco (SF)
Apple's system font family optimized for legibility:
- SF Pro: iOS, macOS, tvOS
- SF Compact: watchOS (rounded)
- SF Mono: Code and tabular data
- SF Arabic, SF Hebrew: Localized variants
Text Styles (Dynamic Type):
- Large Title, Title 1/2/3
- Headline, Body, Callout
- Subheadline, Footnote, Caption 1/2
Always support Dynamic Type for accessibility.
Color
System Colors
Use semantic colors that adapt to light/dark mode:
- Label: Primary text
- Secondary Label: Secondary text
- Tertiary Label: Disabled text
- System Background: Main background
- System Fill: Fill colors for UI elements
Accent Colors
- Use accent color for interactive elements (buttons, links)
- Ensure sufficient contrast (WCAG AA: 4.5:1 for text)
- Test in both light and dark modes
Vibrancy
- Materials: Blur backgrounds to show depth
- Vibrancy: Colors that adapt to material behind them
Components
iOS Components
Buttons:
- Filled, Tinted, Gray, Plain styles
- Size: Small, Medium, Large
- Use SF Symbols for icons
Lists:
- Inset grouped style (modern iOS)
- Swipe actions (leading/trailing)
- Context menus
Sheets:
- Modal presentation
- Detents: medium, large
- Drag to dismiss
Navigation:
- Large titles (iOS 11+)
- Inline titles for scrolled state
- Search bar integration
For all iOS components, see references/ios-components.md
macOS Components
Windows:
- Standard, utility, panel types
- Titlebar styles: default, transparent, unified
- Sidebars and split views
Toolbars:
- Icon + text or icon-only buttons
- Segmented controls for views
- Search fields
For all macOS components, see references/macos-components.md
Layout & Spacing
Grid System
- 8pt grid as baseline (iOS, macOS)
- Margins: 16pt (iPhone), 20pt (iPad), 20pt (Mac)
- Spacing: 8pt, 16pt, 24pt, 32pt standard increments
Safe Areas
- Top: Status bar, notch, Dynamic Island
- Bottom: Home indicator (iPhone), dock (iPad)
- Leading/Trailing: Avoid placing content too close to edges
Adaptive Layouts
- Size classes: Compact, Regular (width/height)
- Trait variations: Light/Dark mode, Dynamic Type sizes
- Support landscape and portrait
Accessibility
VoiceOver
- Provide meaningful accessibility labels
- Group related elements
- Ensure logical focus order
Dynamic Type
- Support all text sizes (from -3 to +7 default)
- Test at Accessibility sizes (AX1-AX5)
- Use scalable fonts and layouts
Color Contrast
- WCAG AA: 4.5:1 for normal text, 3:1 for large text
- WCAG AAA: 7:1 for normal text, 4.5:1 for large text
- Test with grayscale and color blindness modes
Reduce Motion
- Provide alternatives to animations
- Use crossfade instead of slides when motion reduced
Interaction Patterns
Gestures (iOS/iPadOS)
- Tap: Primary action
- Long press: Context menu or drag preview
- Swipe: Navigate, delete, reveal actions
- Pinch: Zoom in/out
- Rotate: Rotate content
- Edge swipe: Back navigation
Haptics (iOS)
- Impact: Physical collision or boundary
- Notification: Success, warning, error
- Selection: Picker or toggle change
Keyboard Shortcuts (macOS/iPadOS)
- ⌘ Command: Primary actions (⌘N new, ⌘S save)
- ⇧ Shift: Modify command (⇧⌘S save as)
- ⌥ Option: Alternative behavior
- ⌃ Control: Context-specific
Animation & Motion
Duration
- Quick: 0.2-0.3s (button press, small transitions)
- Standard: 0.3-0.5s (screen transitions, sheets)
- Slow: 0.5-0.8s (complex, spatial transitions)
Easing
- Ease In/Out: Standard for most animations
- Spring: Natural, playful motion
- Linear: Progress indicators only
Principles
- Continuity: Elements smoothly transition
- Anticipation: Hint at upcoming change
- Follow-through: Motion completes naturally
Dark Mode
Guidelines
- Test both modes during development
- Use semantic colors (system colors adapt automatically)
- Elevate surfaces with subtle color increases (not just lighter)
- Avoid pure black (#000000) — use dark gray for true blacks
Materials
- iOS:
.systemBackground, .secondarySystemBackground, .tertiarySystemBackground
- macOS:
.windowBackgroundColor, .controlBackgroundColor
Platform Integration
iOS Features
- Widgets: Home Screen, Lock Screen, StandBy
- Live Activities: Dynamic Island, Lock Screen
- App Clips: Lightweight app experiences
- Shortcuts: Siri Shortcuts integration
- App Intents: System-level actions
macOS Features
- Menu Bar: Global app menus
- Dock: App icon with badges
- Touch Bar: (older MacBook Pros)
- Extensions: Share, Today, Finder
- Continuity: Handoff, Universal Clipboard
Quick Reference
| Platform |
Font |
Grid |
Safe Areas |
Primary Interaction |
| iOS |
SF Pro |
8pt |
Yes (notch/home indicator) |
Touch |
| macOS |
SF Pro |
8pt |
No |
Mouse/keyboard |
| watchOS |
SF Compact |
- |
Yes (round/square) |
Digital Crown + tap |
| tvOS |
SF Pro |
- |
Yes (overscan) |
Siri Remote focus |
| visionOS |
SF Pro |
- |
Yes (spatial bounds) |
Gaze + gesture |
Resources
- iOS Patterns - Complete iOS component library
- macOS Patterns - Complete macOS component library
- watchOS Patterns - Complete watchOS component library
- tvOS Patterns - Complete tvOS component library
- visionOS Patterns - Complete visionOS patterns
- iOS Components Reference - All iOS UIKit/SwiftUI components
- macOS Components Reference - All macOS AppKit/SwiftUI components
Based on Apple Human Interface Guidelines - https://developer.apple.com/design/human-interface-guidelines
1---2name: apple-hig-23description: Expert guide for designing iOS, macOS, watchOS, tvOS, and visionOS apps following Apple Human Interface Guidelines. Use when building Apple platform apps or interfaces, implementing SF Symbols, designing with iOS components, following accessibility guidelines, or creating native Apple experiences. Covers design principles, patterns, components, typography, color, layout, navigation, and platform-specific conventions.4---5
6# Apple Human Interface Guidelines Skill
7
8Design exceptional experiences for Apple platforms following official Apple HIG principles, patterns, and best practices.
9
10## Core Design Principles
11
12### Clarity
13- **Text must be legible** at every size
14- **Icons should be precise and lucid**
15- **Adornments are subtle and appropriate**
16- **Functionality is obvious through focus on content**
17
18### Deference
19- **Content fills the entire screen** while UI stays out of the way
20- **Translucency and blurring** hint at more content
21- **Minimal use of bezels, gradients, and shadows** keeps interface light and airy
22
23### Depth
24- **Visual layers and realistic motion** convey hierarchy and vitality
25- **Touch and discoverability** heighten delight
26- **Smooth transitions** maintain spatial orientation
27
28## Platform-Specific Guidelines
29
30###iOS / iPadOS
31
32**Key Characteristics:**
33- Touch-first interaction
34- Portrait and landscape orientations
35- Safe area respect (notch, Dynamic Island, home indicator)
36- Gestures: swipe, tap, long press, pinch, rotate
37
38**Layout:**
39- Use **SF Pro** text (system font)
40- Respect safe areas and readable content guides
41- Adopt **Auto Layout** for adaptive interfaces
42- Support **Dynamic Type** for accessibility
43
44**Navigation:**
45- **Tab Bar:** 3-5 primary destinations, always visible
46- **Navigation Bar:** Hierarchical browsing, back button
47- **Search:** Prominent when important to app experience
48
49For complete iOS patterns, see [references/ios.md](references/ios.md)
50
51### macOS
52
53**Key Characteristics:**
54- Mouse/trackpad/keyboard interaction
55- Resizable windows
56- Menu bar at top of screen
57- Dock for launching apps
58
59**Layout:**
60- Use **SF Pro** (system font)
61- Window controls (close, minimize, zoom) on left
62- **Sidebars** for navigation (leading edge)
63- **Toolbars** for primary actions
64
65**Interaction:**
66- Right-click context menus
67- Keyboard shortcuts (⌘ Command key)
68- Drag and drop between windows
69
70For complete macOS patterns, see [references/macos.md](references/macos.md)
71
72### watchOS
73
74**Key Characteristics:**
75- Glanceable information
76- Quick interactions
77- Digital Crown and side button
78- Always-on display support
79
80**Layout:**
81- **SF Compact** (rounded system font for watches)
82- Edge-to-edge content
83- Vertical scrolling preferred
84
85**Interaction:**
86- **Tap:** Primary action
87- **Digital Crown:** Scroll and zoom
88- **Force Touch:** (older models) Context menu
89- **Raise to wake**
90
91For complete watchOS patterns, see [references/watchos.md](references/watchos.md)
92
93### tvOS
94
95**Key Characteristics:**
96- 10-foot viewing distance
97- Siri Remote (directional pad + touch)
98- Focus-driven navigation
99- Parallax effects
100
101**Layout:**
102- **SF Pro** (system font)
103- Large touch targets (minimum 250pt)
104- Grid layouts for content
105- Focus engine handles navigation
106
107**Interaction:**
108- **Directional:** Up/down/left/right focus movement
109- **Select (click):** Primary action
110- **Menu:** Back navigation
111- **Siri:** Voice commands
112
113For complete tvOS patterns, see [references/tvos.md](references/tvos.md)
114
115### visionOS
116
117**Key Characteristics:**
118- Spatial computing environment
119- 3D depth and windows
120- Eye tracking + hand gestures
121- Immersive and windowed modes
122
123**Layout:**
124- **Depth and layers** in 3D space
125- **Glass materials** with vibrancy
126- **SF Pro** (system font)
127
128**Interaction:**
129- **Gaze + pinch:** Primary selection
130- **Hand gestures:** Tap, drag, rotate
131- **Voice:** Siri commands
132- **Immersion:** Dial controls environment blend
133
134For complete visionOS patterns, see [references/visionos.md](references/visionos.md)
135
136## Typography
137
138### SF Symbols
139- **6,000+ icons** designed by Apple
140- **Variable weight and scale** (Ultralight to Black)
141- **Multicolor, hierarchical, palette, monochrome** rendering modes
142- **SF Symbols 6** latest version
143
144**Usage:**
145```swift
146Image(systemName: "star.fill")
147Image(systemName: "heart.circle.fill")
148```
149
150**Guidelines:**
151- Match symbol weight to text weight
152- Use filled variants for selected states
153- Leverage multicolor for semantic meaning
154
155### San Francisco (SF)
156Apple's system font family optimized for legibility:
157
158- **SF Pro:** iOS, macOS, tvOS
159- **SF Compact:** watchOS (rounded)
160- **SF Mono:** Code and tabular data
161- **SF Arabic, SF Hebrew:** Localized variants
162
163**Text Styles (Dynamic Type):**
164- Large Title, Title 1/2/3
165- Headline, Body, Callout
166- Subheadline, Footnote, Caption 1/2
167
168**Always support Dynamic Type** for accessibility.
169
170## Color
171
172### System Colors
173Use semantic colors that adapt to light/dark mode:
174
175- **Label:** Primary text
176- **Secondary Label:** Secondary text
177- **Tertiary Label:** Disabled text
178- **System Background:** Main background
179- **System Fill:** Fill colors for UI elements
180
181### Accent Colors
182- Use **accent color** for interactive elements (buttons, links)
183- Ensure **sufficient contrast** (WCAG AA: 4.5:1 for text)
184- Test in **both light and dark modes**
185
186### Vibrancy
187- **Materials:** Blur backgrounds to show depth
188- **Vibrancy:** Colors that adapt to material behind them
189
190## Components
191
192### iOS Components
193
194**Buttons:**
195- Filled, Tinted, Gray, Plain styles
196- Size: Small, Medium, Large
197- Use SF Symbols for icons
198
199**Lists:**
200- Inset grouped style (modern iOS)
201- Swipe actions (leading/trailing)
202- Context menus
203
204**Sheets:**
205- Modal presentation
206- Detents: medium, large
207- Drag to dismiss
208
209**Navigation:**
210- Large titles (iOS 11+)
211- Inline titles for scrolled state
212- Search bar integration
213
214For all iOS components, see [references/ios-components.md](references/ios-components.md)
215
216### macOS Components
217
218**Windows:**
219- Standard, utility, panel types
220- Titlebar styles: default, transparent, unified
221- Sidebars and split views
222
223**Toolbars:**
224- Icon + text or icon-only buttons
225- Segmented controls for views
226- Search fields
227
228For all macOS components, see [references/macos-components.md](references/macos-components.md)
229
230## Layout & Spacing
231
232### Grid System
233- **8pt grid** as baseline (iOS, macOS)
234- **Margins:** 16pt (iPhone), 20pt (iPad), 20pt (Mac)
235- **Spacing:** 8pt, 16pt, 24pt, 32pt standard increments
236
237### Safe Areas
238- **Top:** Status bar, notch, Dynamic Island
239- **Bottom:** Home indicator (iPhone), dock (iPad)
240- **Leading/Trailing:** Avoid placing content too close to edges
241
242### Adaptive Layouts
243- **Size classes:** Compact, Regular (width/height)
244- **Trait variations:** Light/Dark mode, Dynamic Type sizes
245- Support **landscape and portrait**
246
247## Accessibility
248
249### VoiceOver
250- Provide meaningful **accessibility labels**
251- Group related elements
252- Ensure logical **focus order**
253
254### Dynamic Type
255- Support all text sizes (from -3 to +7 default)
256- Test at **Accessibility sizes** (AX1-AX5)
257- Use **scalable fonts** and layouts
258
259### Color Contrast
260- **WCAG AA:** 4.5:1 for normal text, 3:1 for large text
261- **WCAG AAA:** 7:1 for normal text, 4.5:1 for large text
262- Test with **grayscale** and **color blindness** modes
263
264### Reduce Motion
265- Provide alternatives to animations
266- Use **crossfade** instead of slides when motion reduced
267
268## Interaction Patterns
269
270### Gestures (iOS/iPadOS)
271- **Tap:** Primary action
272- **Long press:** Context menu or drag preview
273- **Swipe:** Navigate, delete, reveal actions
274- **Pinch:** Zoom in/out
275- **Rotate:** Rotate content
276- **Edge swipe:** Back navigation
277
278### Haptics (iOS)
279- **Impact:** Physical collision or boundary
280- **Notification:** Success, warning, error
281- **Selection:** Picker or toggle change
282
283### Keyboard Shortcuts (macOS/iPadOS)
284- **⌘ Command:** Primary actions (⌘N new, ⌘S save)
285- **⇧ Shift:** Modify command (⇧⌘S save as)
286- **⌥ Option:** Alternative behavior
287- **⌃ Control:** Context-specific
288
289## Animation & Motion
290
291### Duration
292- **Quick:** 0.2-0.3s (button press, small transitions)
293- **Standard:** 0.3-0.5s (screen transitions, sheets)
294- **Slow:** 0.5-0.8s (complex, spatial transitions)
295
296### Easing
297- **Ease In/Out:** Standard for most animations
298- **Spring:** Natural, playful motion
299- **Linear:** Progress indicators only
300
301### Principles
302- **Continuity:** Elements smoothly transition
303- **Anticipation:** Hint at upcoming change
304- **Follow-through:** Motion completes naturally
305
306## Dark Mode
307
308### Guidelines
309- **Test both modes** during development
310- Use **semantic colors** (system colors adapt automatically)
311- **Elevate** surfaces with subtle color increases (not just lighter)
312- **Avoid pure black** (#000000) — use dark gray for true blacks
313
314### Materials
315- iOS: `.systemBackground`, `.secondarySystemBackground`, `.tertiarySystemBackground`
316- macOS: `.windowBackgroundColor`, `.controlBackgroundColor`
317
318## Platform Integration
319
320### iOS Features
321- **Widgets:** Home Screen, Lock Screen, StandBy
322- **Live Activities:** Dynamic Island, Lock Screen
323- **App Clips:** Lightweight app experiences
324- **Shortcuts:** Siri Shortcuts integration
325- **App Intents:** System-level actions
326
327### macOS Features
328- **Menu Bar:** Global app menus
329- **Dock:** App icon with badges
330- **Touch Bar:** (older MacBook Pros)
331- **Extensions:** Share, Today, Finder
332- **Continuity:** Handoff, Universal Clipboard
333
334## Quick Reference
335
336| Platform | Font | Grid | Safe Areas | Primary Interaction |
337|----------|------|------|------------|-------------------|
338| iOS | SF Pro | 8pt | Yes (notch/home indicator) | Touch |
339| macOS | SF Pro | 8pt | No | Mouse/keyboard |
340| watchOS | SF Compact | - | Yes (round/square) | Digital Crown + tap |
341| tvOS | SF Pro | - | Yes (overscan) | Siri Remote focus |
342| visionOS | SF Pro | - | Yes (spatial bounds) | Gaze + gesture |
343
344---
345
346## Resources
347
348- [iOS Patterns](references/ios.md) - Complete iOS component library
349- [macOS Patterns](references/macos.md) - Complete macOS component library
350- [watchOS Patterns](references/watchos.md) - Complete watchOS component library
351- [tvOS Patterns](references/tvos.md) - Complete tvOS component library
352- [visionOS Patterns](references/visionos.md) - Complete visionOS patterns
353- [iOS Components Reference](references/ios-components.md) - All iOS UIKit/SwiftUI components
354- [macOS Components Reference](references/macos-components.md) - All macOS AppKit/SwiftUI components
355
356---
357
358*Based on Apple Human Interface Guidelines - https://developer.apple.com/design/human-interface-guidelines*