expo-tailwind-setup

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

Updated Feb 11, 2026
One-click install
npx skills add https://github.com/lexand-dev/subtrack-monorepo --skill expo-tailwind-setup-lexand-dev
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: expo-tailwind-setup
Source: https://github.com/lexand-dev/subtrack-monorepo/tree/main/.agents/skills/expo-tailwind-setup
Command: npx skills add https://github.com/lexand-dev/subtrack-monorepo --skill expo-tailwind-setup-lexand-dev

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires tailwindcss, nativewind, react-native-css, @tailwindcss/postcss, tailwind-merge, clsx, and includes scripts (resource) and references (resource) components.

What problem does it solve?

This Skill streamlines the setup of Tailwind CSS v4 within Expo projects, enabling consistent and efficient styling across mobile and web platforms.

Core Features & Use Cases

  • Universal Styling: Apply Tailwind CSS classes for consistent UI design on iOS, Android, and Web.
  • Modern Tooling: Integrates Tailwind CSS v4, NativeWind v5, and react-native-css for a robust styling solution.
  • Use Case: Quickly set up a new Expo project with Tailwind CSS, allowing developers to immediately start building UIs with utility-first classes.

Quick Start

Install Tailwind CSS v4 in your Expo project by running the provided npm install command.

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?

Set up Tailwind CSS v4 in an Expo project by installing NativeWind v5 and react-native-css, then configuring Metro and PostCSS with global CSS imports to enable universal utility-first styling across mobile and web platforms.

Can I use Tailwind CSS classes for both mobile and web in React Native?

Yes, you can use Tailwind CSS classes for universal styling across iOS, Android, and Web by integrating NativeWind v5 with react-native-css and PostCSS in your Expo application.

What dependencies are needed to configure Tailwind CSS with NativeWind v5?

Configuring Tailwind CSS with NativeWind v5 requires installing tailwindcss, nativewind, react-native-css, @tailwindcss/postcss, tailwind-merge, and clsx to support PostCSS integration and custom component wrappers.

Does Expo support Tailwind CSS v4 without additional configuration tools?

No, Expo requires specific Metro and PostCSS configurations along with global CSS imports and custom component wrappers to properly support Tailwind CSS v4 and NativeWind v5 for universal styling.

Why do I need react-native-css for Tailwind styling in Expo?

React-native-css is needed to bridge Tailwind CSS v4 utility classes with the React Native rendering engine, enabling consistent styling across mobile and web platforms when using NativeWind v5.

What is the best way to style an Expo application universally?

The best way to style an Expo application universally is configuring Tailwind CSS v4 with NativeWind v5 and react-native-css, applying utility-first classes consistently across iOS, Android, and Web platforms.