expo-tailwind-setup

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

1|1|Updated Feb 24, 2026
One-click install
npx skills add https://github.com/openridesph/openrides --skill expo-tailwind-setup-openridesph
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: expo-tailwind-setup
Source: https://github.com/openridesph/openrides/tree/main/.agents/skills/expo-tailwind-setup
Command: npx skills add https://github.com/openridesph/openrides --skill expo-tailwind-setup-openridesph

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This setup solves the challenge of integrating Tailwind CSS v4 into Expo apps by combining NativeWind v5, react-native-css, and a CSS-first workflow that eliminates Babel config.

Core Features & Use Cases

  • CSS-first Tailwind v4 integration with NativeWind v5 and react-native-css
  • Metro config integration via withNativewind to support cross-platform styling
  • PostCSS-based tooling including @tailwindcss/postcss for Expo projects
  • Global CSS and platform-specific font configurations for iOS/Android/Web
  • Component wrappers to enable className support in React Native components

Quick Start

Install dependencies, configure Metro and PostCSS, create the necessary CSS wrappers and global styles, and start your Expo project.

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 v4 in an Expo project?

To set up Tailwind CSS v4 in Expo, configure Metro with withNativewind, integrate PostCSS using @tailwindcss/postcss, and apply component wrappers to enable className-based styling across iOS, Android, and Web without Babel.

Does NativeWind v5 work with Expo and Tailwind CSS v4?

Yes, NativeWind v5 works with Expo and Tailwind CSS v4 by combining a CSS-first workflow with react-native-css. This integration eliminates Babel config requirements and enables cross-platform styling using standard CSS inputs.

What is the best way to use Tailwind className styling in React Native?

The best way to use Tailwind className styling in React Native is via explicit component wrappers. These wrappers bridge NativeWind v5 and react-native-css, allowing you to apply Tailwind utility classes directly to React Native components without Babel.

Can I use a CSS-first workflow for React Native styling without Babel?

Yes, you can use a CSS-first workflow for React Native styling without Babel. By leveraging NativeWind v5 and react-native-css, the setup processes global CSS and PostCSS directly through Metro configuration instead of Babel.

How do I configure PostCSS and Metro for cross-platform styling in Expo?

Configure PostCSS and Metro for cross-platform styling in Expo by integrating @tailwindcss/postcss for tooling and wrapping the Metro config with withNativewind. This setup supports global styles and platform-specific fonts across iOS, Android, and Web.