expo-tailwind-setup
Skill by sickn33
Sets up Tailwind CSS v4 in an Expo app using react-native-css and NativeWind v5 for styling across iOS, Android, and Web. Intended for Expo developers who want Tailwind-style styling.
Install expo-tailwind-setup
Built from the published package, never by AI.
git clone --depth 1 https://github.com/sickn33/agentic-awesome-skills /tmp/agentic-awesome-skills && mkdir -p ~/.claude/skills && cp -r /tmp/agentic-awesome-skills/skills/expo-tailwind-setup ~/.claude/skills/expo-tailwind-setupRun in your terminal. Claude Code loads skills from ~/.claude/skills automatically.
git clone --depth 1 https://github.com/sickn33/agentic-awesome-skills /tmp/agentic-awesome-skills && mkdir -p ~/.gemini/antigravity-cli/skills && cp -r /tmp/agentic-awesome-skills/skills/expo-tailwind-setup ~/.gemini/antigravity-cli/skills/expo-tailwind-setupAntigravity CLI loads skills from ~/.gemini/antigravity-cli/skills, or .agents/skills for one project.
Step-by-step: install expo-tailwind-setup in Antigravity CLI
Skills can run scripts on your machine. Some need an API key: check the README.
About
This skill guides an AI assistant through setting up Tailwind CSS v4 in an Expo project using react-native-css and NativeWind v5, so styling works across iOS, Android, and Web. It covers installing the packages, configuring Metro with withNativewind, adding a PostCSS config that uses @tailwindcss/postcss, and creating a global.css file with platform-specific font variables. It also notes that a Babel config is no longer needed for Tailwind with these versions.
It provides reusable wrapper components for View, Text, ScrollView, Pressable, TextInput, Image and other React Native components so className props work. It shows how to define custom theme variables with @theme, use Apple system colors through platformColor, and read CSS variables in JavaScript with useCSSVariable. The source is aimed at developers building Expo apps. It describes itself as a historical NativeWind 5 preview recipe and says versions should be verified before changing an existing app.
Written from the project's SKILL.md and checked against it.
What it can do
- Package installationInstalls tailwindcss, nativewind, react-native-css, @tailwindcss/postcss and related packages with pinned versions.
- Metro configurationWraps the default Expo Metro config with withNativewind and sets inlineVariables and className polyfill options.
- PostCSS setupCreates a postcss.config.mjs that uses the @tailwindcss/postcss plugin.
- Global CSS and fontsCreates a global.css with Tailwind imports and platform-specific font family variables for Android and iOS.
- CSS component wrappersProvides className-enabled wrappers for View, Text, ScrollView, Pressable, TextInput, Link, Image and TouchableHighlight.
- Apple system colorsMaps iOS semantic colors through platformColor and registers them as Tailwind theme colors.
- CSS variables in JavaScriptUses a useCSSVariable hook to read theme variables inside component code.
What you need
- An Expo project
- npm or Yarn package manager
- Expo install command for dependency versions
- A lightningcss resolution in package.json
Try asking
- Set up Tailwind CSS v4 and NativeWind v5 in my Expo app
- Create wrapper components so className works on View and Text
- Add Apple system colors as Tailwind theme colors in my Expo app
Good to know
- Describes itself as a historical NativeWind 5 preview or nightly recipe.
- Pinned preview and nightly package versions may not match current Expo SDK or React versions.
- Package resolutions differ between Yarn and npm, so the lightningcss resolution may not apply to npm.
- Native and web builds and accessibility behavior must be validated after setup.
Security check
ANo download-and-run commands, hidden instructions or signs of sending keys out were found.
Checked automatically: skills/expo-tailwind-setup/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work
Inside the skill
-
SKILL.md13 KB -
agents/openai.yaml359 B
Alternatives to expo-tailwind-setup
All alternatives →Runs a 7-stage workflow for auditing, cleaning up and reviewing GitHub repositories, plus competitor analysis. Written for developers who want a repo checked for secrets, junk files and documentation gaps.
Teaches an AI assistant to build, debug and explain Gradio web UIs and ML demos in Python. It covers the core API, components, event listeners, layouts and the MCP server option. Aimed at Python developers who work with Gradio.
Recommends menus, buttons, toolbars and disclosure controls for Apple platforms using Human Interface Guidelines conventions. Built for developers and designers making iOS, iPadOS, macOS or visionOS interfaces. Checks existing project design context before asking questions.
Creates production-ready FastAPI project structures with async patterns, dependency injection, and error handling. It is for developers starting new FastAPI applications or backend API projects.
Analyzes Android apps to find user workflows to expose as AppFunctions, so AI agents and system shortcuts can run them without opening the app UI. Generates Kotlin code and refines KDoc for Android developers.
Creates, edits, validates and runs Agent QA tests, suites and hooks through MCP or CLI. It keeps canonical IDs and schema contracts intact, for developers and QA teams using Agent QA.
Compare with openclaw-github-repo-commander, gradio or hig-components-menus
expo-tailwind-setup: common questions
Does this skill need a babel.config.js for Tailwind?
The source says no. With Tailwind v4 and NativeWind v5, a Babel config is not needed for Tailwind, and NativeWind Babel presets should be removed if present.
Which platforms does this setup target?
The source says it provides universal styling across iOS, Android, and Web using react-native-css and NativeWind v5.
Is this setup verified for current Expo versions?
The source says it is a historical preview recipe, so users should verify current Expo SDK, React, and NativeWind compatibility before changing an existing app.
How do I install expo-tailwind-setup?
Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.
Is expo-tailwind-setup free?
The code is published under the MIT licence. The service it connects to may have its own pricing.
Is expo-tailwind-setup safe to use?
It scores 92 of 100. Grades: maintenance A, licence A, quality A. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.
What are alternatives to expo-tailwind-setup?
Similar skills: openclaw-github-repo-commander, gradio, hig-components-menus, fastapi-templates.
