Last updated on February 21, 2026
Built on Tailwind CSS
Nativewind is built upon the Tailwind CSS style language. Nativewind v5 uses Tailwind CSS v4, which introduces a CSS-first configuration approach. We recommend reading the Tailwind CSS guides on:
Since Nativewind compiles your Tailwind CSS at build time, the full Tailwind CSS language is available. The entire set of utilities, variants, functions, and directives will work on web. On native, Nativewind applies the subset that React Native's style engine supports.
Supporting React Native
Nativewind works similarly to CSS on the web: it accepts all classes but only applies styles that are supported on the current platform. For example, grid will work on web but not on native (where React Native only supports flexbox layout).
You can always use a platform variant to apply styles selectively:
Tailwind CSS v4 Changes
Nativewind v5 uses Tailwind CSS v4, which has significant differences from v3:
- CSS-first configuration: Theming is done via
@themeblocks in CSS instead oftailwind.config.js - New directives:
@import,@theme,@utility,@custom-variant,@sourcereplace@tailwind,@apply,@layer - No config file required:
tailwind.config.jsis optional (use@configto reference one if needed)
See the Configuration page for details on setting up your project.