About react-native-components
A skill for building and refining React Native interfaces, aimed at developers working on mobile UI. It covers component patterns, styling, accessibility, and list performance.
Key features
- 01Core React Native component patterns
- 02StyleSheet and dynamic styling
- 03FlatList performance tuning
- 04Accessible mobile interfaces
- 05Custom hooks for mobile
Use cases
- 01Building reusable UI components
- 02Adapting layouts to screen dimensions
- 03Improving large-list rendering
- 04Adding accessibility to mobile screens
Install
Copy the command and run it in a terminal.
$
npx skills add https:/ / github.com/ shipshitdev/ skills --skill react-native-componentsAfter installing, type/react-native-componentsin Claude Code to confirm it loaded.
Bundled filesplugin.jsonreferences/full-guide.md
Details
From the project READMEReact Native Component Patterns Expert
When to Use
Use when you're:
- Building React Native UI components
- Implementing StyleSheet patterns and dynamic styling
- Optimizing FlatList and list performance
- Creating accessible mobile interfaces
- Implementing custom hooks for mobile
- Working with View, Text, Image, ScrollView components
Quick Reference
Core Components
- View: Flexbox container (default
display: flex) - Text: Required wrapper for all text
- Image: Use
expo-imagefor better caching - ScrollView:
contentContainerStylefor inner padding - FlatList: For lists > 50 items
StyleSheet Patterns
StyleSheet.create: Performance-optimized styles- Array syntax:
[baseStyle, condition && activeStyle] - Dynamic:
useWindowDimensionsfor responsive - Platform:
Platform.select({ ios: {}, android: {} })
Performance
FlatListwithinitialNumToRender,windowSizeReact.memofor pure componentsuseMemofor expensive calculationsuseCallbackfor event handlers
References
Comments
Markdown supported