Whimsical Web Animations 🎉

This workshop with Josh Comeau covers a bunch of tools and techniques that can be used to create rich, delightful interactions and animations with React. We’ll create Facebook-style “Text Delight” animations from scratch, dig into Twitter-style micro-interactions, and create some really over-the-top animations using Canvas and SVG. There are a lot of powerful tools at our disposal, from modern browser APIs to powerful libraries like React Spring and Pose, and we’ll learn how to leverage them to do complex things in record time.

Requires beginner-to-intermediate React skills (should feel comfortable with props/state, lifecycle methods, and refs)

Covered subjects:

  • Thoughtful application of animation and interaction
  • CSS transitions and keyframe animations
  • JS animation with React hooks
  • React libraries: React Spring and popmotion Pose
  • Particle effects
  • HTML Canvas animation
  • SVG animation (Bezier curves!)
  • CSS clip-path animation
Videos
  • 0 - Whimsical Web Animations: introduction (5m55s)
  • 1 - Whimsical Web Animations: Travel Startup Intro (10m14s)
  • 2 - Whimsical Web Animations: Travel Startup - Task 1 (2m25s)
  • 3 - Whimsical Web Animations: Travel Startup - Task 1 Review (2m14s)
  • 4 - Whimsical Web Animations: Travel Startup - Task 2 and 3 Intro (21s)
  • 5 - Whimsical Web Animations: Travel Startup - Task 2 and 3 Review (5m39s)
  • 6 - Whimsical Web Animations: Travel Startup - Task 1 Stretch Goals (5m24s)
  • 7 - Whimsical Web Animations: Travel Startup - Part 3 <Highlights /> Intro and Review (5m5s)
  • 8 - Whimsical Web Animations: Like Button - Intro (1m36s)
  • 9 - Whimsical Web Animations: Like Button - Part 1 - Springing the heart (8m4s)
  • 10 - Whimsical Web Animations: Like Button - Part 1 - Springing the heart - Task 1 - Intro (1m42s)
  • 11 - Whimsical Web Animations: Like Button - Part 1 - Springing the heart - Task 1 - Review (2m36s)
  • 12 - Whimsical Web Animations: Like Button - Part 2 - Popping Circle - Intro (7m14s)
  • 13 - Whimsical Web Animations: Like Button - Part 2 - Popping Circle - Task 1 - Intro (45s)
  • 14 - Whimsical Web Animations: Like Button - Part 2 - Popping Circle - Task 1 - Review (1m59s)
  • 15 - Whimsical Web Animations: Like Button - Part 2 - Popping Circle - Task 1 - Question on react-spring (1m11s)
  • 16 - Whimsical Web Animations: Like Button - Part 2 - Popping Circle - Task 1 - Question on svg transform (1m40s)
  • 17 - Whimsical Web Animations: Like Button - Part 3 - Particles - Intro (7m29s)
  • 18 - Whimsical Web Animations: Like Button - Part 3 - Particles - Tasks - Intro (10m22s)
  • 19 - Whimsical Web Animations: Like Button - Part 3 - Particles - Tasks - Review (8m1s)
  • 20 - Whimsical Web Animations: Like Button - Part 3 - Particles - Tasks - Review CSS sprites performance (3m52s)
  • 21 - Whimsical Web Animations: Confetti - Intro (3m36s)
  • 22 - Whimsical Web Animations: Confetti - Intro - Canvas vs SVG (2m44s)
  • 23 - Whimsical Web Animations: Confetti - Intro - Matter.js Intro (4m15s)
  • 24 - Whimsical Web Animations: Confetti - Task 1 - Intro (16m56s)
  • 25 - Whimsical Web Animations: Confetti - Task 1 - Review (3m49s)
  • 26 - Whimsical Web Animations: Confetti - Task Wind - Intro (6m53s)
  • 27 - Whimsical Web Animations: Confetti - Task Wind - Review (6m24s)