A fully interactive macOS-style portfolio website that replicates the look, feel, and behavior of a real Mac desktop.
MacFolio is designed to showcase advanced frontend engineering skills, not just static UI.
This portfolio simulates an operating system experience directly in the browser.
- Live Demo: https://macfolio-ansh.vercel.app/
- GitHub: https://github.com/Ansh411/MacFolio-Ansh
- macOS-inspired desktop UI
- Interactive Dock with magnification animation
- App-like windows with open / close / focus behavior
- Smooth, high-performance GSAP animations
- Centralized global state using Zustand + Immer
- Modular, scalable architecture
- Desktop layout with icons and wallpaper
- Click interactions similar to macOS
- Layered UI using z-index & focus control
- macOS-style hover magnification
- Smooth scale interpolation
- Active app indicators
- App launch animations
- Open / close applications dynamically
- Focused window handling
- Animated mount & unmount
- Centralized app lifecycle state
- GSAP-powered timelines
- Smooth transitions & easing
- GPU-friendly transforms
- Performance-optimized animations
- React 19 (Vite)
- JavaScript (ES6+)
- Tailwind CSS with react-icons and react-tooltip
- Zustand — lightweight global state
- Immer — immutable state updates
- GSAP (GreenSock Animation Platform)
- Vite
- ESLint
src/
├── components/ # Dock, window UI, shared components
├── apps/ # Finder, Terminal, Gallery, Trash, etc.
├── store/ # Zustand + Immer global state
├── animations/ # GSAP animation logic
├── assets/ # Icons, wallpapers, images
├── App.jsx # App shell & layout
└── main.jsx # Entry point
- Global app state managed via Zustand
- Immutable updates handled by Immer
- Tracks:
- Open applications
- Active window
- Dock interactions
- UI visibility
| Technology | Purpose |
|---|---|
| React | Component-driven UI |
| Zustand | Minimal & scalable global state |
| Immer | Safe immutable updates |
| GSAP | Professional-grade animations |
| Vite | Fast development & builds |
git clone https://github.com/Ansh411/MacFolio-Ansh.git
cd MacFolio-Ansh
npm install
npm run devAnsh Gupta
Aspiring Full-Stack & AI Engineer
⭐ If you like this project ❤️
Give it a ⭐ on GitHub — it helps a lot!









