Fully responsive and perfect for exploring advanced GSAP animations in React.
๐ Table of Contents
- ๐ค Introduction
- โ๏ธ Tech Stack
- ๐ Features
- ๐คธ Quick Start
Build and deploy a stunning GSAP-powered cocktail website using React and Tailwind CSSโa modern, scroll-driven experience packed with advanced animations. Bring your design to life with:
- Dynamic SplitText reveals for bold section intros
- Smooth parallax scrolling and scroll-triggered effects
- Pinned sections for immersive storytelling
- Scroll-synced video playback for cinematic impact
- Scroll-based image masking for visually striking transitions
- Custom animated carousel for showcasing content
- Seamless multi-section timelines for smooth flow
- Fully responsive UI across all devices
This project combines creative motion design with interactive components to deliver a polished, modern web experience.
-
GSAP is a powerful JavaScript animation library used in this project to create dynamic, scroll-driven visuals. Features include SplitText animations for bold text reveals, ScrollTrigger for timeline control, parallax scrolling, pinned sections, scroll-synced video playback, seamless multi-section timelines, image masking effects, and a fully custom animated carousel.
-
React is a declarative JavaScript library for building interactive UIs. It provides the component structure for modular development, allowing smooth integration of GSAP animations, reusable logic for scroll behavior, and support for responsive layout and state-driven UI features like carousels and video sections.
-
Tailwind CSS is a utility-first CSS framework that allows developers to design custom user interfaces by applying low-level utility classes directly in HTML, streamlining the design process.
-
Vite is a lightning-fast build tool and development server that powers this projectโs workflow. It enables instant hot module replacement, fast startup, and optimized production buildsโideal for an animation-heavy React site with smooth, real-time development feedback and minimal config.
The entire interface of Velvet Pour โ GSAP Cocktail Website is crafted to deliver a smooth, immersive, and visually stunning experience. From scroll-triggered sections to animated carousels and video-synced storytelling, every element follows a modern, elegant, and responsive design system that enhances both interactivity and aesthetics.
-
SplitText Animations: Create impactful text reveals using GSAPโs SplitText for dynamic intros and section highlights.
-
ScrollTrigger Effects: Power scroll-based animations and timeline control with GSAPโs ScrollTrigger.
-
Parallax Scrolling: Add immersive depth with smooth parallax effects that respond to user scroll.
-
Pinned Sections: Lock sections in view while animating content for engaging scroll experiences.
-
Scroll-Synced Video Playback: Sync video progress with scroll position for cinematic storytelling.
-
Image Masking Effects: Use scroll-triggered pins and masks for visually striking image transitions.
-
Custom Carousel: Build a fully customized carousel with multiple navigation options and animated slides.
-
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 enhanced security and optimized video performance!
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/Itssanthoshhere/Velvet-Pour.git
cd Velvet-PourInstallation
Install the project dependencies using npm:
npm installRunning the Project
npm run devOpen http://localhost:5173 in your browser to view the project.
This app was originally inspired by JavaScript Mastery's, but built and customized independently with additional improvements, UI changes, and debugging.
Feel free to connect with me:
- GitHub: Itssanthoshhere
- LinkedIn: Santhosh VS
If you liked this project, give it a โญ and share it with others!