Last updated on January 10, 2026
Try it out
Try it out!
Create a simple component to test your Nativewind setup:
This example shows:
- Using
classNameprop to style components - Tailwind utility classes like
flex-1,items-center,justify-center - Color utilities like
bg-white,text-blue-500 - Typography utilities like
text-xl,font-bold
If you see the styled text centered on a white background, Nativewind is working correctly!