Gsap_macbook_landing

Apple-style website built with React, Three.js, GSAP, and TailwindCSS. Create immersive 3D product scenes with realistic lighting, scroll-triggered animations, masking effects and smooth animations.

adrianhajdin
by adrianhajdin
Other · JavaScript · Updated: 4 months ago
192
stars
89
Forks
community
BBB
Safety
medium
BBB
Quality
3dgsapreact19tailwindcssthreejs

📋 Table of Contents

  1. ✨ Introduction
  2. ⚙️ Tech Stack
  3. 🔋 Features
  4. 🤸 Quick Start
  5. 🔗 Assets
  6. 🚀 More

🚨 Tutorial

This repository contains the code corresponding to an in-depth tutorial available on our YouTube channel, JavaScript Mastery.

If you prefer visual learning, this is the perfect resource for you. Follow our tutorial to learn how to build projects like these step-by-step in a beginner-friendly manner!

✨ Introduction

Apple-style 3D website built with React, Three.js, GSAP, and TailwindCSS! Showcase products in immersive 3D scenes, scroll-animated models, and pinned sections. Featuring responsive design, smooth timeline animations, and visually striking image transitions—perfect for developers creating interactive, modern web experiences.

If you're getting started and need assistance or face any bugs, join our active Discord community with over 50k+ members. It's a place where people help each other out.

⚙️ Tech Stack

🔋 Features

👉 3D Product Scene with Realistic Lighting System: Showcase products in lifelike 3D environments for maximum visual impact.

👉 Animate 3D Model on Scroll: Create immersive interactions by animating 3D models based on user scroll position.

👉 ScrollTrigger Effects: Power scroll-based animations and timeline control with GSAP’s ScrollTrigger.

👉 Pinned Sections: Lock sections in view while animating content for engaging scroll experiences.

👉 Image Masking Effects: Use scroll-triggered pins and masks for visually striking image transitions.

👉 Seamless Timeline Animations: Craft smooth animation timelines that span across multiple sections.

👉 Responsive Design: Ensure fluid UI and adaptive GSAP animations across all screen sizes.

And many more, including code architecture and reusability.

🤸 Quick Start

Follow these steps to set up the project locally on your machine.

Prerequisites

Make sure you have the following installed on your machine:

Cloning the Repository

git clone https://github.com/adrianhajdin/gsap_macbook_landing.git
cd gsap_macbook_landing

Installation

Install the project dependencies using npm:

npm install

Running the Project

npm run dev

Open http://localhost:5173 in your browser to view the project.

🔗 Assets

Assets and snippets used in the project can be found in the video kit.

🚀 More

Advance your skills with Next.js Pro Course

Enjoyed creating this project? Dive deeper into our PRO courses for a richer learning adventure. They're packed with detailed explanations, cool features, and exercises to boost your skills. Give it a go!

🔓 Sign in to unlock more
Sign in with GitHub