npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

@capgo/capacitor-native-navigation

v8.3.0

Published

Capacitor plugin for native navbar, tabbar, safe-area handling, and WebView snapshot transitions.

Readme

@capgo/capacitor-native-navigation

Native navbar, tabbar, safe-area handling, and WebView snapshot transitions for Capacitor apps. Your web framework keeps routing and page rendering while this plugin owns the platform surfaces users expect to feel native.

Demo

Native navigation tap flow

SVG icon descriptors

Native styling and zoom options

Native Liquid Glass screenshots

| iOS native Liquid Glass | Android Liquid Glass style | | --- | --- | | | |

Curved native tabbar screenshot

Features

  • Drive native top navigation and bottom tabs from JavaScript state.
  • Use system-owned iOS navigation bars, tab bars, tab gestures, and Liquid Glass rendering.
  • Emit native intent events such as navbarBack, navbarItemTap, and tabSelect.
  • Enable an optional Android Liquid Glass-style blurred backdrop for native bars on Android 12+.
  • Capture WebView snapshots for native-feeling push, back, root, tab, and zoom transitions.
  • Configure tab labels, selected icons, badges, indicators, ripples, tint colors, and dynamic colors.
  • Write CSS inset variables so web content can scroll behind native bars without being hidden.
  • Work with React, Vue, Angular, Svelte, Solid, vanilla JS, and any router that exposes imperative navigation.

How It Fits

  • Your router still owns route state and page rendering.
  • The app still uses one full-screen WebView.
  • Icons must be serializable descriptors such as SVG strings, SF Symbols, or native resource names.

Compatibility

@capgo/capacitor-native-navigation targets Capacitor 8 and Node.js 22+.

Install

You can use our AI-Assisted Setup to install the plugin. Add the Capgo skills to your AI tool using the following command:

npx skills add https://github.com/cap-go/capacitor-skills --skill capacitor-plugins

Then use the following prompt:

Use the `capacitor-plugins` skill from `cap-go/capacitor-skills` to install the `@capgo/capacitor-native-navigation` plugin in my project.

If you prefer Manual Setup, install the plugin by running the following commands and follow the platform-specific instructions below:

npm install @capgo/capacitor-native-navigation
npx cap sync

Minimal Usage

import { NativeNavigation } from '@capgo/capacitor-native-navigation';

await NativeNavigation.configure({
  contentInsetMode: 'css',
  animationDuration: 360,
});

await NativeNavigation.setNavbar({
  title: 'Home',
  subtitle: 'Native chrome',
  transparent: true,
  backButton: { visible: false },
  rightItems: [
    {
      id: 'compose',
      title: 'Compose',
      icon: {
        svg: '<svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2"><path d="M12 20h9"/><path d="M16.5 3.5a2.12 2.12 0 0 1 3 3L7 19l-4 1 1-4Z"/></svg>',
      },
    },
  ],
});

await NativeNavigation.setTabbar({
  selectedId: 'home',
  labelVisibilityMode: 'labeled',
  icons: true,
  colors: {
    dynamic: true,
  },
  tabs: [
    {
      id: 'home',
      title: 'Home',
      icon: {
        svg: '<svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2"><path d="M3 10.5 12 3l9 7.5"/><path d="M5 10v10h14V10"/></svg>',
      },
    },
    {
      id: 'settings',
      title: 'Settings',
      icon: {
        svg: '<svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2"><circle cx="12" cy="12" r="3"/><path d="M12 2v3M12 19v3M2 12h3M19 12h3"/></svg>',
      },
    },
  ],
});

await NativeNavigation.addListener('tabSelect', ({ id }) => {
  router.navigate(`/${id}`);
});

Native Tab Styling

await NativeNavigation.setTabbar({
  selectedId: 'home',
  labelVisibilityMode: 'selected',
  indicatorColor: '#0A84FF',
  rippleColor: '#330A84FF',
  badgeBackgroundColor: '#FF3B30',
  badgeTextColor: '#FFFFFF',
  colors: {
    dynamic: true,
    tint: '#0A84FF',
    inactiveTint: '#8E8E93',
  },
  tabs: [
    {
      id: 'home',
      title: 'Home',
      icon: { ios: { sfSymbol: 'house' }, android: { resource: 'ic_home' } },
      selectedIcon: { ios: { sfSymbol: 'house.fill' }, android: { resource: 'ic_home_filled' } },
    },
  ],
});

