Back to Skills

tailwind-setup

Set up Tailwind CSS v4 in Expo with react-native-css and NativeWind v5 for universal styling

180stars7forksUpdated 1/16/2026

Security Assessment

Safe(90/100)

Detected risks:

Sensitive File Access([SKILL.md] .env)
Security Score90/100

About tailwind-setup

The tailwind-setup skill provides a comprehensive guide for developers looking to integrate Tailwind CSS v4 into their Expo applications using react-native-css and NativeWind v5. This skill addresses the common challenges faced when implementing a consistent styling framework across iOS, Android, and Web platforms. By leveraging Tailwind CSS's utility-first approach, developers can streamline their styling process and enhance the maintainability of their codebase, ensuring a more efficient development workflow.

FAQ

What are the main requirements for using this setup?

You need to have Expo installed along with the specified dependencies including Tailwind CSS v4, NativeWind v5, and react-native-css.

Is Babel configuration needed for this setup?

No, with Tailwind v4 and NativeWind v5, you do NOT need a babel.config.js file for Tailwind.

Can this setup be used for web applications?

Yes, the setup is designed for universal styling across iOS, Android, and Web.

What is the purpose of the global CSS file?

The global CSS file helps to import Tailwind's base, theme, and utility styles, and configure platform-specific font families.

Are there any known limitations with this setup?

The configuration requires specific versions of the libraries and may not be compatible with older versions of Expo or React Native.

Install tailwind-setup

Download and extract the skill files to your .claude/skills/ directory.

Quick Setup:

  1. Copy the skill folder to .claude/skills/
  2. Claude will automatically detect and use the skill

Repository

expo/skills