expo-tailwind

Configure Tailwind CSS with Expo and React Native using NativeWind v5.

4|Updated Apr 9, 2026
One-click install
npx skills add https://github.com/thejordanleopold/claude-code-skills-distilled --skill expo-tailwind-thejordanleopold
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: expo-tailwind
Source: https://github.com/thejordanleopold/claude-code-skills-distilled/tree/main/expo-tailwind
Command: npx skills add https://github.com/thejordanleopold/claude-code-skills-distilled --skill expo-tailwind-thejordanleopold

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Tailwind CSS styling in Expo/React Native projects can be tricky across platforms; this skill provides a cohesive, CSS-first approach with NativeWind v5 and react-native-css to unify iOS, Android, and web styling, including Metro and PostCSS configurations, platform-specific styles, and dark mode support.

Core Features & Use Cases

  • Metro config setup for NativeWind integration
  • PostCSS configuration using @tailwindcss/postcss for a CSS-first workflow
  • CSS component wrappers and explicit className mappings to React Native components
  • Platform-specific styling across iOS and Android, plus web compatibility
  • Apple system colors integration via platformColor() and dark mode support
  • End-to-end setup for cross-platform theming and dark-mode consistency

Quick Start

Install the required packages, configure Metro with NativeWind, set up PostCSS, and import the global CSS at your app entry point.

Frequently Asked Questions about expo-tailwind

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

FAQPage Schema
How do I configure Tailwind CSS with Expo and React Native for cross-platform styling?

To configure Tailwind CSS with Expo and React Native, you set up Metro config, PostCSS using @tailwindcss/postcss, and NativeWind v5 to provide a unified CSS-first styling workflow across iOS, Android, and web.

Does NativeWind v5 support dark mode and Apple system colors in Expo?

Yes, NativeWind v5 supports dark mode and integrates Apple system colors using platformColor() to ensure reliable theming and visual consistency across iOS, Android, and web platforms.

What's the best way to apply platform-specific styles in React Native using Tailwind?

Applying platform-specific styles in React Native is best handled through NativeWind v5 and explicit className mappings to React Native components, ensuring targeted tweaks for iOS, Android, and web compatibility.

Can I use a CSS-first styling workflow with static class usage in an existing Expo project?

Yes, you can apply a CSS-first pipeline with static class usage to existing Expo projects by installing required packages, configuring Metro with NativeWind, setting up PostCSS, and importing the global CSS at your app entry point.

Why does my Tailwind styling break across iOS and Android in React Native?

Tailwind styling often breaks across iOS and Android due to misconfigured Metro or PostCSS setups; implementing NativeWind v5 with react-native-css unifies cross-platform styling and resolves these inconsistencies.