Android Liquid Glass

Enable glass.effect: 'liquidGlass' to draw a live blurred WebView backdrop behind Android native bars. Android 12+ uses a platform RenderEffect blur; older Android versions keep the translucent tint surface without live blur.

await NativeNavigation.configure({
  glass: {
    effect: 'liquidGlass',
    blurRadius: 18,
    surfaceAlpha: 0.62,
  },
});

await NativeNavigation.setTabbar({
  selectedId: 'home',
  tabs,
  colors: {
    background: '#F8FFFFFF',
  },
});

Transition Flow

const transition = await NativeNavigation.beginTransition({ direction: 'forward' });

router.navigate('/detail');
await router.ready?.();

await NativeNavigation.setNavbar({
  title: 'Detail',
  backButton: { visible: true, title: 'Back' },
});

await NativeNavigation.finishTransition({
  id: transition.id,
  direction: 'forward',
});

Use With @capgo/capacitor-transitions

Use @capgo/capacitor-native-navigation for the native navbar, tabbar, safe-area insets, and native intent events. Use @capgo/capacitor-transitions for the WebView page stack underneath that native chrome.

npm install @capgo/capacitor-native-navigation @capgo/capacitor-transitions
npx cap sync

Initialize both packages once when the app starts:

import { NativeNavigation } from '@capgo/capacitor-native-navigation';
import '@capgo/capacitor-transitions';
import { initTransitions, setupRouterOutlet, setDirection } from '@capgo/capacitor-transitions/react';

initTransitions({ platform: 'auto' });

const outlet = document.querySelector('cap-router-outlet');
if (outlet) {
  setupRouterOutlet(outlet, { platform: 'auto', swipeGesture: 'auto' });
}

await NativeNavigation.configure({
  contentInsetMode: 'css',
});

Keep the transition outlet focused on pages. Do not render a web header or footer when native chrome owns those surfaces:

<cap-router-outlet platform="auto" swipe-gesture="auto">
  <cap-page>
    <cap-content slot="content" fullscreen>
      <main class="page">Inbox content</main>
    </cap-content>
  </cap-page>
</cap-router-outlet>
.page {
  min-height: 100dvh;
  padding-top: var(--cap-native-navigation-top);
  padding-bottom: var(--cap-native-navigation-bottom);
}

Drive both packages from the same router actions:

async function openMessage(id: string) {
  setDirection('forward');
  await router.push(`/messages/${id}`);
  await NativeNavigation.setNavbar({
    title: 'Message',
    backButton: { visible: true, title: 'Inbox' },
  });
}

await NativeNavigation.addListener('navbarBack', () => {
  setDirection('back');
  router.back();
});

await NativeNavigation.addListener('tabSelect', ({ id }) => {
  setDirection('root');
  router.push(`/${id}`);
});

Pick one animation layer per navigation. For normal route pushes, let @capgo/capacitor-transitions animate the WebView pages and update native bars with setNavbar / setTabbar. For shared-element or zoom routes, use beginZoomTransition / finishZoomTransition from this plugin and skip the web page transition for that navigation.

Zoom Transition

import { beginZoomTransition, finishZoomTransition } from '@capgo/capacitor-native-navigation';

const card = document.querySelector('[data-photo-card]');
if (card) {
  const transition = await beginZoomTransition(card, { cornerRadius: 18 });

  router.navigate('/photo/42');
  await router.ready?.();

  await finishZoomTransition(undefined, {
    id: transition.id,
    cornerRadius: 18,
  });
}

CSS Insets

With contentInsetMode: 'css', the plugin updates these variables on document.documentElement:

.app-scroll {
  height: 100dvh;
  overflow: auto;
  padding-top: calc(var(--cap-native-navigation-top) + 24px);
  scroll-padding-bottom: calc(var(--cap-native-navigation-bottom) + 24px);
}

.page {
  min-height: 100dvh;
  padding-bottom: calc(var(--cap-native-navigation-bottom) + 24px);
}

