Video by HeyTimDev · streamed from YouTube. All rights remain with the creator.
Lesson 3: Styling with NativeWind and Routing with Expo Router
About this lesson
In this part of the series, HeyTimDev takes the short-video app further by adding NativeWind for fast, reusable styling and setting up navigation with Expo Router. The first half covers styling. You install and set up NativeWind, which brings a Tailwind CSS approach to React Native, so that components can be styled with utility classes instead of long style objects. The video shows how to configure Tailwind with the right file paths for the project, so that the classes used in each screen and component are picked up, and then adds custom styles and components with NativeWind to start shaping the look of the app. The second half sets up Expo Router for smooth navigation between multiple screens. Tabs and pages are created for the key features of the app, including Home, Friends, Camera and Profile, along with the others the app will need, so that the main structure of the interface is in place. Authentication routes are added as well, with a custom login page that sits outside the main tabs, preparing for the sign-in flow built later in the series. Because routing depends on the exact layout of files and folders, the video also works through common issues with routing and file structure in Expo and shows how to debug them. By the end, the app has a strong foundation for its interface and navigation flow, ready for icons and the Supabase back end in the next videos. Afterwards, read Chapter 3 of the course book, which converts Tailwind sizes to pixels by hand.