Apple HIG: Inputs
Check for .claude/apple-design-context.md before asking questions. Use existing context and only ask for information not already covered.
Key Principles
General
Support multiple input methods. Touch, pointer, keyboard, pencil, voice, eyes, hands, controllers. Design for the inputs available on each platform. On iPadOS, support both touch and pointer; on macOS, both pointer and keyboard.
Consistent feedback for every input action. Visible, audible, or haptic response.
Gestures
Standard gestures must behave consistently. Tap to activate, swipe to scroll/navigate, pinch to zoom, long press for context menus, drag to move. Don't override system gestures (edge swipes for back, Home, notifications).
Use standard recognizers; keep custom gestures discoverable. Apple's built-in recognizers handle edge cases and accessibility. If you add non-standard gestures, provide hints or coaching to teach them.
Apple Pencil
Precision drawing, markup, and selection. Support pressure, tilt, and hover. Distinguish finger from Pencil when appropriate (finger pans, Pencil draws).
Support Scribble in text fields. Users expect to write with Pencil in any text input.
Keyboards
Keyboard shortcuts and full navigation. Standard shortcuts (Cmd+C/V/Z) plus custom ones visible in the iPadOS Command key overlay. Logical tab order.
Respect the software keyboard. Adjust layout when keyboard appears. Use keyboard-avoidance APIs.
Game Controllers
- MFi controllers with on-screen fallbacks. Map to extended gamepad profile, sensible defaults, remappable. Always offer touch or keyboard alternatives.
Pointer and Trackpad
- Native feel. Hover effects, pointer shape adaptation, standard cursor behaviors. Two-finger scroll, pinch to zoom, swipe to navigate.
Digital Crown
- Primary scrolling and value-adjustment input on watchOS. Scrolling lists, adjusting values, navigating views. Haptic feedback at detents.
Eyes and Spatial (visionOS)
- Look and pinch. Generous hit targets (eye tracking is less precise than touch). Avoid sustained gaze for activation. Direct hand manipulation in immersive experiences.
Focus System
- Critical for tvOS and visionOS. Predictable focus movement. Every interactive element focusable. Clear visual indicators (scale, highlight, elevation). Logical focus groups.
Remotes
- Siri Remote: limited surface. Touch area for swiping, clickpad for selection, few physical buttons. Keep interactions simple.
Motion and Nearby
- Gyroscope, accelerometer, UWB: use judiciously. Suits gaming, fitness, AR. Not for essential tasks. Provide calibration and reset. For UWB, communicate distance and direction with visual or haptic cues.
Reference Index
| Reference |
Topic |
Key content |
| gestures.md |
Touch gestures |
Tap, swipe, pinch, long press, drag, system gestures |
| apple-pencil-and-scribble.md |
Apple Pencil |
Precision, pressure, tilt, hover, handwriting |
| keyboards.md |
Keyboards |
Shortcuts, navigation, software keyboard, Command key |
| game-controls.md |
Game controllers |
MFi, extended gamepad, remapping, fallbacks |
| pointing-devices.md |
Pointer/trackpad |
Hover, cursor morphing, trackpad gestures |
| digital-crown.md |
Digital Crown |
Scrolling, value adjustment, haptic detents |
| eyes.md |
Eye tracking |
Look and tap, gaze targeting, hit target sizing |
| spatial-interactions.md |
Spatial input |
Hand gestures, direct manipulation, immersive input |
| focus-and-selection.md |
Focus system |
tvOS/visionOS navigation, focus indicators, groups |
| remotes.md |
Remotes |
Touch surface, clickpad, simple interactions |
| gyro-and-accelerometer.md |
Motion sensors |
Gyroscope, accelerometer, calibration, gaming |
| nearby-interactions.md |
Nearby interactions |
U1 chip, directional finding, proximity triggers |
| camera-control.md |
Camera Control |
iPhone camera hardware button, quick launch |
Output Format
- Input method recommendations by platform and how they interact.
- Gesture specification table -- standard and custom gestures with expected behaviors.
- Keyboard shortcut recommendations following system conventions.
- Accessibility input alternatives for VoiceOver, Switch Control, etc.
Questions to Ask
- Which platforms and input devices?
- Productivity or casual app?
- Custom gestures in the design?
- Game controller support needed?
Related Skills
- hig-components-status -- Progress indicators responding to input (pull-to-refresh)
- hig-components-system -- System experiences with unique input constraints
- hig-technologies -- VoiceOver, Siri voice input, ARKit spatial gesture context
Built by Raintree Technology · More developer tools
When to Use
This skill is applicable to execute the workflow or actions described in the overview.
AGI Framework Integration
Adapted for @techwavedev/agi-agent-kit
Original source: antigravity-awesome-skills
Memory-First Protocol
Retrieve prior design decisions (color palettes, typography, spacing scales) to maintain visual consistency across sessions. Cache generated design tokens.
# Check for prior frontend/design context before starting
python3 execution/memory_manager.py auto --query "design system decisions and component patterns for Hig Inputs"
Storing Results
After completing work, store frontend/design decisions for future sessions:
python3 execution/memory_manager.py store \
--content "Design system: adopted 8px grid, Inter font family, HSL color tokens with dark mode support" \
--type decision --project <project> \
--tags hig-inputs frontend
Multi-Agent Collaboration
Share design decisions with backend agents (API contract changes) and QA agents (visual regression baselines).
python3 execution/cross_agent_context.py store \
--agent "<your-agent>" \
--action "Implemented UI components — new design system with accessibility compliance (WCAG 2.1 AA)" \
--project <project>
Design Memory Persistence
Store design system tokens and component decisions in Qdrant so any agent on any platform (Claude, Gemini, Cursor) can retrieve and apply consistent styling.
1---2name: hig-inputs3description: Check for .claude/apple-design-context.md before asking questions. Use existing context and only ask for information not already covered.4---56# Apple HIG: Inputs78Check for `.claude/apple-design-context.md` before asking questions. Use existing context and only ask for information not already covered.910## Key Principles1112### General13141. **Support multiple input methods.** Touch, pointer, keyboard, pencil, voice, eyes, hands, controllers. Design for the inputs available on each platform. On iPadOS, support both touch and pointer; on macOS, both pointer and keyboard.15162. **Consistent feedback for every input action.** Visible, audible, or haptic response.1718### Gestures19203. **Standard gestures must behave consistently.** Tap to activate, swipe to scroll/navigate, pinch to zoom, long press for context menus, drag to move. Don't override system gestures (edge swipes for back, Home, notifications).21224. **Use standard recognizers; keep custom gestures discoverable.** Apple's built-in recognizers handle edge cases and accessibility. If you add non-standard gestures, provide hints or coaching to teach them.2324### Apple Pencil25265. **Precision drawing, markup, and selection.** Support pressure, tilt, and hover. Distinguish finger from Pencil when appropriate (finger pans, Pencil draws).27286. **Support Scribble in text fields.** Users expect to write with Pencil in any text input.2930### Keyboards31327. **Keyboard shortcuts and full navigation.** Standard shortcuts (Cmd+C/V/Z) plus custom ones visible in the iPadOS Command key overlay. Logical tab order.33348. **Respect the software keyboard.** Adjust layout when keyboard appears. Use keyboard-avoidance APIs.3536### Game Controllers37389. **MFi controllers with on-screen fallbacks.** Map to extended gamepad profile, sensible defaults, remappable. Always offer touch or keyboard alternatives.3940### Pointer and Trackpad414210. **Native feel.** Hover effects, pointer shape adaptation, standard cursor behaviors. Two-finger scroll, pinch to zoom, swipe to navigate.4344### Digital Crown454611. **Primary scrolling and value-adjustment input on watchOS.** Scrolling lists, adjusting values, navigating views. Haptic feedback at detents.4748### Eyes and Spatial (visionOS)495012. **Look and pinch.** Generous hit targets (eye tracking is less precise than touch). Avoid sustained gaze for activation. Direct hand manipulation in immersive experiences.5152### Focus System535413. **Critical for tvOS and visionOS.** Predictable focus movement. Every interactive element focusable. Clear visual indicators (scale, highlight, elevation). Logical focus groups.5556### Remotes575814. **Siri Remote: limited surface.** Touch area for swiping, clickpad for selection, few physical buttons. Keep interactions simple.5960### Motion and Nearby616215. **Gyroscope, accelerometer, UWB: use judiciously.** Suits gaming, fitness, AR. Not for essential tasks. Provide calibration and reset. For UWB, communicate distance and direction with visual or haptic cues.6364## Reference Index6566| Reference | Topic | Key content |67|---|---|---|68| [gestures.md](references/gestures.md) | Touch gestures | Tap, swipe, pinch, long press, drag, system gestures |69| [apple-pencil-and-scribble.md](references/apple-pencil-and-scribble.md) | Apple Pencil | Precision, pressure, tilt, hover, handwriting |70| [keyboards.md](references/keyboards.md) | Keyboards | Shortcuts, navigation, software keyboard, Command key |71| [game-controls.md](references/game-controls.md) | Game controllers | MFi, extended gamepad, remapping, fallbacks |72| [pointing-devices.md](references/pointing-devices.md) | Pointer/trackpad | Hover, cursor morphing, trackpad gestures |73| [digital-crown.md](references/digital-crown.md) | Digital Crown | Scrolling, value adjustment, haptic detents |74| [eyes.md](references/eyes.md) | Eye tracking | Look and tap, gaze targeting, hit target sizing |75| [spatial-interactions.md](references/spatial-interactions.md) | Spatial input | Hand gestures, direct manipulation, immersive input |76| [focus-and-selection.md](references/focus-and-selection.md) | Focus system | tvOS/visionOS navigation, focus indicators, groups |77| [remotes.md](references/remotes.md) | Remotes | Touch surface, clickpad, simple interactions |78| [gyro-and-accelerometer.md](references/gyro-and-accelerometer.md) | Motion sensors | Gyroscope, accelerometer, calibration, gaming |79| [nearby-interactions.md](references/nearby-interactions.md) | Nearby interactions | U1 chip, directional finding, proximity triggers |80| [camera-control.md](references/camera-control.md) | Camera Control | iPhone camera hardware button, quick launch |8182## Output Format83841. **Input method recommendations by platform** and how they interact.852. **Gesture specification table** -- standard and custom gestures with expected behaviors.863. **Keyboard shortcut recommendations** following system conventions.874. **Accessibility input alternatives** for VoiceOver, Switch Control, etc.8889## Questions to Ask90911. Which platforms and input devices?922. Productivity or casual app?933. Custom gestures in the design?944. Game controller support needed?9596## Related Skills9798- **hig-components-status** -- Progress indicators responding to input (pull-to-refresh)99- **hig-components-system** -- System experiences with unique input constraints100- **hig-technologies** -- VoiceOver, Siri voice input, ARKit spatial gesture context101102---103104*Built by [Raintree Technology](https://raintree.technology) · [More developer tools](https://raintree.technology)*105106## When to Use107This skill is applicable to execute the workflow or actions described in the overview.108109---110111<!-- AGI-INTEGRATION-START -->112113## AGI Framework Integration114115> **Adapted for [@techwavedev/agi-agent-kit](https://www.npmjs.com/package/@techwavedev/agi-agent-kit)**116> Original source: [antigravity-awesome-skills](https://github.com/sickn33/antigravity-awesome-skills)117118### Memory-First Protocol119120Retrieve prior design decisions (color palettes, typography, spacing scales) to maintain visual consistency across sessions. Cache generated design tokens.121122```bash123# Check for prior frontend/design context before starting124python3 execution/memory_manager.py auto --query "design system decisions and component patterns for Hig Inputs"125```126127### Storing Results128129After completing work, store frontend/design decisions for future sessions:130131```bash132python3 execution/memory_manager.py store \133 --content "Design system: adopted 8px grid, Inter font family, HSL color tokens with dark mode support" \134 --type decision --project <project> \135 --tags hig-inputs frontend136```137138### Multi-Agent Collaboration139140Share design decisions with backend agents (API contract changes) and QA agents (visual regression baselines).141142```bash143python3 execution/cross_agent_context.py store \144 --agent "<your-agent>" \145 --action "Implemented UI components — new design system with accessibility compliance (WCAG 2.1 AA)" \146 --project <project>147```148149### Design Memory Persistence150151Store design system tokens and component decisions in Qdrant so any agent on any platform (Claude, Gemini, Cursor) can retrieve and apply consistent styling.152153<!-- AGI-INTEGRATION-END -->