Catalogue / nativewind
nativewind
MITSignedUse Tailwind CSS to style React Native components across web and native--- name: nativewind description: Use Tailwind CSS to style React Native components across web and native metadata: author: Hairy version: "2026-02-26" source: Generated from https://github.com/nativewind/website, scripts located at https://github.com/hairyf/skills ---
> Skill is based on NativeWind v5 (Tailwind CSS v4), generated at 2026-02-26.
NativeWind compiles Tailwind CSS for React Native: className on components, StyleSheet.create on native and reuse of the Tailwind stylesheet on web. It supports media/container queries, pseudo-classes (hover, focus, active), platform variants (ios:, android:, native:, web:), dark mode, and custom theme/utilities via CSS-first config.
Core References
| Topic | Description | Reference | |-------|-------------|-----------| | Setup | CSS file, Metro withNativewind, PostCSS, app entry, optional lightningcss pin | core-setup | | Configuration | CSS-first config, @theme, @source, nativewind/theme, custom utilities/variants | core-config | | v5 Tailwind foundation | Built on Tailwind v4, CSS-first, web vs native support | core-v5-tailwind-foundation | | v5 Units | px, %, vw/vh, rem, em on native; dp vs px; rem sizing | core-v5-units | | v5 Functions & directives | @import, @theme, @utility; var(), calc(), env(), color-mix(); RN functions | core-v5-functions-directives | | v5 Style specificity | Order of precedence, !important, merging className and style | core-v5-style-specificity |
Features
| Topic | Description | Reference | |-------|-------------|-----------| | Styling components | className usage, custom vs third-party, styled() / cssInterop / remapProps, nativeStyleToProp | features-styling | | Platform & responsive | Platform variants, units, breakpoints, safe-area utilities | features-platform | | v5 Responsive | Breakpoints on native, media queries, platform media, reactive updates | features-v5-responsive | | States & dark mode | hover/focus/active, disabled/empty, group modifiers, dark:, data attributes | features-states | | v5 States & pseudo-classes | Detailed pseudo-class table, selection/placeholder, group, ltr/rtl | features-v5-states-pseudo | | v5 Third-party guide | When className isn't passed, multiple style props, dynamic mapping @prop | features-v5-third-party-guide | | Theming & colors | @theme tokens, vars() for runtime CSS variables, color behavior | advanced-theme |
API (v5)
| Topic | Description | Reference | |-------|-------------|-----------| | withNativewind | Metro wrapper options (globalClassNamePolyfill, typescriptEnvPath) | api-with-nativewind | | styled | Third-party components, nativeStyleToProp, multiple className props | api-styled | | vars & runtime variables | vars(), VariableContextProvider, useUnstableNativeVariable | api-vars-runtime | | cssInterop / remapProps | Legacy API (deprecated; use styled) — migration reference | api-css-interop-remap |
Advanced
| Topic | Description | Reference | |-------|-------------|-----------| | Migrate v4 → v5 | Steps, breaking changes, deprecations | advanced-migrate-v4 |
Best Practices
| Topic | Description | Reference | |-------|-------------|-----------| | Correctness & debugging | Explicit light/dark, colors on Text not View, cache, DEBUG, verifyInstallation | best-practices-performance | | v5 Deprecations | useColorScheme → RN, cssInterop/remapProps → styled, @prop modifier | best-practices-v5-deprecations |
| File | Size | SHA-256 |
|---|---|---|
| GENERATION.md | 140 B | 7c038bc6d144 |
| SKILL.md | 4.2 kB | 2e1460c0ecd1 |
| SKILVAULT_SOURCE.json | 3.6 kB | fd72426f3188 |
| THIRD_PARTY_NOTICES.md | 1.1 kB | c2831aa52563 |
| references/advanced-migrate-v4.md | 2.5 kB | 87b899e008e4 |
| references/advanced-theme.md | 2.3 kB | 14e69f689c8e |
| references/api-css-interop-remap.md | 2.1 kB | 9a368fa96f57 |
| references/api-styled.md | 2.3 kB | 575e9ac3440c |
| references/api-vars-runtime.md | 2.1 kB | 14323fd43a43 |
| references/api-with-nativewind.md | 1.5 kB | 1abf22a4a9ee |
| references/best-practices-performance.md | 2.7 kB | 031358dac9f3 |
| references/best-practices-v5-deprecations.md | 1.8 kB | 82c70b7b2248 |
| references/core-config.md | 2.1 kB | d8b229b89641 |
| references/core-setup.md | 2.3 kB | 35d1c8135071 |
| references/core-v5-functions-directives.md | 2.3 kB | 0d106f38207e |
| references/core-v5-style-specificity.md | 2.1 kB | 10dc42e8700b |
| references/core-v5-tailwind-foundation.md | 1.6 kB | c37aada3a71c |
| references/core-v5-units.md | 1.6 kB | 7dca3ed76d14 |
| references/features-platform.md | 2.2 kB | e65b258d54c9 |
| references/features-states.md | 2.8 kB | 619d97b101d7 |
| references/features-styling.md | 3.5 kB | 38628e3926ab |
| references/features-v5-responsive.md | 1.7 kB | 1aca8087dc7f |
| references/features-v5-states-pseudo.md | 2.2 kB | 42e551300ebe |
| references/features-v5-third-party-guide.md | 2.4 kB | 968b61efb72f |
Published verbatim from the pinned commit. Nothing is rewritten.
| Version | Pinned commit | Signed | |
|---|---|---|---|
| 0.1.0 Current | ffa1f904012f | 28 Nov 2026 |
Locking a skill to one version needs Pro.