Expand description
Native system UI components for Tauri 2.
- iOS: a native
UITabBaroverlaid on the webview — it adopts Liquid Glass automatically when the app is built with Xcode 26 against the iOS 26 SDK, and refracts the web content rendered behind it. Tab taps are forwarded to JS astabSelectedevents. - macOS: a glass window background via
NSGlassEffectView(macOS 26), with anNSVisualEffectViewblur fallback on older systems.
Structs§
- Accessory
Item - A standalone account button floated beside the bar (Apple Music
search-button style).
image(base64 / data URL) wins oversf_symbol. - Component
Event Payload - Payload of the
system-components://component-eventevent on macOS (iOS delivers the same shape through the plugin event channel). - Component
Props - Per-kind properties. All optional; irrelevant fields are ignored.
- Configure
TabBar Options - Create
Component Options - Dismiss
Sheet Options - Glass
Support - Present
Sheet Options - Present a native Liquid Glass bottom sheet (iOS) with natively-rendered rows.
- Remove
Component Options - Select
TabOptions - SetBadge
Options - Sheet
Option - An option for a
selectsheet row. - Sheet
Row - One row in a native sheet (iOS), rendered natively. Tappable rows report
the
idviasheetRow; form rows report viasheetField/sheetSubmit. - TabBar
Insets - Space the web content should reserve so the floating bar doesn’t cover it.
- TabItem
- A single tab in the native bottom tab bar.
- TabSelected
Payload - Payload of the
system-components://tab-selectedevent emitted on macOS (iOS delivers the same shape through the plugin event channel). - Update
Component Options - Update
Components Options - Batched form of
UpdateComponentOptions— one IPC round trip and one (animation-disabled) native transaction for all geometry updates of a frame. Used by the DOM scroll-sync path. - Window
Glass Options
Enums§
- Component
Anchor - Where a component is pinned, relative to the window/safe area.
- Component
Kind - Kind of native overlay component.
- Error
Traits§
- System
Components Ext - Extensions to
tauri::App,tauri::AppHandleandtauri::Windowto access the system-components APIs.
Functions§
- init
- Initializes the plugin. Call this from your Tauri app’s
lib.rs: