Add native shadows to your windows.
https://github.com/tauri-apps/window-shadows.git
[!warning]
# ARCHIVE NOTICE
> This crate is Unmaintained! it served its purpose which was an interim solution to enable shadows on undecorated windows fortaoandtauri.
> As oftauri@v2and recent versions oftaoandwinit, they all support enablind/disabling shadows so this crate is not needed.
> If you're usingtauri@v1and need this crate, don't worry, this crate will still function withtauri@v1without any problems.
Add native shadows to your windows.
use window_shadows::set_shadow;
#[cfg(any(windows, target_os = "macos"))]
set_shadow(&window, true).unwrap();
| Windows | macOS |
|---|---|
![]() | ![]() |