You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[V5] - Same className in V4 display different in V5 #241
v5 uses tailwind 4. Tailwind 4 is not 100% compatible with Tailwind 3. I haven't looked at the examples and compared it to the documentation, but I would be pretty confident that this is due to class names being different between the two versions of tailwind.
Closing this as expected behavior. Nativewind v5 uses Tailwind CSS v4 under the hood, while v4 used Tailwind CSS v3. The visual differences you're seeing are from changes in Tailwind's defaults between those major versions (e.g. border color, ring width, shadow behavior). See the Tailwind v4 upgrade guide for class-level changes.
Activity
jcannon98188 commentedon Nov 28, 2025
v5 uses tailwind 4. Tailwind 4 is not 100% compatible with Tailwind 3. I haven't looked at the examples and compared it to the documentation, but I would be pretty confident that this is due to class names being different between the two versions of tailwind.
danstepanov commentedon Mar 29, 2026
Closing this as expected behavior. Nativewind v5 uses Tailwind CSS v4 under the hood, while v4 used Tailwind CSS v3. The visual differences you're seeing are from changes in Tailwind's defaults between those major versions (e.g. border color, ring width, shadow behavior). See the Tailwind v4 upgrade guide for class-level changes.