public 3d-motion repository
Macbook-Landing-Page
// Itssanthoshhere/Macbook-Landing-Page
ο£Ώ Apple-style 3D Website β Built with React, Three.js, GSAP, and TailwindCSS. Experience immersive 3D product showcases with realistic lighting, scroll-triggered animations, masking effects, and buttery-smooth transitions.

</a>
π Table of Contents
- β¨ Introduction
- βοΈ Tech Stack
- π Features
- π€Έ Quick Start
- π§± Project Structure
- π§ Architecture & Animations
- π€ Contribution
- π Contacts
- π License
- π Acknowledgements
β¨ Introduction
Macbook Landing Page is a high-end, Apple-style 3D product website built with cutting-edge web technologies like React, GSAP, Three.js, and TailwindCSS.
It features:
- Immersive 3D visuals powered by Three.js
- Scroll-triggered GSAP animations
- Responsive, modern layout
- Cinematic transitions and masking effects
The project is ideal for designers and developers aiming to build interactive product showcases, tech landing pages, or portfolio experiences with smooth animations and premium UI feel.
βοΈ Tech Stack
| Technology | Purpose |
|---|---|
| React.js | Component-based architecture for dynamic UI |
| GSAP + ScrollTrigger | Smooth, scroll-driven animations |
| Three.js | Realistic 3D rendering and lighting |
| TailwindCSS | Utility-first responsive styling |
| Zustand | Lightweight global state management |
| Vite | Fast build tool and dev server |
| Hostinger | Hosting and deployment |
| CodeRabbit | AI-powered code review integration |
π Features
- π Apple-Style Product Animation β Showcase products with cinematic motion and scroll-sync effects
- βοΈ ScrollTrigger Timeline β Multi-section animation synchronization powered by GSAP
- π§© 3D Model Integration β Interactive Three.js scenes with realistic lighting and depth
- πͺ Image Masking & Reveal Effects β Scroll-pinned masks for dynamic transitions
- π₯οΈ Responsive Layout β Fully optimized for desktop, tablet, and mobile screens
- π¨ Customizable & Scalable β Modular structure to add more sections or models easily
- β‘ Optimized Performance β Smooth frame rates even with heavy animations
π€Έ Quick Start
Prerequisites
Ensure the following are installed:
Clone the Repository
git clone https://github.com/Itssanthoshhere/Macbook-Landing-Page.git
cd Macbook-Landing-Page
### Install Dependencies
```bash
npm install
```
### Run the Development Server
```bash
npm run dev
```
Visit http://localhost:5173 to view the project locally.
π§± Project Structure
| Folder/File | Description |
|---|---|
| src/components | React components like Showcase, Navbar, Hero, etc. |
| src/constants | Data files for sections and assets |
| src/store | Zustand state management |
| public/ | Static assets β videos, images, and 3D models |
| vite.config.js | Vite configuration for fast bundling |
| index.css | Global styles with TailwindCSS directives |
π§ Architecture & Animations
The animation architecture is powered by GSAP timelines with ScrollTrigger integration.
Key highlights:
- Section-based triggers for pinned scenes
- Video + mask reveals synchronized with scroll
- Responsive animation breakpoints via
useMediaQuery - Optimized timeline flow for performance
Each visual section (like βShowcaseβ, βHeroβ, or βPerformanceβ) has its own animation sequence and is controlled declaratively via React hooks.
π€ Contribution
Contributions are always welcome! To contribute:
-
Fork the repo
-
Create a new branch
git checkout -b feature/my-feature -
Make changes and commit
git commit -m "feat: add my feature" -
Push your branch
git push origin feature/my-feature -
Create a Pull Request π
π Contacts
- GitHub: Itssanthoshhere
- LinkedIn: Santhosh VS
π License
This project is for educational and portfolio purposes only. All rights to assets, logos, and trademarks belong to their respective owners.
π Acknowledgements
- JavaScript Mastery β for the tutorial reference
- React β for the component-based UI
- GSAP β for scroll-driven motion
- Three.js β for 3D rendering
- TailwindCSS β for utility styling
β Show Your Support
If you liked this project, give it a β on GitHub and share it with your network!