expo-tailwind-setup

Configure Tailwind CSS v4 in Expo projects with NativeWind v5 and react-native-css.

Updated Mar 17, 2026
One-click install
npx skills add https://github.com/involvex/tt2-build-wizard --skill expo-tailwind-setup-involvex
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: expo-tailwind-setup
Source: https://github.com/involvex/tt2-build-wizard/tree/main/.gemini/skills/expo-tailwind-setup
Command: npx skills add https://github.com/involvex/tt2-build-wizard --skill expo-tailwind-setup-involvex

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Tailwind CSS setup in Expo projects can be complex due to platform differences and the need for extra tooling. This Skill provides a complete, Babel-free approach to integrate Tailwind CSS v4 with NativeWind v5 and react-native-css across iOS, Android, and Web.

Core Features & Use Cases

  • Tailwind v4 integration across Expo projects using NativeWind and react-native-css.
  • Platform-wide styling: Works consistently on iOS, Android, and Web with shared utilities and CSS wrappers.
  • No Babel config required: The setup avoids Babel presets by using CSS-first tooling and Metro config tweaks.

Quick Start

Create an Expo project and apply the steps in this guide to enable Tailwind CSS v4 with NativeWind and react-native-css.

Frequently Asked Questions about expo-tailwind-setup

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I set up Tailwind CSS in an Expo project?

Setting up Tailwind CSS in an Expo project involves integrating NativeWind v5 and react-native-css to apply Tailwind v4 utilities. This Skill guides a complete configuration from Metro config to global styles and CSS wrappers across iOS, Android, and Web.

Can I use Tailwind CSS v4 with NativeWind in React Native without Babel?

Yes, you can use Tailwind CSS v4 with NativeWind v5 in React Native without Babel. This setup uses CSS-first tooling, react-native-css, and Metro config adjustments instead of relying on Babel presets to apply styles across iOS, Android, and Web.

What is the best way to configure NativeWind v5 for Expo across iOS, Android, and Web?

The best way to configure NativeWind v5 for Expo across iOS, Android, and Web is by using react-native-css and a compatible PostCSS setup. This ensures platform-wide styling consistency through shared utilities and CSS wrappers without Babel.

Do I need PostCSS and metro.config.js changes to enable Tailwind in Expo?

Yes, you need a configured metro.config.js and a compatible PostCSS setup to enable Tailwind in Expo. This combination processes the CSS-first tooling required for NativeWind v5 and react-native-css to function correctly across all platforms.

Why does Tailwind CSS styling break on different platforms in Expo?

Tailwind CSS styling can break on different platforms in Expo due to missing Metro config tweaks or incorrect PostCSS setup. A complete integration using NativeWind v5 and react-native-css resolves these platform differences for consistent iOS, Android, and Web styling.