Back to All Articles
Design
Architecture
Best Practices

Mobile Navigation Patterns That Actually Work

Tab bars, drawers, stacks, modals — when to use each navigation pattern and how to implement them well in Flutter and React Native.

A

Abhinav Birajdar

Creator

November 20, 20248 min read
Mobile Navigation Patterns That Actually Work

Navigation Is UX

Navigation is the skeleton of your app. Users build a mental model of your app's structure based on how it responds to their taps, swipes, and back-presses. Get navigation wrong and the whole experience feels disorienting, no matter how beautiful the UI.


The Four Fundamental Patterns

1. Tab Navigation (Bottom Bar)

When to use: Your app has 3–5 top-level destinations of equal importance

When NOT to use: More than 5 destinations; destinations with strong hierarchy between them

Platform guidance:

  • iOS: Tab bar with icons and labels at the bottom (SF Symbols for icons)
  • Android: Navigation bar at the bottom (Material 3)

Each tab should maintain its own navigation stack — switching tabs shouldn't lose the user's position within a tab.

jsx
1// React Native with Expo Router
2// app/(tabs)/_layout.tsx
3import { Tabs } from 'expo-router';
4import { Home, Search, Bookmark, User } from 'lucide-react-native';
5
6export default function TabLayout() {
7  return (
8    <Tabs screenOptions={{ tabBarActiveTintColor: '#2563EB' }}>
9      <Tabs.Screen
10        name="index"
11        options={{ title: 'Home', tabBarIcon: ({ color }) => <Home color={color} size={22} /> }}
12      />
13      <Tabs.Screen
14        name="search"
15        options={{ title: 'Search', tabBarIcon: ({ color }) => <Search color={color} size={22} /> }}
16      />
17      <Tabs.Screen
18        name="saved"
19        options={{ title: 'Saved', tabBarIcon: ({ color }) => <Bookmark color={color} size={22} /> }}
20      />
21      <Tabs.Screen
22        name="profile"
23        options={{ title: 'Profile', tabBarIcon: ({ color }) => <User color={color} size={22} /> }}
24      />
25    </Tabs>
26  );
27}

2. Stack Navigation

When to use: Hierarchical content (lists → detail, categories → items)

Key principle: Each push takes the user deeper; back always goes up the hierarchy. Never use stack navigation to move between peer destinations — that's what tabs are for.

dart
1// Flutter with GoRouter
2final _router = GoRouter(
3  routes: [
4    GoRoute(
5      path: '/',
6      builder: (_, __) => const HomeScreen(),
7      routes: [
8        GoRoute(
9          path: 'products/:categoryId',
10          builder: (context, state) => ProductListScreen(
11            categoryId: state.pathParameters['categoryId']!,
12          ),
13          routes: [
14            GoRoute(
15              path: ':productId',
16              builder: (context, state) => ProductDetailScreen(
17                productId: state.pathParameters['productId']!,
18              ),
19            ),
20          ],
21        ),
22      ],
23    ),
24  ],
25);

3. Modal Navigation

When to use:

  • Actions that interrupt the main flow (confirm, create new, error)
  • Forms that require focused attention (checkout, onboarding steps)
  • Quick contextual actions (action sheets, share sheets)

When NOT to use: Primary navigation destinations; content users need to refer back to frequently

Platform guidance:

  • iOS: Full-screen modal slides up from bottom; half-sheet for quick actions
  • Android: Dialog for quick decisions; full-screen modal for complex flows
jsx
1// Expo Router — modal route
2// app/create-post.tsx (in _layout.tsx, present as modal)
3import { router } from 'expo-router';
4
5function CreatePostModal() {
6  return (
7    <View style={styles.modal}>
8      <View style={styles.header}>
9        <Button title="Cancel" onPress={() => router.back()} />
10        <Text style={styles.title}>New Post</Text>
11        <Button title="Publish" onPress={handlePublish} />
12      </View>
13      <PostForm />
14    </View>
15  );
16}

4. Drawer Navigation

When to use: Apps with many secondary destinations (settings, help, legal, etc.) that don't warrant tab bar slots

When NOT to use: Primary navigation (makes content hard to discover); on iOS (drawers feel out of place)

Drawer Navigation Best Practices:

  • Accessible via hamburger icon in the app bar
  • Can coexist with bottom tab navigation
  • Should contain secondary/auxiliary destinations only
  • Include user profile/account info at the top

Deep Linking

Every route in your app should be addressable with a URL. Deep links allow:

  • Push notifications that open specific screens
  • Sharing specific content between users
  • Returning to context after background/foreground
dart
1// GoRouter — deep link support built in
2GoRoute(
3  path: '/products/:id',
4  builder: (context, state) => ProductScreen(
5    id: state.pathParameters['id']!,
6  ),
7)
8
9// Opens /products/abc123 from a notification or share link

Navigation Anti-Patterns

❌ Nested tab bars — Two levels of tabs confuse users about where they are

❌ Back button that navigates forward — The back button must always go up the stack, never to a new destination

❌ Modals stacked on modals — More than two levels of modals deep is a design smell

❌ State lost on tab switch — Each tab should preserve its stack

❌ Inconsistent back behavior — Android's system back and iOS swipe-back must always behave consistently with your navigation model

❌ Too many tabs — More than 5 tabs defeats the discoverability purpose of a tab bar


Choosing the Right Tool

StructureFlutterReact Native / Expo
TabsNavigationBar + IndexedStackExpo Router Tabs
StackGoRouter / Navigator 2.0Expo Router Stack
ModalshowModalBottomSheet / showDialogExpo Router Modal
DrawerDrawer widgetDrawer Navigator
Deep linksGoRouter (built-in)Expo Router (built-in)

Conclusion

Good navigation is invisible — users don't notice it because it always takes them where they expect to go. Choose your pattern based on the content hierarchy, not on what looks cool or what you already know.

The golden rule: if a user can't find where they are or how to get back, the navigation is wrong — no matter how beautiful the transitions.