NewCode with Beto MCP

E-commerce UI with React Native and Tailwind CSS | Beginners tutorial

Beto, October 5, 2022 · 21,258 views

If you already know Tailwind from the web, you can style React Native apps the same way with NativeWind: and all. We build a clean e-commerce UI with it, dark mode included, and I cover the gotchas that trip people up, like why silently fails unless it's on the Text component itself. Full walkthrough in the video.

What's inside

  • Set up NativeWind and Tailwind in a fresh Expo project
  • Configure and the Babel plugin correctly
  • Style components with instead of StyleSheet objects
  • Toggle dark mode with and
  • Fix the dark mode text gotcha that catches everyone
  • Keep the status bar readable in both light and dark themes

Resources

CourseReact Native course

Let's connect!

Had a win? Get featured on Code with Beto.Share your story