Apple HIG: Content Components
Check for .claude/apple-design-context.md before asking questions. Use existing context and only ask for information not already covered.
Key Principles
Adapt to different sizes and contexts. Content components must work across screen sizes, orientations, and multitasking configurations. Use Auto Layout and size classes.
Make content accessible. Charts need audio graph support. Images need alt text. Collections need proper VoiceOver navigation order. All content components need labels and descriptions.
Maintain visual hierarchy. Use spacing, sizing, and grouping to establish clear information hierarchy. Primary content should be visually prominent.
Use system components first. Evaluate UICollectionView, SwiftUI Charts, WKWebView before building custom. System components come with built-in accessibility and platform adaptation.
Respect platform conventions. A collection on tvOS uses large lockups with parallax. The same collection on iOS uses compact cells with touch targets. On visionOS, content gains depth and hover effects.
Handle empty states. Show a meaningful empty state with guidance on how to populate it, not a blank screen.
Optimize for performance. Use lazy loading, cell reuse, pagination, and prefetching for large datasets.
Reference Index
| Reference |
Topic |
Key content |
| charts.md |
Charts |
Swift Charts, bar/line/area/point marks, chart accessibility, audio graphs |
| collections.md |
Collections |
Grid/list layouts, compositional layout, selection, reordering, diffable data sources |
| image-views.md |
Image Views |
Aspect ratio handling, content modes, SF Symbol images, accessibility |
| image-wells.md |
Image Wells |
Drag-and-drop image selection, macOS-specific, placeholder content |
| color-wells.md |
Color Wells |
Color selection UI, system color picker, custom color spaces |
| web-views.md |
Web Views |
WKWebView, SFSafariViewController, navigation controls, content restrictions |
| activity-views.md |
Activity Views |
Share sheets, activity items, custom activities, action extensions |
| lockups.md |
Lockups |
Image+text elements, tvOS card layouts, focus effects, shelf layouts |
Component Selection Guide
| Content Need |
Recommended Component |
Platform Notes |
| Visualizing quantitative data |
Charts (Swift Charts) |
iOS 16+, macOS 13+, watchOS 9+ |
| Browsing a grid or list of items |
Collection View |
Compositional layout for complex arrangements |
| Displaying a single image |
Image View |
Support aspect ratio fitting; provide accessibility description |
| Selecting an image via drag or browse |
Image Well |
macOS primarily; use image pickers on iOS |
| Selecting a color |
Color Well |
Triggers system color picker; macOS, iOS 14+ |
| Showing web content inline |
Web View (WKWebView) |
Use SFSafariViewController for external browsing |
| Sharing content to other apps |
Activity View |
System share sheet with configurable activity types |
| Content card (image + text) |
Lockup |
Primarily tvOS; adaptable to other platforms |
Output Format
- Component recommendation with rationale, referencing the relevant HIG reference file.
- Configuration guidance -- key properties and setup.
- Accessibility requirements for the recommended component.
- Platform-specific notes for targeted platforms.
Questions to Ask
- What type of content? (Quantitative data, images, web content, browsable collection, share action?)
- Which platforms?
- Static or dynamic content?
- How much content? (Few items vs hundreds/thousands affects component choice and optimization.)
Related Skills
- hig-foundations -- Color, typography, accessibility, and image guidelines
- hig-patterns -- Data visualization, sharing, and loading patterns
- hig-components-layout -- Structural containers (scroll views, lists, split views) hosting content
- hig-platforms -- Platform-specific component behavior (lockups on tvOS, web views on macOS)
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 Components Content"
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-components-content 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-components-content3description: Apple Human Interface Guidelines for content display components.4---56# Apple HIG: Content Components78Check for `.claude/apple-design-context.md` before asking questions. Use existing context and only ask for information not already covered.910## Key Principles11121. **Adapt to different sizes and contexts.** Content components must work across screen sizes, orientations, and multitasking configurations. Use Auto Layout and size classes.13142. **Make content accessible.** Charts need audio graph support. Images need alt text. Collections need proper VoiceOver navigation order. All content components need labels and descriptions.15163. **Maintain visual hierarchy.** Use spacing, sizing, and grouping to establish clear information hierarchy. Primary content should be visually prominent.17184. **Use system components first.** Evaluate UICollectionView, SwiftUI Charts, WKWebView before building custom. System components come with built-in accessibility and platform adaptation.19205. **Respect platform conventions.** A collection on tvOS uses large lockups with parallax. The same collection on iOS uses compact cells with touch targets. On visionOS, content gains depth and hover effects.21226. **Handle empty states.** Show a meaningful empty state with guidance on how to populate it, not a blank screen.23247. **Optimize for performance.** Use lazy loading, cell reuse, pagination, and prefetching for large datasets.2526## Reference Index2728| Reference | Topic | Key content |29|---|---|---|30| [charts.md](references/charts.md) | Charts | Swift Charts, bar/line/area/point marks, chart accessibility, audio graphs |31| [collections.md](references/collections.md) | Collections | Grid/list layouts, compositional layout, selection, reordering, diffable data sources |32| [image-views.md](references/image-views.md) | Image Views | Aspect ratio handling, content modes, SF Symbol images, accessibility |33| [image-wells.md](references/image-wells.md) | Image Wells | Drag-and-drop image selection, macOS-specific, placeholder content |34| [color-wells.md](references/color-wells.md) | Color Wells | Color selection UI, system color picker, custom color spaces |35| [web-views.md](references/web-views.md) | Web Views | WKWebView, SFSafariViewController, navigation controls, content restrictions |36| [activity-views.md](references/activity-views.md) | Activity Views | Share sheets, activity items, custom activities, action extensions |37| [lockups.md](references/lockups.md) | Lockups | Image+text elements, tvOS card layouts, focus effects, shelf layouts |3839## Component Selection Guide4041| Content Need | Recommended Component | Platform Notes |42|---|---|---|43| Visualizing quantitative data | Charts (Swift Charts) | iOS 16+, macOS 13+, watchOS 9+ |44| Browsing a grid or list of items | Collection View | Compositional layout for complex arrangements |45| Displaying a single image | Image View | Support aspect ratio fitting; provide accessibility description |46| Selecting an image via drag or browse | Image Well | macOS primarily; use image pickers on iOS |47| Selecting a color | Color Well | Triggers system color picker; macOS, iOS 14+ |48| Showing web content inline | Web View (WKWebView) | Use SFSafariViewController for external browsing |49| Sharing content to other apps | Activity View | System share sheet with configurable activity types |50| Content card (image + text) | Lockup | Primarily tvOS; adaptable to other platforms |5152## Output Format53541. **Component recommendation with rationale**, referencing the relevant HIG reference file.552. **Configuration guidance** -- key properties and setup.563. **Accessibility requirements** for the recommended component.574. **Platform-specific notes** for targeted platforms.5859## Questions to Ask60611. What type of content? (Quantitative data, images, web content, browsable collection, share action?)622. Which platforms?633. Static or dynamic content?644. How much content? (Few items vs hundreds/thousands affects component choice and optimization.)6566## Related Skills6768- **hig-foundations** -- Color, typography, accessibility, and image guidelines69- **hig-patterns** -- Data visualization, sharing, and loading patterns70- **hig-components-layout** -- Structural containers (scroll views, lists, split views) hosting content71- **hig-platforms** -- Platform-specific component behavior (lockups on tvOS, web views on macOS)7273---7475*Built by [Raintree Technology](https://raintree.technology) · [More developer tools](https://raintree.technology)*7677## When to Use78This skill is applicable to execute the workflow or actions described in the overview.7980---8182<!-- AGI-INTEGRATION-START -->8384## AGI Framework Integration8586> **Adapted for [@techwavedev/agi-agent-kit](https://www.npmjs.com/package/@techwavedev/agi-agent-kit)**87> Original source: [antigravity-awesome-skills](https://github.com/sickn33/antigravity-awesome-skills)8889### Memory-First Protocol9091Retrieve prior design decisions (color palettes, typography, spacing scales) to maintain visual consistency across sessions. Cache generated design tokens.9293```bash94# Check for prior frontend/design context before starting95python3 execution/memory_manager.py auto --query "design system decisions and component patterns for Hig Components Content"96```9798### Storing Results99100After completing work, store frontend/design decisions for future sessions:101102```bash103python3 execution/memory_manager.py store \104 --content "Design system: adopted 8px grid, Inter font family, HSL color tokens with dark mode support" \105 --type decision --project <project> \106 --tags hig-components-content frontend107```108109### Multi-Agent Collaboration110111Share design decisions with backend agents (API contract changes) and QA agents (visual regression baselines).112113```bash114python3 execution/cross_agent_context.py store \115 --agent "<your-agent>" \116 --action "Implemented UI components — new design system with accessibility compliance (WCAG 2.1 AA)" \117 --project <project>118```119120### Design Memory Persistence121122Store design system tokens and component decisions in Qdrant so any agent on any platform (Claude, Gemini, Cursor) can retrieve and apply consistent styling.123124<!-- AGI-INTEGRATION-END -->