Button states and feedback
Button states help users understand when and how they can interact with controls. iOS buttons have 5 distinct states: default, highlighted, focused, selected, and disabled.
HIG stresses the importance of clear visual feedback for each state change. The transition between states must be instant and noticeable, helping users understand their actions were detected. This immediate response builds trust in the interface.
Each button type shows these states differently. Primary buttons display prominent state changes through background colors, while secondary buttons use more subtle indicators like opacity changes.
Common state patterns include:
- Visual clarity. Each state needs a distinct appearance
- Instant feedback. Immediate response to state changes
- State hierarchy. Clear progression between different states
Pro Tip: Test all 5 states in both light and dark mode to ensure they're distinct and visible.