| name | setup-ui-native |
| description | Complete 6-step end-to-end setup guide for @gv-tech/ui-native, NativeWind v5 preview, Metro, Babel, and TypeScript in React Native and Expo projects. |
React Native Setup Skill (@gv-tech/ui-native)
Use this skill when installing and configuring @gv-tech/ui-native in Expo or React Native CLI projects.
6-Step Setup Instructions
Step 1: Install NativeWind v5 & Dependencies
npm install @gv-tech/ui-native @gv-tech/design-tokens nativewind@^5.0.0-preview.4 lucide-react-native react-native-reanimated react-native-svg
Add the lightningcss override in your package.json to prevent build deserialization issues with NativeWind v5 previews:
"overrides": {
"lightningcss": "1.30.1"
}
Step 2: Create Global CSS (src/global.css)
@import '@gv-tech/design-tokens/theme.css';
@import 'tailwindcss/theme.css' layer(theme);
@import 'tailwindcss/preflight.css' layer(base);
@import 'tailwindcss/utilities.css';
@import 'nativewind/theme';
@layer base {
:root {
: ;
: ;
: ;
: ;
: ;
: ;
: ;
: ;
: ;
: ;
: ;
: ;
: ;
: ;
}
{
: ;
: ;
: ;
: ;
: ;
: ;
: ;
: ;
: ;
: ;
: ;
}
}