The utility-first workflow you love from Tailwind CSS in your React Native applications.
The utility-first workflow you love from Tailwind CSS in your React Native applications.
Do you like using Tailwind CSS to style your apps? This helps you do that in React Native. Nativewind is not a component library, it's a styling library. If you're looking for component libraries that support Nativewind, see below.
Nativewind makes sure you're using the best style engine for any given platform (e.g. CSS StyleSheet or StyleSheet.create). Its goals are to to provide a consistent styling experience across all platforms, improving developer UX, component performance, and code maintainability.
Nativewind processes your styles during your application's build step and uses a minimal runtime to selectively apply reactive styles (eg changes to device orientation, light dark mode).
Built and maintained by the team at Ronin Software. We help teams build, fix, and ship React Native apps.
If you have an existing project, use these guides to configure Nativewind for your respective stack.
Alternatively, you can create a new pre-configured project via our Quickstart below.
We use rn-new to quickly stand up an Expo project with Nativewind.
npx rn-new@latest --nativewind (Expo SDK 54 + Nativewind v4.1)npx rn-new@next --nativewind (Expo SDK 54 + Nativewind v5)container-type and style-based container queries are not supportedrem unitsgroup and group/<name> syntaxNativewind v5 is a release candidate
Yes.
No.
compilerOptions.types, so I would like to disable the file generation.withNativeWind(<config>, { disableTypeScriptGeneration: true })
There are a number of different component libraries available that use Nativewind to achieve different results. You should pick the one that best suits your needs.
This multi-platform library focuses on achieving native feel for each individual platform using the familiar interface of Tailwind CSS.
This open source library offers universal shadcn/ui via React Native. Use this as a foundation to develop your own high-quality component library.
From the folks that brought you NativeBase, this library offers customizable cross-platform components designed to look & behave cleanly on every platform.
Learn more on our website.
Bug: Color opacity modifiers (`/80`, `/50`, etc.) break and return `undefined` due to trailing `null` in `colorMix`
LogBox UI breaks on React Native 0.86 when using nativewind/babel preset
hidden lg:block doesn't work but max-sm:hidden does
`platformSelect` does not work with `boxShadow` and css syntax
Class name doubles in component with style set to array
Android: `font-bold` via className clips multi-word text after a space (identical plain `style` renders correctly)
nativewind/babel cannot resolve JSX transform with Bun isolated installs
printUpgradeWarning crashes the app when serializing props that contain a context object with a throwing getter (e.g. React Navigation)
withNativeWind type error when passing config as expo metro config
Custom colors on `border-s-*` and `border-e-*` don't work