askill
responsive-design

responsive-designSafety 95Repository

Responsive design patterns for mobile apps including adaptive layouts, safe areas, screen size handling, and platform-specific styling. Use when building responsive UI or handling different screen sizes.

2 stars
1.2k downloads
Updated 1/30/2026

Package Files

Loading files...
SKILL.md

Responsive Design

Comprehensive skill for building responsive layouts in React Native/Expo mobile apps.

Overview

Mobile responsive design requires:

  • Safe area handling (notch, home indicator)
  • Screen size adaptation
  • Platform-specific styling (iOS vs Android)
  • Orientation changes
  • Tablet support

Use When

This skill is automatically invoked when:

  • Building responsive layouts
  • Handling safe areas
  • Supporting multiple screen sizes
  • Implementing platform-specific UI

Available Templates

TemplateDescription
templates/responsive.tsResponsive dimension utilities
templates/safe-view.tsxSafe area wrapper component
templates/typography.tsxResponsive text components
templates/platform-styles.tsPlatform-specific styles

Key Utilities

// From templates/responsive.ts
wp(50); // 50% of screen width
hp(25); // 25% of screen height
moderateScale(16); // Scaled font size
isTablet; // Device type detection

Best Practices

  1. Always wrap root with SafeAreaProvider
  2. Use percentages and flex for layout
  3. Follow platform conventions (iOS/Android)
  4. Test on both small and large devices

Install

Download ZIP
Requires askill CLI v1.0+

AI Quality Score

69/100Analyzed 2/20/2026

Decent technical reference for responsive design in React Native/Expo with useful templates and code examples. Has clear Use When section and structured best practices. However, lacks actionable step-by-step instructions and the tags are misleading (\"testing\" doesn't fit). Score benefits from being in a dedicated skills folder structure but is penalized for incomplete guidance on actually implementing the patterns.

95
70
75
60
55

Metadata

Licenseunknown
Version-
Updated1/30/2026
Publishervanman2024

Tags

testing