nativewind-v4

Enforce cross-platform NativeWind styling patterns for React Native and React Native Web.

Updated Jan 15, 2026
One-click install
npx skills add https://github.com/estebandrg/liftera --skill nativewind-v4
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: nativewind-v4
Source: https://github.com/estebandrg/liftera/tree/main/skills/nativewind-v4
Command: npx skills add https://github.com/estebandrg/liftera --skill nativewind-v4

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill codifies NativeWind patterns for Liftera, ensuring consistent styling across React Native and React Native Web while reducing styling drift and platform-specific mistakes.

Core Features & Use Cases

  • Decision guidance for using Tailwind-like utilities in React Native apps, including when to prefer className, cn(), or style props.
  • Cross-platform rules that enforce consistent tokens and avoid pitfalls like var() in className or hex color literals.
  • Best practices & examples for common patterns (flex, grid, typography) and a debugging checklist to ensure parity between web and native rendering.

Quick Start

Apply the NativeWind-based styling guidelines to a component by using className with Tailwind-like utilities, verify that styling renders identically on web and mobile, and adjust as needed using the provided examples.

Frequently Asked Questions about nativewind-v4

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I apply consistent Tailwind styling in React Native and React Native Web?

Cross-platform React Native styling is achieved by using className with Tailwind-like utilities to ensure web and native rendering parity. This approach relies on local guidance and example code to enforce consistent design tokens.

When should I prefer className, cn(), or style props in NativeWind?

Use className for standard utility-driven patterns, cn() for conditional class merging, and style props strictly for dynamic values. This decision guidance prevents styling drift and platform-specific rendering mistakes.

Does NativeWind support dynamic values and utility-driven patterns for cross-platform apps?

Yes, NativeWind supports dynamic values and utility-driven patterns for cross-platform apps. It targets className-based styling to maintain a unified design system across both React Native and React Native Web.

How do I avoid NativeWind styling pitfalls like var() in className or hex color literals?

Avoid NativeWind styling pitfalls by enforcing cross-platform rules that use consistent design tokens. This prevents errors caused by using var() in className or hex color literals, ensuring proper web and native rendering.

What is the best way to debug NativeWind rendering parity between web and native?

Debug NativeWind rendering parity by using the provided best practices and debugging checklist for common patterns like flex, grid, and typography. This ensures components render identically on web and mobile platforms.