| Crates.io | window-shadows-v2 |
| lib.rs | window-shadows-v2 |
| version | 0.1.1 |
| created_at | 2025-11-28 14:40:39.507876+00 |
| updated_at | 2025-11-28 14:43:24.685504+00 |
| description | Add native shadows to your windows for tauri v2. |
| homepage | |
| repository | https://github.com/nautilus-ops/window-shadow-v2 |
| max_upload_size | |
| id | 1955440 |
| size | 251,446 |
This crate is a Tauri v2-ready alternative to window-shadows.
Since Tauri v2 already supports toggling window shadows, the original window-shadows crate stopped receiving updates. However, this crate continues to provide the native shadow implementation that some apps still need.
My app ships with a custom title bar. On Windows 10, enabling shadows results in the following bug:

The top shadow becomes inactive and leaves a white line. By porting the native shadow implementation from window-shadows and adapting it for Tauri v2, the issue is resolved.
cargo add window-shadows-v2
.setup(|app| {
window_shadows_v2::set_shadows(app, true);
})