Maxim Mironjuk
-
June 18, 2025
Once an Expo Router app grows past a single tab bar, the question of how headers, tab bars and other shared UI elements stay consistent across multiple route levels becomes unavoidable, without every single screen repeating the same configuration. Nested _layout files solve exactly this problem by nesting like React components, with every folder level able to add its own navigator on top. This article covers how that nesting works in practice, how modal presentation gets controlled through the file system, and how a tab navigation with a modal detail screen on top gets built concretely.