
Security News
Feross on TBPN: How North Korea Hijacked Axios
Socket CEO Feross Aboukhadijeh breaks down how North Korea hijacked Axios and what it means for the future of software supply chain security.
nativewind-setup
Advanced tools
🎨 Quick setup tool for NativeWind in Expo projects - Get Tailwind CSS working in React Native with zero configuration!
Quick setup tool for NativeWind in Expo projects - Get Tailwind CSS working in React Native with zero configuration!
Run this command in your existing Expo project directory:
# Using npx (npm)
npx nativewind-setup
# Using pnpx (pnpm)
pnpx nativewind-setup
# Using bunx (bun)
bunx nativewind-setup
That's it! 🎉 Your Expo project now has NativeWind configured and ready to use.
This tool automatically:
📥 Installs required packages:
nativewindreact-native-reanimated@~3.17.4react-native-safe-area-context@5.4.0tailwindcss@^3.4.17 (dev dependency)prettier-plugin-tailwindcss@^0.5.11 (dev dependency)📝 Creates configuration files:
tailwind.config.ts - Tailwind configurationglobal.css - Global Tailwind stylesbabel.config.js - Babel configuration for NativeWindmetro.config.js - Metro bundler configurationnativewind-env.d.ts - TypeScript definitions🔧 Updates your app:
app/_layout.tsxAfter setup, you can use Tailwind classes in your components:
import { View, Text } from "react-native";
export default function HomeScreen() {
return (
<View className="flex-1 justify-center items-center bg-gray-100">
<Text className="text-3xl font-bold text-blue-600 mb-4">
Hello NativeWind! 🎨
</Text>
<View className="bg-white p-6 rounded-xl shadow-lg">
<Text className="text-gray-800 text-center">
Tailwind CSS is now working in your Expo app!
</Text>
</View>
</View>
);
}
create-expo-app or npx create-expo-app)Contributions are welcome! Please feel free to submit a Pull Request.
MIT License - see the LICENSE file for details.
Happy coding with NativeWind and Expo! 🚀
If you find this tool helpful, please consider giving it a ⭐ on GitHub!
FAQs
🎨 Quick setup tool for NativeWind in Expo projects - Get Tailwind CSS working in React Native with zero configuration!
The npm package nativewind-setup receives a total of 1 weekly downloads. As such, nativewind-setup popularity was classified as not popular.
We found that nativewind-setup demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Security News
Socket CEO Feross Aboukhadijeh breaks down how North Korea hijacked Axios and what it means for the future of software supply chain security.

Security News
OpenSSF has issued a high-severity advisory warning open source developers of an active Slack-based campaign using impersonation to deliver malware.

Research
/Security News
Malicious packages published to npm, PyPI, Go Modules, crates.io, and Packagist impersonate developer tooling to fetch staged malware, steal credentials and wallets, and enable remote access.