Skip to main content
Back to registry

expo-tailwind-setup

expo/skills

This guide covers setting up Tailwind CSS v4 in Expo using react-native-css and NativeWind v5 for universal styling across iOS, Android, and Web.

Installs9
Install command
npx skills add https://github.com/expo/skills --skill expo-tailwind-setup
Security audits
Gen Agent Trust HubPASS
SocketPASS
SnykPASS
About this skill
This guide covers setting up Tailwind CSS v4 in Expo using react-native-css and NativeWind v5 for universal styling across iOS, Android, and Web. This setup uses: Add resolutions for lightningcss compatibility: Create or update metro.config.js : Create postcss.config.mjs : Create src/global.css : With Tailwind v4 and NativeWind v5, you do NOT need a babel.config.js for Tailwind. Remove any NativeWind babel presets if present: Since react-native-css requires explicit CSS element wrapping, create reusable components: Import CSS-wrapped components from your tw directory: Add custom theme variables in your global.css using @theme : Use platform media queries for platform-specific styling: Create a CSS file for Apple semantic colors: Then use in components: Use the useCSSVariable hook: Add className to component props: - Tailwind CSS v4 - Modern CSS-first configuration - react-native-css - CSS runtime for React Native - NativeWind v5 - Metro transformer for Tailwind in React Native - @tailwindcss/postcss - PostCSS plugin for Tailwind v4 - autoprefixer is not needed in Expo because of lightningcss - postcss is included in expo by default - No babel.config.js - Configuration is now CSS-first - PostCSS plugin - Uses @tailwindcss/postcss instead of tailwindcss - CSS imports - Use @import "tailwindcss/..." instead of @tailwind directives - Theme config - Use @theme in CSS instead of...

Source description provided by the upstream skill listing. Community reviews and install context appear in the sections below.

Community Reviews

Latest reviews

Sign in to review

No community reviews yet. Be the first to review.

Browse this skill in context
FAQ
What does expo-tailwind-setup do?

This guide covers setting up Tailwind CSS v4 in Expo using react-native-css and NativeWind v5 for universal styling across iOS, Android, and Web.

Is expo-tailwind-setup good?

expo-tailwind-setup does not have approved reviews yet, so SkillJury cannot publish a community verdict.

What agent does expo-tailwind-setup work with?

expo-tailwind-setup currently lists compatibility with Agent compatibility has not been published yet..

What are alternatives to expo-tailwind-setup?

Skills in the same category include telegram-bot-builder, flutter-app-size, sharp-edges, iterative-retrieval.

How do I install expo-tailwind-setup?

npx skills add https://github.com/expo/skills --skill expo-tailwind-setup

Related skills

More from expo/skills

Related skills

Alternatives in Software Engineering