Available variables:

  • --cap-native-navigation-top
  • --cap-native-navigation-right
  • --cap-native-navigation-bottom
  • --cap-native-navigation-left
  • --cap-native-navbar-height
  • --cap-native-tabbar-height

Web Components

The package can register optional custom elements for framework-agnostic declarative setup:

import { defineNativeNavigationElements } from '@capgo/capacitor-native-navigation';

defineNativeNavigationElements();
<cap-native-navigation-provider enabled="true" content-inset-mode="css"></cap-native-navigation-provider>

<cap-native-navbar
  title="Home"
  subtitle="Native chrome"
  transparent
  right-items='[{"id":"compose","title":"Compose","icon":{"ios":{"sfSymbol":"square.and.pencil"}}}]'
></cap-native-navbar>

<cap-native-tabbar
  selected-id="home"
  tabs='[{"id":"home","title":"Home","icon":{"ios":{"sfSymbol":"house.fill"}}}]'
></cap-native-tabbar>

Icon Descriptors

const icon = {
  svg: '<svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2"><path d="M3 10.5 12 3l9 7.5"/></svg>',
  width: 24,
  height: 24,
  template: true,
  src: 'shared_asset_name',
  ios: {
    svg: '<svg viewBox="0 0 24 24"><path d="M3 10.5 12 3l9 7.5"/></svg>',
    sfSymbol: 'house.fill',
    image: 'BundledAssetName',
  },
  android: {
    svg: '<svg viewBox="0 0 24 24"><path d="M3 10.5 12 3l9 7.5"/></svg>',
    resource: 'ic_menu_view',
    image: 'bundled_drawable_name',
  },
};

Inline SVG supports the icon-focused subset used by common sets such as Lucide and Feather: path, line, polyline, polygon, circle, and rect. The SVG is rendered as a template image by default, so native tint colors can recolor it without bundling a platform asset.

Platform Notes

  • iOS uses UIKit UINavigationBar, UITabBar, and UITabBarController so the system owns tab interaction, Liquid Glass rendering, and safe-area behavior.
  • Android uses an AppCompat Toolbar and a native bottom tab surface with edge-to-edge placement.
  • Web mirrors inset variables and events for local development.

Example App

The example-app/ folder is a vanilla JS Capacitor demo linked with file:...

cd example-app
npm install
npm run build
npx cap add ios
npx cap add android
npx cap sync

API

Framework-agnostic native navigation chrome API.

configure(...)

configure(options?: NativeNavigationConfigureOptions | undefined) => Promise<NativeNavigationInsetsResult>

Configure the native chrome host and content inset behavior.

| Param | Type | | ------------- | --------------------------------------------------------------------------------------------- | | options | NativeNavigationConfigureOptions |

Returns: Promise<NativeNavigationInsetsResult>


setNavbar(...)

setNavbar(options: NativeNavigationNavbarOptions) => Promise<NativeNavigationInsetsResult>

Render or update the native navbar.

| Param | Type | | ------------- | --------------------------------------------------------------------------------------- | | options | NativeNavigationNavbarOptions |

Returns: Promise<NativeNavigationInsetsResult>


setTabbar(...)

setTabbar(options: NativeNavigationTabbarOptions) => Promise<NativeNavigationInsetsResult>

Render or update the native tabbar.

| Param | Type | | ------------- | --------------------------------------------------------------------------------------- | | options | NativeNavigationTabbarOptions |

Returns: Promise<NativeNavigationInsetsResult>


beginTransition(...)

beginTransition(options?: NativeNavigationBeginTransitionOptions | undefined) => Promise<NativeNavigationTransitionResult>

Capture the current WebView and prepare a native transition.

| Param | Type | | ------------- | --------------------------------------------------------------------------------------------------------- | | options | NativeNavigationBeginTransitionOptions |

Returns: Promise<NativeNavigationTransitionResult>


finishTransition(...)

finishTransition(options?: NativeNavigationFinishTransitionOptions | undefined) => Promise<NativeNavigationTransitionResult>

Animate from the captured WebView snapshot to the current live WebView.

| Param | Type | | ------------- | ----------------------------------------------------------------------------------------------------------- | | options | NativeNavigationFinishTransitionOptions |

