nativewind

Installation
SKILL.md

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
Related skills
Installs
124
Repository
hairyf/skills
GitHub Stars
19
First Seen
Feb 26, 2026