| Crates.io | tauri-plugin-ntb |
| lib.rs | tauri-plugin-ntb |
| version | 1.0.0 |
| created_at | 2025-11-05 17:07:00.977878+00 |
| updated_at | 2025-11-06 17:00:32.402006+00 |
| description | A Tauri plugin for custom title bars |
| homepage | |
| repository | |
| max_upload_size | |
| id | 1918253 |
| size | 179,791 |
NTB (Native Title Bar) is a Tauri v2 plugin providing native-looking title bar.
It doesn't support macOS, because Tauri supports the window controls overlay on macOS.
NTB has all the needed permissions in the default permission.
NTB currently only supports 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>