StealThis .dev

CoffeeService — Coffee & Bakery Studio

A warm, light-themed coffee and bakery studio website featuring Three.js bean field background, smooth scroll animations with Lenis, GSAP transitions, e-commerce cart functionality, and artisan-focused content.

Open in Lab
html css javascript threejs gsap lenis webgl
Targets: JS HTML

Code

CoffeeService — Coffee & Bakery Studio

A warm, light-themed portfolio website for a coffee and bakery studio, featuring a Three.js bean field background with animated coffee beans and steam particles, smooth scroll animations powered by Lenis, GSAP transitions, and e-commerce functionality with shopping cart.

How it works

The website combines culinary aesthetics with advanced web technologies:

  1. Three.js Bean Field — Animated 3D background with coffee bean spheres and steam particle system
  2. Lenis Smooth Scroll — Buttery-smooth scrolling with velocity tracking
  3. GSAP Animations — Fade-in animations for hero content, product cards, and sections
  4. E-commerce Cart — Functional shopping cart with add-to-cart functionality and total calculation
  5. Marquee Animation — Continuous scrolling marquee that speeds up with scroll velocity
  6. Data-Driven Content — Products, services, people, workshops, and stats generated from JavaScript arrays

Features

  • Product Shop — E-commerce grid with product cards and prices
  • Shopping Cart — Sticky sidebar cart with item management
  • Service Showcase — Coffee catering, bread lab, and cake studio services
  • People Section — Team member cards with roles and specialties
  • Workshops List — Educational workshop offerings
  • Flavor Stack — Technology/tool chips for the studio
  • Stats Section — Key metrics (coffee origins, weekly loaves, pastries)
  • Contact Form — Reservation form for tastings and events
  • Loading Animation — GSAP-powered loader with coffee cup and steam animation

Technologies

  • Three.js — 3D background with coffee bean spheres and steam particles
  • GSAP — Animation library for smooth transitions
  • Lenis — Smooth scroll library with velocity tracking
  • Custom CSS — Light theme with warm gradients and glassmorphism effects

Design

  • Light Theme — Warm beige and brown color palette
  • Typography — Playfair Display (serif) for headings, Quicksand (sans-serif) for body
  • Glassmorphism — Frosted glass effects on panels and topbar
  • Responsive Layout — Mobile-friendly grid layouts

Use cases

  • Coffee shop and bakery websites
  • Culinary studio portfolios
  • E-commerce food and beverage sites
  • Artisan business showcases