tauri-plugin-frame
Custom window frame controls for Tauri v2 on Windows. Supports Windows Snap Layout and custom titlebar styling.

Install
Add to src-tauri/capabilities/default.json:
Set in tauri.conf.json:
Usage
Basic (manual per window):
use Manager;
use WebviewWindowExt;
default
.plugin
.setup
Auto-apply to all windows:
use FramePluginBuilder;
default
.plugin
CSS Styling
}
}
API
| Option | Default | Description |
|---|---|---|
titlebar_height(u32) |
32 | Titlebar height in pixels |
auto_titlebar(bool) |
false | Auto-apply to all windows |
| Method | Description |
|---|---|
create_overlay_titlebar() |
Apply titlebar with default height |
create_overlay_titlebar_with_height(u32) |
Apply titlebar with custom height |
License
MIT - Originally forked from tauri-plugin-decorum