<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:cc="http://cyber.law.harvard.edu/rss/creativeCommonsRssModule.html">
    <channel>
        <title><![CDATA[Stories by Jordi Beltran on Medium]]></title>
        <description><![CDATA[Stories by Jordi Beltran on Medium]]></description>
        <link>https://medium.com/@jordibeltranq?source=rss-621e58fa8434------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/0*g_CklIpx4vmw1_8Q</url>
            <title>Stories by Jordi Beltran on Medium</title>
            <link>https://medium.com/@jordibeltranq?source=rss-621e58fa8434------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Sat, 05 Dec 2026 09:52:55 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@jordibeltranq/feed" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[Start using Liquid Glass in your React Native + Expo Apps]]></title>
            <link>https://medium.com/@jordibeltranq/start-using-liquid-glass-in-your-react-native-expo-apps-ceb03e26ffdf?source=rss-621e58fa8434------2</link>
            <guid isPermaLink="false">https://medium.com/p/ceb03e26ffdf</guid>
            <category><![CDATA[ios]]></category>
            <category><![CDATA[react-native]]></category>
            <category><![CDATA[ios-app-development]]></category>
            <category><![CDATA[expo]]></category>
            <dc:creator><![CDATA[Jordi Beltran]]></dc:creator>
            <pubDate>Wed, 04 Mar 2026 11:08:22 GMT</pubDate>
            <atom:updated>2026-03-04T11:20:50.219Z</atom:updated>
            <content:encoded><![CDATA[<p>If you’re building apps with React Native + Expo, I’m sure you’re using <strong><em>Tabs </em></strong>from expo-router<strong><em> </em></strong>as default to manage the bottom navigation in your app.</p><p>Now there’s a better option: <strong><em>NativeTabs</em></strong></p><p>By switching to <strong><em>NativeTabs</em></strong>, you delegate the tab bar rendering completely to the operating system. This unlocks automatic platform-native styling:</p><ul><li>On <strong>iOS 26</strong>, tabs render using the new Liquid Glass design.</li><li>On <strong>iOS 18 and earlier</strong>, they keep the traditional iOS tab bar style.</li><li>On <strong>Android</strong>, they automatically adapt to Material 3.</li></ul><p>No additional libraries.<br>No platform conditionals.<br>No UI hacks.<br>Just native behavior.</p><h3>What is NativeTabs?</h3><p>NativeTabs is the native replacement of Tabs inside expo-router.</p><p>As I said before, instead of rendering a JavaScript-based tab bar that looks the same across platforms, <strong><em>NativeTabs </em></strong>delegates rendering to the operating system.</p><p>That means:</p><ul><li>100% native animations</li><li>Consistent style for each platform</li><li>Automatic support for future design changes (like iOS 26, that is still changing at every new update)</li></ul><h3>Migrating from Tabs to NativeTabs</h3><p>If you created your Expo app using the default template, your current layout probably looks something like this:</p><pre>import { Tabs } from &#39;expo-router&#39;;<br>import React from &#39;react&#39;;<br>import { IconSymbol } from &#39;@/components/ui/icon-symbol&#39;;<br>import { Colors } from &#39;@/constants/theme&#39;;<br>import { useColorScheme } from &#39;@/hooks/use-color-scheme&#39;;<br><br>export default function TabLayout() {<br>  const colorScheme = useColorScheme();<br>  return (<br>    &lt;Tabs<br>      screenOptions={{<br>        tabBarActiveTintColor: Colors[colorScheme ?? &#39;light&#39;].tint,<br>        headerShown: false<br>      }}&gt;<br>      &lt;Tabs.Screen<br>        name=&quot;index&quot;<br>        options={{<br>          title: &#39;Home&#39;,<br>          tabBarIcon: ({ color }) =&gt; &lt;IconSymbol size={28} name=&quot;house.fill&quot; color={color} /&gt;,<br>        }}<br>      /&gt;<br>      &lt;Tabs.Screen<br>        name=&quot;explore&quot;<br>        options={{<br>          title: &#39;Explore&#39;,<br>          tabBarIcon: ({ color }) =&gt; &lt;IconSymbol size={28} name=&quot;paperplane.fill&quot; color={color} /&gt;,<br>        }}<br>      /&gt;<br>    &lt;/Tabs&gt;<br>  );<br>}</pre><p>To migrate, import NativeTabs from:</p><pre>import { NativeTabs } from &quot;expo-router/unstable-native-tabs&quot;;</pre><p>Then replace:</p><ul><li><strong>Tabs </strong>→ <strong>NativeTabs</strong></li><li><strong>Tabs.Screen → NativeTabs.Trigger</strong></li><li><strong>options → (<em>Label, Icon, Badge</em>) as NativeTabs.Trigger children</strong></li></ul><p>Here’s an example:</p><pre>import { useTheme } from &quot;@react-navigation/native&quot;;<br>import {<br>  Badge,<br>  Icon,<br>  Label,<br>  NativeTabs,<br>} from &quot;expo-router/unstable-native-tabs&quot;;<br><br>export default function TabLayout() {<br>  const theme = useTheme();<br>  return (<br>    &lt;NativeTabs<br>    // tintColor={theme.colors.primary}<br>    // backgroundColor={theme.colors.background}<br>    &gt;<br>      &lt;NativeTabs.Trigger name=&quot;index&quot;&gt;<br>        &lt;Label&gt;Home&lt;/Label&gt;<br>        &lt;Icon<br>          sf=&quot;house.fill&quot;<br>          androidSrc={require(&quot;../../../assets/android/home_24dp.png&quot;)}<br>        /&gt;<br>      &lt;/NativeTabs.Trigger&gt;<br><br>      &lt;NativeTabs.Trigger name=&quot;chats&quot;&gt;<br>        &lt;Label&gt;Chats&lt;/Label&gt;<br>        &lt;Badge&gt;9+&lt;/Badge&gt;<br>        &lt;Icon<br>          sf=&quot;bubble&quot;<br>          androidSrc={require(&quot;../../../assets/android/chat_24dp.png&quot;)}<br>        /&gt;<br>      &lt;/NativeTabs.Trigger&gt;<br><br>      &lt;NativeTabs.Trigger name=&quot;search&quot; role=&quot;search&quot;&gt;<br>        &lt;Label&gt;Search&lt;/Label&gt;<br>        &lt;Icon<br>          sf=&quot;magnifyingglass&quot;<br>          androidSrc={require(&quot;../../../assets/android/search_24dp.png&quot;)}<br>        /&gt;<br>      &lt;/NativeTabs.Trigger&gt;<br><br>      &lt;NativeTabs.Trigger name=&quot;settings&quot;&gt;<br>        &lt;Icon<br>          sf=&quot;gear&quot;<br>          androidSrc={require(&quot;../../../assets/android/settings_24dp.png&quot;)}<br>        /&gt;<br>        &lt;Label&gt;Settings&lt;/Label&gt;<br>      &lt;/NativeTabs.Trigger&gt;<br>    &lt;/NativeTabs&gt;<br>  );<br>}</pre><p>And that’s it, now you have a fully native tab bar.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/800/1*Mhf5FdIsQdsJbPe46Mxoyw.gif" /><figcaption>Result after replacing Tabs with NativeTabs</figcaption></figure><h3>Adding a Native SearchBar in the Tab</h3><p>We can get more features, like this one, add a system-level search bar.</p><p>To enable it, assign the<strong> <em>role=”search”</em></strong> to your trigger:</p><pre>&lt;NativeTabs.Trigger name=&quot;search&quot; role=&quot;search&quot;&gt;<br>  &lt;Label&gt;Search&lt;/Label&gt;<br>  &lt;Icon<br>    sf=&quot;magnifyingglass&quot;<br>    androidSrc={require(&quot;../../../assets/android/search_24dp.png&quot;)}<br>  /&gt;<br>&lt;/NativeTabs.Trigger&gt;</pre><p>However, there’s an important detail:</p><p>The search bar is injected into the native header. That means you must keep the header enabled for that screen.</p><p>In your search screen:</p><pre>import { Stack } from &quot;expo-router&quot;;<br>import { useState } from &quot;react&quot;;<br>import { ScrollView, Text } from &quot;react-native&quot;;<br><br>export default function SearchIndex() {<br>  const [searchText, setSearchText] = useState(&quot;&quot;);<br>  return (<br>    &lt;&gt;<br>      &lt;Stack.Screen<br>        options={{<br>          title: &quot;Search&quot;,<br>          headerSearchBarOptions: {<br>            placeholder: &quot;Search&quot;,<br>            onChangeText: (event) =&gt; {<br>              setSearchText(event.nativeEvent.text);<br>            },<br>          },<br>        }}<br>      /&gt;<br>      &lt;ScrollView&gt;<br>        &lt;Text&gt;{searchText}&lt;/Text&gt;<br>      &lt;/ScrollView&gt;<br>    &lt;/&gt;<br>  );<br>}</pre><p>And we’ll also need to define a simple layout:</p><pre>import { Stack } from &quot;expo-router&quot;;<br><br>export default function SearchLayout() {<br>  return &lt;Stack /&gt;;<br>}</pre><p>This keeps navigation clean while allowing the OS to manage the search UI natively.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/800/1*QMGj9sZ2wW3O30DTUTh-6Q.gif" /><figcaption>Result after adding the Native SearchBar in the Tab</figcaption></figure><blockquote><strong>Tip:</strong> NativeTabs includes other features that can help you unlock more potential in your app, like badges, role-based triggers, and native animations. Check the <a href="https://docs.expo.dev/router/advanced/native-tabs/">official documentation</a> for all available options.</blockquote><h3>When Should You Use NativeTabs?</h3><p>Use it if:</p><ul><li>You want platform-authentic UI</li><li>You prefer system-driven design updates</li><li>You don’t need deep custom tab bar animations</li><li>You value long-term maintainability</li></ul><p>Avoid it if:</p><ul><li>You require a heavily customized tab bar</li><li>You need complex animated interactions beyond system capabilities</li></ul><h3>Final Thoughts</h3><p><strong><em>NativeTabs </em></strong>is a small architectural change with a big UX impact.</p><p>Your app:</p><ul><li>Automatically adopts Liquid Glass on iOS 26</li><li>Preserves native behavior on older iOS versions</li><li>Adapts to Material 3 on Android</li><li>Removes the need for custom cross-platform styling</li></ul><p>In modern Expo projects, this should be the default choice unless you have a strong reason not to use it.</p><h4>Documentation &amp; Resources</h4><ul><li>Expo Router Docs — Native Tabs<br><a href="https://docs.expo.dev/router/advanced/native-tabs/">https://docs.expo.dev/router/advanced/native-tabs/</a></li><li>Expo Router Docs — Native Tabs API<br><a href="https://docs.expo.dev/versions/latest/sdk/router-native-tabs/">https://docs.expo.dev/versions/latest/sdk/router-native-tabs/</a></li></ul><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=ceb03e26ffdf" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>