Skip to content
uni-stack avatar

Migrate Nativewind To Uniwind

Step-by-step migration from NativeWind to Uniwind that handles packages, Metro and CSS config, and breaking changes.

CCM score
70 of 100
skills.sh installs
2.1K
GitHub stars
1.8K
last updated
Aug 21, 2026
View on GitHub

Own this skill? Claim it

What it does

  • Covers package removal, Metro and Babel config changes, Tailwind 4 upgrade, and theme conversion from tailwind.config.js to CSS @theme
  • Includes cssInterop and remapProps removal, plus withUniwind wrapping for third-party components such as expo-image and expo-linear-gradient
  • Enforces polyfills.rem set to 14, relative cssEntryFile paths, and a single font family per theme value because React Native lacks font fallbacks
  • Designed for React Native projects on Expo or bare RN that currently use NativeWind and need to move to Tailwind 4

Install

$ npx -y skills add uni-stack/uniwind --skill migrate-nativewind-to-uniwind -y

Installs into .agents/skills for every agent it finds here, and .claude/skills for Claude Code.

Files

Migrate NativeWind to Uniwind

Uniwind replaces NativeWind with better performance and stability. It requires Tailwind CSS 4 and uses CSS-based theming instead of JS config.

Pre-Migration Checklist

Before starting, read the project's existing config files to understand the current setup:

  • package.json (NativeWind version, dependencies)
  • tailwind.config.js / tailwind.config.ts
  • metro.config.js
  • babel.config.js
  • global.css or equivalent CSS entry file
  • nativewind-env.d.ts or nativewind.d.ts
  • Any file using cssInterop or remapProps from nativewind
  • Any file importing from react-native-css-interop
  • Any ThemeProvider from NativeWind (vars() usage)

Step 1: Remove NativeWind and Related Packages

Uninstall ALL of these packages (if present):

npm uninstall nativewind react-native-css-interop
# or
yarn remove nativewind react-native-css-interop
# or
bun remove nativewind react-native-css-interop

Details

Repository
github.com/uni-stack/uniwind
Categories
Mobile Apps, Frontend & UI Code

More from uni-stack/uniwind

All 2

Similar to Migrate Nativewind To Uniwind

More Mobile Apps