apply-hig
Installation
SKILL.md
Apply HIG
Apple HIG essentials for RN devs. Non-negotiable for shipping a native-feeling iOS app.
Touch targets: 44x44 pt minimum
- Set
minWidth: 44, minHeight: 44on every Pressable - Wrap small icons in transparent hit area:
<Pressable hitSlop={{top: 12, bottom: 12, left: 12, right: 12}}>
Dynamic Type
- All
<Text>hasallowFontScaling(default true) — leave it - Don't hardcode heights on text containers — use
flexorminHeight - Test at largest size: Settings → Accessibility → Larger Text → Accessibility XXXL
Semantic colors
import { PlatformColor } from 'react-native';