Returns: Promise<NativeNavigationTransitionResult>


getPluginVersion()

getPluginVersion() => Promise<PluginVersionResult>

Returns the platform implementation version marker.

Returns: Promise<PluginVersionResult>


addListener('navbarBack', ...)

addListener(eventName: 'navbarBack', listenerFunc: (event: NativeNavigationBackEvent) => void) => Promise<PluginListenerHandle>

| Param | Type | | ------------------ | --------------------------------------------------------------------------------------------------- | | eventName | 'navbarBack' | | listenerFunc | (event: NativeNavigationBackEvent) => void |

Returns: Promise<PluginListenerHandle>


addListener('navbarItemTap', ...)

addListener(eventName: 'navbarItemTap', listenerFunc: (event: NativeNavigationBarItemTapEvent) => void) => Promise<PluginListenerHandle>

| Param | Type | | ------------------ | --------------------------------------------------------------------------------------------------------------- | | eventName | 'navbarItemTap' | | listenerFunc | (event: NativeNavigationBarItemTapEvent) => void |

Returns: Promise<PluginListenerHandle>


addListener('tabSelect', ...)

addListener(eventName: 'tabSelect', listenerFunc: (event: NativeNavigationTabSelectEvent) => void) => Promise<PluginListenerHandle>

| Param | Type | | ------------------ | ------------------------------------------------------------------------------------------------------------- | | eventName | 'tabSelect' | | listenerFunc | (event: NativeNavigationTabSelectEvent) => void |

Returns: Promise<PluginListenerHandle>


addListener('safeAreaChanged', ...)

addListener(eventName: 'safeAreaChanged', listenerFunc: (event: NativeNavigationSafeAreaChangedEvent) => void) => Promise<PluginListenerHandle>

| Param | Type | | ------------------ | ------------------------------------------------------------------------------------------------------------------------- | | eventName | 'safeAreaChanged' | | listenerFunc | (event: NativeNavigationSafeAreaChangedEvent) => void |

Returns: Promise<PluginListenerHandle>


addListener('transitionStart', ...)

addListener(eventName: 'transitionStart', listenerFunc: (event: NativeNavigationTransitionEvent) => void) => Promise<PluginListenerHandle>

| Param | Type | | ------------------ | --------------------------------------------------------------------------------------------------------------- | | eventName | 'transitionStart' | | listenerFunc | (event: NativeNavigationTransitionEvent) => void |

Returns: Promise<PluginListenerHandle>


addListener('transitionEnd', ...)

addListener(eventName: 'transitionEnd', listenerFunc: (event: NativeNavigationTransitionEvent) => void) => Promise<PluginListenerHandle>

| Param | Type | | ------------------ | --------------------------------------------------------------------------------------------------------------- | | eventName | 'transitionEnd' | | listenerFunc | (event: NativeNavigationTransitionEvent) => void |

Returns: Promise<PluginListenerHandle>


Interfaces

NativeNavigationInsetsResult

Returned by methods that may change safe content bounds.

| Prop | Type | | ------------ | ------------------------------------------------------------------------- | | insets | NativeNavigationInsets |

NativeNavigationInsets

Insets exposed to web content.

| Prop | Type | | ------------------ | ------------------- | | top | number | | right | number | | bottom | number | | left | number | | navbarHeight | number | | tabbarHeight | number |

NativeNavigationConfigureOptions

Global plugin configuration.

| Prop | Type | Description | | ----------------------- | --------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------- | | enabled | boolean | Enables or disables the native chrome host. | | platformStyle | NativeNavigationPlatformStyle | Native style preference. auto uses the current platform. | | contentInsetMode | NativeNavigationContentInsetMode | When css, the plugin writes CSS variables on document.documentElement. | | animationDuration | number | Default native transition duration in milliseconds. | | colors | NativeNavigationColors | Shared color hints for native bars. | | glass | NativeNavigationGlassOptions | Shared glass background defaults for native bars. |

NativeNavigationColors

