expo-tailwind-setup

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

Updated Aug 27, 2026
One-click install
npx skills add https://github.com/infinite-loop-factory/app-factory --skill expo-tailwind-setup
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: expo-tailwind-setup
Source: https://github.com/infinite-loop-factory/app-factory/tree/main/.agents/skills/expo-tailwind-setup
Command: npx skills add https://github.com/infinite-loop-factory/app-factory --skill expo-tailwind-setup

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill helps developers quickly adopt Tailwind CSS in Expo projects by bridging React Native styling with Tailwind utilities, eliminating the need for bespoke styling approaches.

Core Features & Use Cases

  • Install and configure Tailwind CSS v4 in Expo using nativewind v5 alongside react-native-css for universal UI.
  • Provide Metro and PostCSS configurations, global styles, and platform-specific CSS vars to ensure consistent cross-platform styling.
  • Use when building cross-platform apps (iOS, Android, web) that want Tailwind utility classes in React Native.

Quick Start

Follow the steps to install dependencies and configure Metro and PostCSS to enable Tailwind in Expo projects.

Frequently Asked Questions about expo-tailwind-setup

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

FAQPage Schema
How do I configure Tailwind CSS v4 in an Expo project?

To configure Tailwind CSS v4 in an Expo project, you need to set up Metro and PostCSS configurations alongside NativeWind v5 and react-native-css. This integration bridges React Native styling with Tailwind utilities, ensuring consistent cross-platform UI for iOS, Android, and web.

Does NativeWind v5 require a Babel config for Expo?

No, NativeWind v5 removes the need for a Babel config when setting up Tailwind CSS in Expo. Instead, it uses a PostCSS plugin and Metro configuration to enable Tailwind utility classes across mobile and web environments.

How do I set up platform-specific CSS variables in React Native with Tailwind?

You can set up platform-specific CSS variables in React Native by configuring global styles and platform-aware styling rules through NativeWind v5. This ensures consistent cross-platform styling by applying specific CSS variables tailored for iOS, Android, and web environments.

What's the best way to unify styling across Expo web and mobile apps?

The best way to unify styling across Expo web and mobile apps is by integrating Tailwind CSS v4 using NativeWind v5 and react-native-css. This approach provides CSS-enabled component wrappers and platform-aware rules to ensure consistent UI across all devices.

Why are my Tailwind styles not applying in my Expo application?

Tailwind styles may not apply in an Expo application if the Metro and PostCSS configurations are not correctly set up for NativeWind v5. Properly configuring these build tools and ensuring CSS-enabled component wrappers are used will resolve styling issues across platforms.

Can I use Tailwind utility classes for React Native cross-platform apps?

Yes, you can use Tailwind utility classes for React Native cross-platform apps by integrating NativeWind v5 with react-native-css. This setup bridges React Native styling with Tailwind, providing consistent UI for iOS, Android, and web environments.