Connect by JBRH Open Connect

GSAP, Lenis and AutoAnimate

Three small libraries give Connect its motion. GSAP, with its ScrollTrigger and MotionPath plugins, animates the landing page. Lenis smooths scrolling there. AutoAnimate animates list changes, such as toasts and the Needs You queue, inside the app. All three are vendored files, and motion is reduced for people who ask their system for less.

Status
Reference What this means
Audience
both, developer
Last verified
Product version
6.3.2

What it is#

GSAP (the GreenSock Animation Platform) is a JavaScript animation library, now owned by Webflow. Since 2025 it and all its plugins are free to use under GSAP's Standard "No Charge" License, which is free but not an open-source licence.

Lenis, from darkroom.engineering, is a smooth-scroll library under MIT. AutoAnimate, from FormKit, adds enter, leave and move transitions to a parent element's children with one call, also under MIT.

Category
Animation and scrolling
Versions
GSAP 3.15.0 (file header), Lenis 1.3.26 (in the file), AutoAnimate as vendored
Files
webapp/vendor/gsap.min.js, ScrollTrigger.min.js, MotionPathPlugin.min.js, lenis.esm.js, auto-animate.esm.js
Official sites
gsap.com, lenis.darkroom.engineering, auto-animate.formkit.com

Where Connect uses it#

Place in ConnectWhat it does there
webapp/landing/landing.js, theme.jsGSAP timelines, scroll-triggered sections and Lenis scrolling
webapp/src/ui/toast.jsAutoAnimate for toasts arriving and leaving
webapp/src/features/needs-you/view.jsAutoAnimate as items are approved and leave the queue

How it connects#

  1. The page checks prefers-reduced-motion
  2. If motion is allowed, GSAP and Lenis initialise on the landing page
  3. ScrollTrigger ties animations to scroll position
  4. In the app, AutoAnimate watches list containers
  5. With reduced motion, content appears in place without animation

Benefits and limits#

What it gives Connect:

  • Motion that explains change: an approved item visibly leaves the queue.
  • Small, dependency-free files that load only where used.
  • GSAP is now free for commercial use, so there is no licence fee.

Where it stops, and what Connect does about it:

  • GSAP's licence is not open source. Webflow owns it, and its terms restrict some uses, such as competing no-code animation tools. Connect uses it only as a page library.
  • Smooth scrolling can feel wrong to some people and with some assistive technology. It is off when reduced motion is set.
  • Animation must never be the only signal of a change. Text and state carry the meaning.

Security and privacy#

  • All three are vendored, served from Connect's own origin, with no third-party CDN at run time.
  • No library here makes network requests.
  • The vendored files are reviewed like any other change.

Licence, cost and versions#

QuestionAnswer
LicencesGSAP: Standard "No Charge" License (Webflow). Lenis: MIT. AutoAnimate: MIT
CostNone
VersionsGSAP 3.15.0; Lenis 1.3.26; AutoAnimate as vendored
CompatibilityCurrent browsers. Animations honour prefers-reduced-motion

Troubleshooting#

The landing page feels sluggish on a phone
Scroll-linked animations are heavy on low-end devices. Reduced motion turns them off.
A list jumps instead of animating
AutoAnimate was not attached to that container, or reduced motion is on.
Console error about a GSAP plugin
The plugin file is not loaded, or is registered before GSAP itself.

Official references#

Questions#

Can I turn the animations off?

Yes. Set your operating system's reduce-motion preference, and Connect's pages follow it.

Is GSAP open source?

No. It is free to use, including commercially, under GSAP's own Standard License, but that is not an open-source licence. Lenis and AutoAnimate are MIT.