mirror of
https://github.com/tauri-apps/window-shadows.git
synced 2026-02-04 02:31:23 +01:00
5d4e6465e764c71710a229867bd9b885b193b82d
Co-authored-by: amrbashir <amrbashir@users.noreply.github.com>
window-shadows
Add native shadows to your windows.
Platform-specific
- Windows: On Windows 11, the window will also have rounded corners.
- macOS: Shadows are always disabled for transparent windows.
- Linux: Unsupported, Shadows are controlled by the compositor installed on the end-user system.
Example
use window_shadows::set_shadow;
set_shadow(&window, true).expect("Unsupported platform!");
Screenshots
| Windows | macOS |
|---|---|
![]() |
![]() |
Description
Languages
Rust
100%

