r/SideProject • u/NikunjaSarma • 3h ago
Building a native macOS app — which framework gives the most UI flexibility and supports interactive SVG animations?
I'm planning to build a native macOS application and currently exploring the best framework for it.
My main priority is UI design flexibility. I don't want to be restricted to basic system-looking components. I want to build polished, modern interfaces with custom layouts, smooth transitions, micro-interactions, and animated elements.
I'm currently using Gemini for development assistance, but I'm still deciding on the tech stack.
A few things I'd love advice on:
- Framework: Should I use SwiftUI, AppKit, or something like Tauri with a web frontend (React, Vue, etc.)?
- UI flexibility: Which approach gives the most control over custom UI, typography, gradients, shadows, layouts, and animations while still feeling native on macOS?
- Interactive SVG animations: How can I create animations similar to the Pinia website (https://pinia.vuejs.org/)? Specifically, I like the interactive SVG elements, mouse-hover effects, animated paths, and elements that react to cursor movement.
- Animation libraries: Are there libraries or approaches for achieving advanced SVG interactions, motion graphics, and smooth hover-based animations in a macOS app?
- AI-assisted development: Which framework works best with Gemini for generating and maintaining complex UI components?
I'm looking for advice from developers who have actually built macOS applications with visually rich interfaces.
My goal: A genuinely native macOS application with the visual polish and interaction quality of a modern web product, without sacrificing performance or native OS integration.
I'd appreciate real-world experiences, recommended libraries, and examples of apps built with these frameworks.
1
u/MathematicianFar5683 3h ago
The Pinia site is a normal web page, so what you're describing is HTML/SVG plus JS (GSAP, Motion, etc). Two realistic paths:
1
u/aaronsuns 3h ago
For the Pinia-style effects, the closest native match is SwiftUI: a custom `Shape` whose `animatableData` interpolates path points gives you animated paths, `TimelineView` or `Canvas` covers frame-driven motion, and `onContinuousHover` reads cursor position for reactive elements. If you want the web site's exact look with the least rework, Tauri or Electron renders in WebKit on macOS, so your existing SVG and JS/GSAP-style hover code runs nearly unchanged. Choose SwiftUI for a truly native feel and Tauri if the visual fidelity of web animation libraries matters more than native controls.
1
u/Subject-Back-5145 2h ago
for widgets and notch style stuff swiftui is the better fit, since menu bar and overlay windows are native apis. tauri can do transparent frameless windows too but you'll hit more edge cases with the notch area and system widgets.