react-native-elements
БесплатноБез исполняемых скриптовНе проверенReact Native Elements UI component library best practices for performance, theming, and proper component usage. Use when building React Native apps with RNE…
от pproenca★ 231 звезда на GitHubОб этом скилле
Community React Native Elements Best Practices
Comprehensive best practices guide for React Native Elements applications. Contains 45 rules across 8 categories, prioritized by impact to guide component usage, theming, and performance optimization.
When to Apply
Reference these guidelines when:
- Setting up React Native Elements in a new project
- Configuring ThemeProvider and createTheme
- Building lists with ListItem components
- Implementing form inputs with Input and SearchBar
- Optimizing FlatList performance with RNE components
- Reviewing code using React Native Elements
Rule Categories by Priority
| Priority | Category | Impact | Prefix |
|---|---|---|---|
| 1 | Import & Setup | CRITICAL | setup- |
| 2 | Theme Architecture | CRITICAL | theme- |
| 3 | Component Selection | HIGH | comp- |
| 4 | List Performance | HIGH | list- |
| 5 | Props & Configuration | MEDIUM-HIGH | props- |
| 6 | Styling Patterns | MEDIUM | style- |
| 7 | Callbacks & Events | MEDIUM | event- |
| 8 | Advanced Patterns | LOW | adv- |
Quick Reference
1. Import & Setup (CRITICAL)
setup-themeprovider- Wrap app with ThemeProvider for consistent themingsetup-imports- Use @rneui/themed vs @rneui/base correctlysetup-createtheme- Type-safe theme configuration with createThemesetup-tree-shaking- Enable proper tree-shaking for bundle sizesetup-safe-area- Configure SafeAreaProvider for notched devices
2. Theme Architecture (CRITICAL)
theme-usetheme-hook- Access theme reactively with useThemetheme-dark-mode- Configure light/dark mode with createThemetheme-component-defaults- Set component defaults in themetheme-updatetheme- Runtime theme updates without remounttheme-color-scheme- Sync with system color schemetheme-custom-colors- Extend theme with custom colors safely
3. Component Selection (HIGH)
comp-listitem-over-view- Use ListItem for list rowscomp-input-over-textinput- Use Input for form fieldscomp-searchbar-platform- Platform-specific SearchBar variantscomp-button-type- Use Button type prop for variantscomp-icon-source- Choose Icon type wisely for bundle sizecomp-avatar-vs-image- Use Avatar for profile images
4. List Performance (HIGH)
list-memo-items- Memoize ListItem in FlatListlist-keyextractor- Always provide keyExtractorlist-getitemlayout- Use getItemLayout for fixed heightslist-renderitem-callback- Extract renderItem with useCallbacklist-windowsize- Configure windowSize for memory balancelist-virtualized- Use FlatList over ScrollViewlist-removeClipped- Configure removeClippedSubviews carefully
5. Props & Configuration (MEDIUM-HIGH)
props-loading-state- Use loading prop for async operationsprops-disabled-styling- Configure disabledStyle for feedbackprops-input-validation- Use errorMessage for validationprops-icon-configuration- Configure Icon props correctlyprops-searchbar-loading- Show loading state in SearchBarprops-button-color- Use color prop for semantic colors
6. Styling Patterns (MEDIUM)
style-stylesheet- Use StyleSheet.create over inline objectsstyle-containerStyle- Use containerStyle for wrappersstyle-usememo-dynamic- Memoize dynamic stylesstyle-theme-colors- Use theme colors over hardcoded valuesstyle-component-props- Prefer component-specific style props
7. Callbacks & Events (MEDIUM)
event-usecallback- Wrap handlers in useCallbackevent-debounce-search- Debounce SearchBar o
Установить react-native-elements в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
Вложенные файлы
FAQ
Что делает скилл react-native-elements?
React Native Elements UI component library best practices for performance, theming, and proper component usage. Use when building React Native apps with RNE, configuring themes, optimizing lists with ListItem, or reviewing RNE component code.
Как установить скилл react-native-elements?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл react-native-elements запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
mcp-builder
Guide for creating high-quality MCP (Model Context Protocol) servers that enable LLMs to interact with external services through well-designed tools. Use when…
от Anthropicclaude-api
Reference for the Claude API / Anthropic SDK — model ids, pricing, params, streaming, tool use, MCP, agents, caching, token counting, model migration. TRIGGER…
от Anthropicalgorithmic-art
Creating algorithmic art using p5.js with seeded randomness and interactive parameter exploration. Use this when users request creating art using code…
от Anthropicmcp-integration
This skill should be used when the user asks to "add MCP server", "integrate MCP", "configure MCP in plugin", "use .mcp.json", "set up Model Context…
от Anthropic