← Back to all updates

Unified Icon Button Style and Enhanced User Interaction

Commit: 37bbf6c

Introduced a consistent icon button style with improved interaction feedback.

Changes

  • Created IconButtonStyleModifier as the single source of truth for button behavior.
  • Implemented reliable single-click functionality for all icon buttons using highPriorityGesture.
  • Standardized hover scale to 1.12× and press feedback to 0.92× across all buttons.
  • Ensured full hit areas with contentShape(Rectangle()) on all buttons for better usability.
  • Removed grey hover backgrounds, opting for scale-only feedback to enhance visual consistency.
  • Updated multiple components including IconButton, SendButton, and TagInputBar for uniform styling.
  • Documented global button style in CLAUDE.md for future reference.