react-native-design

Implements React Native styling, navigation, and Reanimated animations for cross-platform mobile apps.

Updated May 20, 2026
One-click install
npx skills add https://github.com/TechCorp25/kingdom --skill react-native-design-techcorp25
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: react-native-design
Source: https://github.com/TechCorp25/kingdom/tree/main/.claude/skills/ui-design/skills/react-native-design
Command: npx skills add https://github.com/TechCorp25/kingdom --skill react-native-design-techcorp25

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires @react-navigation/native, @react-navigation/native-stack, @react-navigation/bottom-tabs, @react-navigation/drawer, react-native-reanimated, react-native-gesture-handler, react-native-safe-area-context, react-native-screens, and includes references (resource) components.

What problem does it solve? Building cross-platform mobile apps requires mastering React Native styling, type-safe navigation, and performant animations, which involves scattered documentation and platform-specific quirks. This Skill consolidates proven patterns for StyleSheet, React Navigation 6+, and Reanimated 3 into ready-to-use TypeScript examples. ## Core Features & Use Cases - Styling & Theming: StyleSheet patterns, theme context with light/dark modes, responsive breakpoints, cross-platform shadows, and reusable typography and button components. - Navigation: Type-safe stack, tab, and drawer navigators, deep linking configuration, auth flow routing, and navigation state persistence. - Animations & Gestures: Reanimated 3 shared values, gesture handler integration (pan, pinch, tap), layout animations, swipeable cards, and bottom sheets running on the UI thread. - Use Case: When building a mobile app screen with a collapsible header, tab navigation, and gesture-driven card interactions, apply the provided patterns directly instead of assembling them from multiple library docs. ## Quick Start Ask the AI to build a React Native screen with tab navigation and a spring-animated card component using Reanimated 3.

Frequently Asked Questions about react-native-design

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I create animations with Reanimated 3 in React Native?▼

Create a shared value with useSharedValue, derive styles with useAnimatedStyle, and animate using withSpring or withTiming. These run as worklets on the UI thread for 60fps animations without blocking the JavaScript thread.

How to set up type-safe navigation in React Navigation?▼

Define a ParamList type mapping each screen name to its params, then pass it to createNativeStackNavigator<RootStackParamList>(). Use NavigatorScreenParams for nested navigators and CompositeScreenProps for screens spanning multiple navigators.

Does React Native support platform-specific styles for iOS and Android?▼

Yes, use Platform.select() to provide different style values per platform, such as shadow properties on iOS versus elevation on Android. You can also check Platform.OS directly for conditional logic like font families.

Why are my React Native animations janky or laggy?▼

Jank occurs when animations run on the JavaScript thread instead of the UI thread. Move animations into Reanimated worklets, avoid complex logic inside worklets, and use runOnJS only for callbacks that must update React state.

How do I handle gestures like drag and pinch in React Native?▼

Use Gesture.Pan(), Gesture.Pinch(), or Gesture.Tap() from react-native-gesture-handler wrapped in GestureDetector. Store starting positions in a context shared value on gesture start, then update translation values during onUpdate events.

When should I use FlatList instead of ScrollView in React Native?▼

Use FlatList for long or dynamic lists because it virtualizes rendering and only mounts visible items. ScrollView with map renders all children at once, causing memory and performance problems with large datasets.