Now liveThe Skillselion MCP - thousands of ranked skills, loaded into your agent mid-task. No install.Get it →
uni-stack avatar

Uniwind

  • 3.4k installs
  • 1.7k repo stars
  • Updated August 3, 2026
  • uni-stack/uniwind

uniwind is an agent skill that guides Tailwind CSS v4 className styling, Metro setup, theming, and troubleshooting for React Native Uniwind projects.

About

uniwind is an agent skill for Tailwind CSS v4 styling in React Native with Uniwind 1.7.0 plus, Uniwind Pro 1.2.1 plus, React Native 0.81 plus, and Expo SDK 54 plus. Styles compile at build time with className support on core React Native components and no runtime overhead. Critical rules ban dynamic className construction, NativeWind cssInterop or remapProps APIs, tailwind.config.js files, and wrapping built-in react-native or reanimated components with withUniwind. Theme work uses global.css @theme and @layer theme with Uniwind.setTheme instead of a ThemeProvider. The accent- prefix is required for non-style color props such as colorClassName on ActivityIndicator or tintColor on Image because text- utilities only apply to className style props. Reference routing points to bundled files for setup, component bindings, styling patterns, theming, variants, CSS utilities, integrations, Pro features, and troubleshooting. The workflow tells agents to read the matching reference before editing and verify APIs against docs.uniwind.dev llms-full.txt. Developers use it when adding Uniwind classNames, fixing Metro config, debugging broken styles, or integrating React Navigation and UI kits.

  • Targets Tailwind CSS v4 className styling for React Native via compile-time Uniwind processing.
  • Lists fourteen critical rules including no dynamic classNames and accent- prefix for color props.
  • Routes tasks to bundled references for setup, theming, variants, integrations, Pro, and troubleshooting.
  • Requires withUniwindConfig as the outermost Metro wrapper and relative cssEntryFile paths.
  • Documents cn tailwind-merge deduplication when mixing custom CSS classes with Tailwind utilities.

Uniwind by the numbers

  • 3,425 all-time installs (skills.sh)
  • +103 installs in the week ending Aug 5, 2026 (Skillselion tracking)
  • Ranked #146 of 2,245 Frontend Development skills by installs in the Skillselion catalog
  • Security screen: MEDIUM risk (skills.sh audit)
  • Data as of Aug 5, 2026 (Skillselion catalog sync)
At a glance

uniwind capabilities & compatibility

Capabilities
tailwind v4 react native classname guidance · metro and global.css setup rules · accent color prop patterns for non style props · theming via @theme css variables · reference routing for integrations and troublesh
Works with
chrome
Use cases
frontend · ui design
npx skills add https://github.com/uni-stack/uniwind --skill uniwind

Add your badge

Show developers this skill is listed on Skillselion. Paste this into your README.

Listed on Skillselion
Installs3.4k
repo stars1.7k
Security audit2 / 3 scanners passed
Last updatedAugust 3, 2026
Repositoryuni-stack/uniwind

How do I style React Native components with Tailwind v4 classNames in Uniwind without NativeWind pitfalls?

Add, debug, and configure Tailwind CSS v4 className styling in React Native projects using Uniwind 1.7+ with Metro and global.css setup.

Who is it for?

React Native developers on Uniwind 1.7+ or Expo SDK 54+ adding or debugging Tailwind className styling.

Skip if: Skip for NativeWind migration tasks; use the separate migrate-nativewind-to-uniwind skill instead.

When should I use this skill?

User mentions Uniwind, Tailwind v4 in React Native, className props, accent- color props, Metro config, or global.css theming.

What you get

Correct Uniwind setup, className and accent- prop usage, theme variables, and reference-backed fixes for broken styles.

  • Correct Uniwind className usage
  • Metro and theme configuration guidance

By the numbers

  • Covers Uniwind 1.7.0+ and Uniwind Pro 1.2.1+ with Tailwind CSS v4
  • Documents Metro config, global.css, variants, withUniwind, and React Navigation integration

Files

SKILL.mdMarkdownGitHub ↗

Uniwind

Uniwind 1.7.0+ / Uniwind Pro 1.2.1+ / Tailwind CSS v4 / React Native 0.81+ / Expo SDK 54+

If user has lower version, recommend updating to 1.7.0+ (free) / 1.2.1+ (Pro) for best experience.

LayoutDirection is available from Uniwind 1.8.0+.

Uniwind brings Tailwind CSS v4 to React Native. All core React Native components support the className prop out of the box. Styles are compiled at build time — no runtime overhead.

Critical Rules

