Skip to content
Codex DesignBETA

Expo Tailwind Setup skill for Codex.

The expo-tailwind-setup skill has Codex set up Tailwind CSS v4 in an Expo app with react-native-css and NativeWind v5, so one set of class names styles iOS, Android and web. It ships in the Expo plugin for Codex.

Updated November 12, 2026 · 3 min read

At a glance

Skill nameexpo-tailwind-setup
Comes withThe Expo plugin, by the Expo Team
Installcodex plugin add expo@openai-curated, or /plugins in Codex
Codex uses itWhen you ask it to set up Tailwind CSS, NativeWind or react-native-css in an Expo project
Sourceopenai/plugins on GitHub

What it does

The skill walks Codex through the whole setup:

  • Packages: npx expo install for Tailwind v4, pinned preview builds of NativeWind v5 and react-native-css, @tailwindcss/postcss, tailwind-merge and clsx, plus a lightningcss resolution in package.json.
  • Config: metro.config.js wrapped in withNativewind with inline variables turned off, a postcss.config.mjs, and a src/global.css that imports Tailwind’s layers and sets fonts per platform.
  • No Babel preset: it removes old NativeWind Babel config, which this setup doesn’t need.
  • Wrappers: typed components in src/tw/ that add className to View, Text, Pressable, TextInput, ScrollView, Expo Router’s Link, expo-image and animated views.

It also covers theme variables with @theme, @media ios and @media android styles, and Apple system colors as CSS variables with light and dark values. On iOS, those colors use the native platform colors. A short list explains what changed from NativeWind v4 and Tailwind v3, followed by fixes for styles that don’t apply.

When to use it

Use it when you want to style an Expo app with Tailwind classes, or move an older NativeWind v4 setup to Tailwind v4. Note that the plugin’s building-native-ui skill tells Codex to use inline styles, so ask for this skill by name when you want Tailwind.

Try it

Add Tailwind to an Expo app
Use the expo-tailwind-setup skill. Set up Tailwind CSS v4 with NativeWind v5 in this Expo app, add the src/tw component wrappers, and register the Apple system colors as theme colors. Then restyle the home screen with class names.

Does it work in Claude Code?

Yes. The skill is a single SKILL.md with no Codex-only tools, so you can copy the folder from GitHub into ~/.claude/skills.

Keep reading

An independent plugin for Codex. Not affiliated with or endorsed by OpenAI.