Native bar colors. Use CSS-style hex strings (#RRGGBB or #AARRGGBB).

| Prop | Type | Description | | --------------------- | -------------------- | --------------------------------------------------------------------------------------------------------------------------- | | dynamic | boolean | When true, Android 12+ derives unspecified bar colors from Material You system palettes. Explicit color fields still win. | | tint | string | Tint color for active buttons/items. | | inactiveTint | string | Color for inactive tab items. Ignored on iOS 26+ unless experimentalBakedTintColors is enabled. | | background | string | Optional background tint. Ignored on iOS 26+ so UIKit can preserve the system Liquid Glass navigation appearance. | | foreground | string | Title and label text color where the native platform supports it. | | badgeBackground | string | Badge background color for native tab badges. | | badgeText | string | Badge text color for native tab badges. | | indicator | string | Active tab indicator color on Android. | | ripple | string | Tab press ripple color on Android. |

NativeNavigationGlassOptions

Native glass background configuration.

| Prop | Type | Description | | ------------------ | ----------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | | effect | NativeNavigationGlassEffect | liquidGlass enables the Android 12+ live blurred WebView backdrop for native bars. Android 11 and older keep a translucent surface fallback. iOS uses the platform-owned Liquid Glass behavior. | | blurRadius | number | Android blur radius in native dp for liquidGlass. Defaults to 18. | | surfaceAlpha | number | Alpha multiplier for the tint surface over the glass backdrop. Defaults to 0.62. |

NativeNavigationNavbarOptions

Native navbar state.

| Prop | Type | Description | | ----------------- | ------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------- | | hidden | boolean | Hide the native navbar. | | title | string | Main title. | | subtitle | string | Secondary title where supported by the platform. | | large | boolean | Prefer a large iOS title style. | | transparent | boolean | Prefer transparent/scroll-edge style. | | blurEffect | NativeNavigationBlurEffect | iOS blur/material effect for the navbar background when glass is not available. Defaults to systemChromeMaterial for transparent bars. | | glass | NativeNavigationGlassOptions | Optional glass background behavior. Overrides configure({ glass }) for this navbar update. | | backButton | NativeNavigationBackButton | Back button state. | | leftItems | NativeNavigationBarButton[] | Left-side action buttons. | | rightItems | NativeNavigationBarButton[] | Right-side action buttons. | | colors | NativeNavigationColors | Navbar color hints. | | animated | boolean | Animate native navbar changes. |

NativeNavigationBackButton

Native back button configuration.

| Prop | Type | Description | | ------------- | -------------------- | -------------------------------- | | visible | boolean | Show the native back affordance. | | title | string | Optional back title. |

NativeNavigationBarButton

A button shown in the native navbar.

| Prop | Type | Description | | ------------- | --------------------------------------------------------------------- | -------------------------------------------------- | | id | string | Stable id returned in navbarItemTap. | | title | string | Visible text label. | | icon | NativeNavigationIcon | Native icon descriptor. | | enabled | boolean | Whether the action is enabled. Defaults to true. |

NativeNavigationIcon

A serializable icon descriptor. Framework nodes are intentionally not accepted because icons are rendered by native UI.

| Prop | Type | Description | | -------------- | ----------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | | src | string | Cross-platform asset path or URL fallback. | | svg | string | Cross-platform inline SVG markup. The native renderers support common icon shapes such as path, line, polyline, polygon, circle, and rect. SVG icons are rendered as template images by default so native tint colors still apply. | | width | number | Preferred rendered icon width in native points/dp. Defaults to 24. | | height | number | Preferred rendered icon height in native points/dp. Defaults to 24. | | template | boolean | When true, native tint colors are applied to the rendered SVG/image. Defaults to true. | | ios | { sfSymbol?: string; image?: string; svg?: string; } | iOS-specific SF Symbol, bundled image name, or inline SVG. | | android | { resource?: string; image?: string; svg?: string; } | Android-specific drawable resource, asset name, or inline SVG. |

NativeNavigationTabbarOptions

Native tabbar state.

| Prop | Type | Description | | ------------------------------------ | --------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | | hidden | boolean | Hide the native tabbar. | | tabs | NativeNavigationTab[] | Tab definitions. | | selectedId | string | Currently selected tab id. | | labels | boolean | Show text labels. Defaults to true. | | labelVisibilityMode | NativeNavigationTabLabelVisibilityMode | Native label visibility mode. Overrides labels when provided. | | icons | boolean | Show icons. Defaults to true. | | colors | NativeNavigationColors | Tabbar color hints. | | blurEffect | NativeNavigationBlurEffect | iOS blur/material effect for the tabbar background when glass is not available. | | glass | NativeNavigationGlassOptions | Optional glass background behavior. Overrides configure({ glass }) for this tabbar update. | | experimentalBakedTintColors | boolean | Opt into the iOS 26 Liquid Glass tint workaround that renders active and inactive tab items into baked images. This can affect badge positioning and icon sizing, so it is disabled by default. | | disableTransparentOnScrollEdge | boolean | Keep the iOS scroll-edge tabbar appearance from becoming transparent. Mirrors Expo Router native tabs' disableTransparentOnScrollEdge option. Defaults to false. | | disableIndicator | boolean | Disable the Android active tab indicator. | | indicatorColor | string | Active tab indicator color on Android. colors.indicator is also supported. | | rippleColor | string | Tab press ripple color on Android. colors.ripple is also supported. | | badgeBackgroundColor | string | Badge background color. colors.badgeBackground is also supported. | | badgeTextColor | string | Badge text color. colors.badgeText is also supported. | | style | NativeNavigationTabbarStyle | Optional native tabbar layout and shape customization. | | animated | boolean | Animate native tabbar changes. |

NativeNavigationTab

A native tab item.

| Prop | Type | Description | | ------------------ | --------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | | id | string | Stable tab id returned in tabSelect. | | title | string | Visible tab label. | | icon | NativeNavigationIcon | Native icon descriptor. | | selectedIcon | NativeNavigationIcon | Optional selected-state icon. | | badge | string | number | Optional badge. Numeric badges are supported on both platforms; text badge support depends on platform capabilities. | | enabled | boolean | Whether the tab is enabled. Defaults to true. | | hidden | boolean | Hide the tab item from the native tabbar. When the hidden tab is selected, native platform constraints may keep it visible until another tab is selected. | | role | NativeNavigationTabRole | Optional tab role. On floating tabbars, search (or prominent when available) becomes a detached trailing circular action beside the capsule — including the iOS 26+ system Liquid Glass tab bar, Android floating layout, and the custom floating capsule path. Only one detached trailing role is used; if multiple tabs set search or prominent, the last one wins. Curve-shaped bars ignore role and keep using the included center action. Defaults to normal. |

NativeNavigationTabbarStyle

Native tabbar layout and background shape options.

| Prop | Type | Description | | --------------------------- | ----------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | | shape | NativeNavigationTabbarShape | floating keeps the capsule tabbar. On iOS 26+ this uses the system-owned Liquid Glass UITabBarController unless a custom capsule path is required; earlier iOS and the custom capsule path use UIGlassEffect on iOS 26+ (blur material fallback otherwise). curve draws a full-width bar with an included center action. | | height | number | Bar height in native points/dp. Defaults to 64 for floating and 76 for curve. | | horizontalMargin | number | Horizontal margin in native points/dp. Defaults to 24 for floating and 0 for curve. | | maxWidth | number | Maximum tabbar width in native points/dp. Defaults to 430 for floating; curve uses the available width unless this is set. | | bottomGap | number | Bottom gap above the platform safe area in native points/dp. Defaults to 10 for floating and 0 for curve. | | cornerRadius | number | Background corner radius in native points/dp. Defaults to a capsule radius for floating and 0 for curve. | | centerItemId | string | Tab id promoted into the included center button for curve. Defaults to the middle tab. | | centerButtonDiameter | number | Included center button diameter in native points/dp. Defaults to 56. | | centerButtonLift | number | Distance from the top of the center button to the top edge of the bar in native points/dp. Defaults to half of centerButtonDiameter. | | centerButtonColor | string | Included center button color. Defaults to the active tint color. | | centerButtonIconColor | string | Included center button icon color. Defaults to white. |

NativeNavigationTransitionResult

Native transition result.

| Prop | Type | | --------------- | --------------------------------------------------------------------------------------------------- | | id | string | | direction | NativeNavigationTransitionDirection | | duration | number |

NativeNavigationBeginTransitionOptions

Begin a native transition transaction before JS changes route content.

| Prop | Type | Description | | ------------------ | --------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------ | | id | string | | | direction | NativeNavigationTransitionDirection | | | duration | number | | | sourceRect | NativeNavigationRect | Source rectangle for zoom transitions. Use viewport coordinates such as those returned by Element.getBoundingClientRect(). | | targetRect | NativeNavigationRect | Destination rectangle for shared-element-style zoom transitions. | | cornerRadius | number | Corner radius used while animating a zoom transition. |

NativeNavigationRect

A rectangle in WebView viewport coordinates, expressed in native points/dp.

| Prop | Type | | ------------ | ------------------- | | x | number | | y | number | | width | number | | height | number |

NativeNavigationFinishTransitionOptions

Finish a native transition transaction after JS has changed route content.

| Prop | Type | Description | | ------------------ | --------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------- | | id | string | | | direction | NativeNavigationTransitionDirection | | | duration | number | | | sourceRect | NativeNavigationRect | Source rectangle for zoom transitions when no active source was recorded. | | targetRect | NativeNavigationRect | Destination rectangle for shared-element-style zoom transitions. | | cornerRadius | number | Corner radius used while animating a zoom transition. |

PluginVersionResult

Plugin version payload.

| Prop | Type | Description | | ------------- | ------------------- | ----------------------------------------------------------- | | version | string | Version identifier returned by the platform implementation. |

PluginListenerHandle

| Prop | Type | | ------------ | ----------------------------------------- | | remove | () => Promise<void> |

NativeNavigationBackEvent

| Prop | Type | | ------------ | --------------------- | | source | 'navbar' |

NativeNavigationBarItemTapEvent

| Prop | Type | | --------------- | ------------------------------ | | id | string | | title | string | | placement | 'left' | 'right' |

NativeNavigationTabSelectEvent

| Prop | Type | | ----------- | ------------------- | | id | string | | index | number | | title | string |

NativeNavigationSafeAreaChangedEvent

| Prop | Type | | ------------ | ------------------------------------------------------------------------- | | insets | NativeNavigationInsets |

NativeNavigationTransitionEvent

| Prop | Type | | --------------- | --------------------------------------------------------------------------------------------------- | | id | string | | direction | NativeNavigationTransitionDirection | | duration | number |

Type Aliases

NativeNavigationPlatformStyle

Platform rendering preference for the native bars.

'auto' | 'ios' | 'android'

NativeNavigationContentInsetMode

How the plugin exposes native bar sizes to web content.

'css' | 'none'

NativeNavigationGlassEffect

Native glass background rendering preference.

'none' | 'liquidGlass'

NativeNavigationBlurEffect

Native material/blur effect preference.

'none' | 'systemDefault' | 'extraLight' | 'light' | 'dark' | 'regular' | 'prominent' | 'systemUltraThinMaterial' | 'systemThinMaterial' | 'systemMaterial' | 'systemThickMaterial' | 'systemChromeMaterial' | 'systemUltraThinMaterialLight' | 'systemThinMaterialLight' | 'systemMaterialLight' | 'systemThickMaterialLight' | 'systemChromeMaterialLight' | 'systemUltraThinMaterialDark' | 'systemThinMaterialDark' | 'systemMaterialDark' | 'systemThickMaterialDark' | 'systemChromeMaterialDark'

NativeNavigationTabRole

Native tab role for Liquid Glass tab bars.

search (and prominent when the OS supports it) renders as a detached trailing circular action beside the floating tab capsule — the Apple News / Photos pattern. Only one detached trailing role is used; if multiple tabs set search or prominent, the last one wins. Curve-shaped bars ignore role and keep using the included center action instead.

'normal' | 'search' | 'prominent'

NativeNavigationTabLabelVisibilityMode

Native tab label visibility behavior.

'auto' | 'selected' | 'labeled' | 'unlabeled'

NativeNavigationTabbarShape

Native tabbar background shape.

'floating' | 'curve'

NativeNavigationTransitionDirection

Navigation animation direction.

'forward' | 'back' | 'root' | 'tab' | 'zoom' | 'none'