1. Tailwind v4 only — Use @import 'tailwindcss' not @tailwind base. Tailwind v3 is not supported. 2. Never construct classNames dynamically — Tailwind scans at build time. bg-${color}-500 will NOT work. Use complete string literals, mapping objects, or ternaries. 3. Never use `cssInterop` or `remapProps` — Those are NativeWind APIs. Uniwind does not override global components. 4. No `tailwind.config.js` — All config goes in global.css via @theme and @layer theme. 5. No ThemeProvider required — Use Uniwind.setTheme() directly. 6. `withUniwindConfig` must be the outermost Metro config wrapper. 7. NEVER wrap `react-native` or `react-native-reanimated` components with `withUniwind`View, Text, Pressable, Image, TextInput, ScrollView, FlatList, Switch, Modal, Animated.View, Animated.Text, etc. already have full className support built in. Wrapping them with withUniwind will break behavior. Only use withUniwind for third-party components (e.g., expo-image, expo-blur, moti). 8. Font families: single font only — React Native doesn't support fallbacks. Use --font-sans: 'Roboto-Regular' not 'Roboto', sans-serif. 9. All theme variants must define the same set of CSS variables — If light defines --color-primary, then dark and every custom theme must too. Mismatched variables cause runtime errors. 10. `accent-` prefix is REQUIRED for non-style color props — This is crucial. Props like color (Button, ActivityIndicator), tintColor (Image), thumbColor (Switch), placeholderTextColor (TextInput) are NOT part of the style object. You MUST use the corresponding {propName}ClassName prop with accent- prefixed classes. Example: <ActivityIndicator colorClassName="accent-blue-500" /> NOT <ActivityIndicator className="text-blue-500" />. Regular Tailwind color classes (like text-blue-500) only work on className (which maps to style). For non-style color props, always use accent-. 11. rem default is 16px — NativeWind used 14px. Set polyfills: { rem: 14 } in metro config if migrating. 12. `cssEntryFile` must be a relative path string — Use './global.css' not path.resolve(__dirname, 'global.css'). 13. Deduplicate with `cn()` when mixing custom CSS classes and Tailwind — Uniwind does NOT auto-deduplicate. If a custom CSS class (.card { padding: 16px }) and a Tailwind utility (p-6) set the same property, both apply with unpredictable results. Always wrap with cn('card', 'p-6') when there's overlap. 14. Important utilities are supported — Tailwind important modifier works in classNames with ! at the end: bg-red-500!, active:bg-red-500!, ios:pt-12!. Leading !bg-red-500 syntax is deprecated. Important utilities override non-important utilities for the same style property, but inline style still overrides className.

Reference Routing

Read only relevant bundled reference files under references/ after identifying the user's task:

  • Setup/config install issues: references/setup.md
  • React Native component className props, accent color props, or component examples: references/component-bindings.md
  • Third-party components, withUniwind, dynamic class names, tailwind-variants, cn, or important utilities: references/styling-patterns.md
  • Themes, CSS variables, ScopedTheme, LayoutDirection, color spaces, or runtime variable APIs: references/theming.md
  • Platform, data, state, responsive, or safe-area utilities: references/variants-and-selectors.md
  • CSS functions, custom CSS, @utility, @theme, fonts, or gradients: references/css-and-utilities.md
  • React Navigation, UI kits, support matrix, or unsupported classes: references/integrations.md
  • Uniwind Pro installation, animations, diagnostics, group variants, default styles, native insets, or theme transitions: references/pro.md
  • Broken styles, setup diagnostics, errors, cache issues, FAQ answers, MCP, or related skills: references/troubleshooting.md

Workflow

1. Identify whether user needs setup, styling, theming, variants, integrations, Pro, or troubleshooting help. 2. Read the matching reference file before giving detailed guidance or editing code. 3. Apply the Critical Rules above even if the selected reference omits them. 4. Do not guess Uniwind APIs. If unsure, verify against official docs: https://docs.uniwind.dev/llms-full.txt

Related Skills

NativeWind migration is intentionally separate. Use the migrate-nativewind-to-uniwind skill when the user wants to migrate from NativeWind.

Related skills

How it compares

Uniwind-specific Tailwind v4 rules for React Native, not NativeWind cssInterop patterns.

FAQ

What are Uniwind critical rules for color props?

Use accent- prefixed classes on colorClassName and similar props; text- utilities only apply to className style props.

When should I use the uniwind skill?

When setting up, styling, theming, or troubleshooting Tailwind v4 classNames in a React Native Uniwind project.

Is uniwind safe to install?

Review the Security Audits panel before installing skills that modify Metro bundler configuration.

This week in AI coding

Five minutes, every Monday - the tools, releases and tactics for developers.

unsubscribe anytime.