Apple HIG: Selection and Input Controls
Get Apple HIG guidance for selection and input controls
Designing forms and selection interfaces without Apple HIG guidance leads to inconsistent user experiences. This skill provides authoritative Apple Human Interface Guidelines for pickers, toggles, sliders, steppers, text fields, and other input controls.
Télécharger le ZIP du skill
Importer dans Claude
Allez dans Paramètres → Capacités → Skills → Importer un skill
Activez et commencez à utiliser
Tester
Utilisation de "Apple HIG: Selection and Input Controls". What control should I use for a yes/no preference in Settings?
Résultat attendu:
Use a toggle for binary on/off preferences in Settings. Per Apple HIG, toggles show immediate effect in Settings screens - changes apply instantly without a Save button. Ensure the toggle has a clear label describing what it controls, and the on state represents the enabled or active condition.
Utilisation de "Apple HIG: Selection and Input Controls". How many options work best in a segmented control?
Résultat attendu:
Segmented controls work best with 2 to 5 mutually exclusive options of roughly equal importance. Each segment should have a short label. For more than 5 options, use a picker instead. All options in a segmented control must be visible at once - they do not scroll.
Audit de sécurité
SûrThis skill contains only markdown documentation files with Apple Human Interface Guidelines content. All static analysis findings are false positives: backticks are markdown formatting for code references, URLs are documentation links to developer.apple.com, and flagged patterns are natural language in documentation context. No executable code, network requests, or system operations present.
Score de qualité
Ce que vous pouvez construire
Form Design for iOS App
Design a settings screen with toggles, pickers, and text fields that follows Apple HIG conventions for state management and validation.
Cross-Platform Control Selection
Determine the appropriate selection control for different platforms when building a cross-platform app with consistent UX patterns.
Accessibility Compliance Review
Ensure form controls have proper VoiceOver labels, hints, and traits for users with disabilities.
Essayez ces prompts
I need a control for a binary on/off setting in my iOS settings screen. What does Apple HIG recommend?
I have 4 mutually exclusive sorting options for a list. Should I use a segmented control or a picker? What does Apple HIG say?
I'm building a macOS app that needs to let users select multiple email recipients. What control should I use according to Apple HIG?
Review my form design: it has a toggle for notifications, a picker for frequency (5 options), a slider for volume, and a text field for a custom message. Provide HIG guidance on each control's state management, validation, and accessibility.
Bonnes pratiques
- Always show the current selection state clearly - users must see what is selected at all times
- Prefer standard system controls over custom implementations for consistency and accessibility
- Use toggles for binary states in Settings (immediate effect) and modal forms (commit on confirmation)
- Configure text field keyboard types to match expected input (email, URL, number, phone)
- Provide meaningful default values and introductory labels for form controls
- Include VoiceOver labels, hints, and traits for all interactive controls
Éviter
- Using segmented controls with more than 5 options or with options of unequal importance
- Using a picker for only 2 options when a segmented control or toggle would be clearer
- Placing a Save button in Settings screens where toggles should apply changes immediately
- Using custom controls that break standard iOS or macOS interaction patterns
- Leaving text fields without appropriate keyboard type configuration for the expected input
Foire aux questions
When should I use a toggle versus a checkbox?
What's the difference between a picker and a segmented control?
Do changes from toggles apply immediately or require confirmation?
Are combo boxes available on iOS?
What keyboard type should I use for numeric input?
How do I make my form controls accessible?
Détails du développeur
Auteur
sickn33Licence
MIT
Dépôt
https://github.com/sickn33/antigravity-awesome-skills/tree/main/skills/hig-components-controlsRéf
main
Structure de fichiers