nativewind
NativeWind
Overview
NativeWind 4.x bridges Tailwind CSS 3.x into React Native, enabling className props on View, Text, Pressable, ScrollView, and other RN components. Provides familiar Tailwind utility classes with native rendering.
Install: pnpm add nativewind tailwindcss@3 + babel/metro configuration
Workflows
Initial setup:
- Install:
pnpm add nativewind tailwindcss@3 - Create
tailwind.config.jswith content paths pointing toapp/,components/, etc. - Create
global.csswith@tailwind base; @tailwind components; @tailwind utilities; - Update
babel.config.js: addnativewind/babelpreset - Update
metro.config.js: wrap withwithNativeWind - Create
nativewind-env.d.tswith/// <reference types="nativewind/types" /> - Import
global.cssin root_layout.tsx
More from dralgorhythm/claude-agentic-framework
react-native-reanimated
React Native Reanimated 4.x animation patterns. Use when adding animations, transitions, entering/exiting effects, or gesture-driven animations to React Native screens. Replaces Framer Motion for mobile.
115requirements-analysis
Analyze and refine product requirements. Use when clarifying scope, identifying gaps, or validating requirements. Covers requirement types and analysis techniques.
56compliance
Ensure regulatory compliance. Use when implementing GDPR, HIPAA, PCI-DSS, or SOC2 requirements. Covers compliance frameworks and controls.
56brainstorming
Generate and explore ideas effectively. Use when starting new projects, solving problems, or exploring solutions. Covers ideation techniques and divergent thinking.
55security-review
Conduct security code reviews. Use when reviewing code for vulnerabilities, assessing security posture, or auditing applications. Covers security review checklist.
53debugging
Troubleshoot and fix bugs systematically. Use when errors occur, tests fail, or unexpected behavior is observed. Covers root cause analysis and debugging strategies.
51