window-vibrancy
Make your windows vibrant.
Platform support
Windows:
Yes!macOS:
Yes!Linux:
No, blur effect is controlled by the compositor installed on the user system and they can enable it for your app if they want.
Available methods
apply_blur()
&clear_blur()
-Windows 7/10/11
apply_acrylic()
&clear_acrylic()
-Windows 10/11
has bad performance when resizing/dragging the window on Windows 10 v1903+ and Windows 11 build 22000.apply_mica()
&clear_mica()
-Windows 11
apply_vibrancy()
-macOS 10.10+
Examples
-
with
winit
:use ; use ; let event_loop = new; let window = new .with_decorations .build .unwrap; apply_vibrancy.unwrap; apply_blur.unwrap;
-
with
tauri
:use ; let window = app.get_window.unwrap; apply_vibrancy.unwrap; apply_blur.unwrap;