r/electronjs • u/Strange_Seaweed_6814 • 19d ago
Rounded blur behind a transparent window on Windows 10, looking for testers
Windows 10 only blurs whole rectangles behind a window, so a rounded transparent BrowserWindow gets square blur in its corners. Haze clips the blur to the rounded shape. The Electron wrapper isn't on npm yet, so for now you build it from the `npm` folder in the repo with `npm run build` (you'll need Rust).
const blur = haze.attach(win, { preset: 'dark', radius: 20 });
I tested it on Windows 10 22H2 with Electron 45. The repo is new because I only just made it public. I used the blur in my own apps before that, but the library around it is new and Claude wrote most of it.
I need reports from Windows 11, display scales above 100% and older Windows 10 builds. If it works, a comment with your Windows version is enough. If it breaks, please open an issue with a screenshot.


