expo-tailwind-setup

Configure Tailwind CSS v4 with NativeWind v5 in Expo applications.

2.4k|125|Updated Nov 30, 2025
One-click install
npx skills add https://github.com/expo/skills --skill expo-tailwind-setup-expo
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: expo-tailwind-setup
Source: https://github.com/expo/skills/tree/main/plugins/expo-app-design/skills/expo-tailwind-setup
Command: npx skills add https://github.com/expo/skills --skill expo-tailwind-setup-expo

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This Skill simplifies the setup of Tailwind CSS v4 within Expo projects, enabling universal styling across iOS, Android, and Web using NativeWind v5 and react-native-css.

Core Features & Use Cases

  • Unified Styling: Apply Tailwind CSS classes for consistent design across all platforms.
  • Modern Tooling: Integrates Tailwind CSS v4, NativeWind v5, and react-native-css for a robust styling solution.
  • Platform-Specific Styles: Utilize CSS media queries for tailored styles on different operating systems.
  • Use Case: Quickly set up a new Expo project with Tailwind CSS, allowing your team to rapidly prototype and build beautiful, consistent UIs without complex configuration.

Quick Start

Follow the installation steps in the SKILL.md to set up Tailwind CSS v4 in 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 in an Expo project?

Setting up Tailwind CSS in Expo involves configuring Tailwind CSS v4 with NativeWind v5 and react-native-css. The process integrates PostCSS and provides component wrappers to enable className support for universal styling across iOS, Android, and Web.

Can I use Tailwind CSS classes for cross-platform styling in React Native?

Yes, you can use Tailwind CSS classes for cross-platform styling in React Native through NativeWind v5. It enables consistent design across iOS, Android, and Web by utilizing CSS media queries for platform-specific styles within your Expo application.

Does NativeWind v5 support Tailwind CSS v4 for universal app development?

NativeWind v5 fully supports Tailwind CSS v4 for universal app development in Expo. It leverages react-native-css to apply unified styling, allowing rapid prototyping and consistent UIs without complex manual configuration across mobile and web.

What is the best way to configure cross-platform UI styling in Expo?

The best way to configure cross-platform UI styling in Expo is using NativeWind v5 with Tailwind CSS v4. This approach integrates PostCSS and react-native-css, allowing you to apply Tailwind classes and use CSS media queries for platform-specific designs.

Do I need PostCSS to configure Tailwind CSS with NativeWind in Expo?

Yes, PostCSS integration is required to configure Tailwind CSS v4 with NativeWind v5 in Expo. It processes the Tailwind classes and works alongside react-native-css to enable className support and universal styling across iOS, Android, and Web.