Skip to content
alinaqi avatar

Ui Mobile

Mobile UI rules for React Native covering touch targets, contrast, visibility, and accessibility labels.

CCM score
58 of 100
skills.sh installs
1.2K
GitHub stars
712
last updated
Jul 14, 2026
View on GitHub

Own this skill? Claim it

What it does

  • Covers touch targets, color contrast, button visibility, accessibility labels, and pressed states for React Native components
  • Enforces 44x44 point minimum touch targets and WCAG 2.1 AA contrast of 4.5:1 for text and 3:1 for UI elements
  • Includes iOS and Android platform differences, a 4px spacing grid, safe area handling, and a type scale
  • Designed for React Native and iOS/Android UI work, applied when building mobile UI components

Install

$ npx -y skills add alinaqi/maggy --skill ui-mobile -y

Installs into .agents/skills for every agent it finds here, and .claude/skills for Claude Code.

Files

Mobile UI Design Skill (React Native)


MANDATORY: Mobile Accessibility Standards

These rules are NON-NEGOTIABLE. Every UI element must pass these checks.

1. Touch Targets (CRITICAL)

// MINIMUM 44x44 points for ALL interactive elements
const MINIMUM_TOUCH_SIZE = 44;

// EVERY button, link, icon button must meet this
const styles = StyleSheet.create({
  button: {
    minHeight: MINIMUM_TOUCH_SIZE,
    minWidth: MINIMUM_TOUCH_SIZE,
    paddingVertical: 12,
    paddingHorizontal: 16,
  },
  iconButton: {
    width: MINIMUM_TOUCH_SIZE,
    height: MINIMUM_TOUCH_SIZE,
    justifyContent: 'center',
    alignItems: 'center',
  },
});

// NEVER DO THIS:
style={{ height: 30 }}  // ✗ TOO SMALL
style={{ padding: 4 }}  // ✗ RESULTS IN TINY TARGET

2. Color Contrast (CRITICAL)

// WCAG 2.1 AA: 4.5:1 for text, 3:1 for large text/UI

// SAFE COMBINATIONS:
const colors = {
  // Light mode
  textPrimary: '#000000',     // on white = 21:1 ✓
  textSecondary: '#374151',   // gray-700 on white = 9.2:1 ✓

  // Dark mode
  textPrimaryDark: '#FFFFFF', // on gray-900 = 16:1 ✓
  textSecondaryDark: '#E5E7EB', // gray-200 on gray-900 = 11:1 ✓
};

Details

Repository
github.com/alinaqi/maggy
Categories
Mobile Apps, Design & UI/UX
First seen
Apr 16, 2026

More from alinaqi/maggy

All 54

Similar to Ui Mobile

More Mobile Apps