tauri-plugin-ntb

Crates.iotauri-plugin-ntb
lib.rstauri-plugin-ntb
version1.0.0
created_at2025-11-05 17:07:00.977878+00
updated_at2025-11-06 17:00:32.402006+00
descriptionA Tauri plugin for custom title bars
homepage
repository
max_upload_size
id1918253
size179,791
(Efdhruhfuwvy)

documentation

README

Tauri Plugin NTB

NTB (Native Title Bar) is a Tauri v2 plugin providing native-looking title bar.

Features

  • Changes with Linux theme and window control layout
  • Supports Windows Snap Overlay
  • Customizable window controls side

It doesn't support macOS, because Tauri supports the window controls overlay on macOS.

Usage

Permissions

NTB has all the needed permissions in the default permission.

Usage

NTB currently only supports Svelte.

Svelte

<script>
  import TitleBar from "tauri-plugin-ntb-api/svelte";
</script>

<TitleBar
  leftControls={true /* show the left title bar controls (default: true) */}
  rightControls={true /* show the right title bar controls (default: true) */}>
  {#snippet left()}
    <!-- the left title bar content -->
  {/snippet}
  {#snippet center()}
    <!-- the center title bar content -->
  {/snippet}
  {#snippet right()}
    <!-- the right title bar content -->
  {/snippet}
</TitleBar>
Commit count: 0

cargo fmt