Guides
Straight answers to the questions behind great motion on the web — the same techniques every template here is built on.
How to add scroll animations in Next.js
The reliable stack is GSAP ScrollTrigger for the scroll-linked animation and Lenis for smooth scrolling, running in a client component on the Next.js App Router. Register ScrollTrigger, create triggers inside a useEffect (or gsap.context for cleanup), and let Lenis drive the scroll while forwarding its position to ScrollTrigger.update.
Read guide →GSAP vs Framer Motion: which should you use?
Use Framer Motion for component/UI animation in React — enter/exit transitions, gestures, layout animations — where its declarative, component-first API is a joy. Use GSAP for scroll-driven storytelling — pinned sections, scrubbed timelines, character reveals and video scrubbing — where ScrollTrigger has no real equal.
Read guide →What makes a website template feel premium?
Premium comes from restraint and craft, not more features. Three things do most of the work: one clear concept the whole page serves, editorial typography with real hierarchy, and motion that's linked to scroll rather than sprinkled on as fade-ins. Performance and honest detail do the rest.
Read guide →How to use Claude models to build a website
Build with Claude Code — the agentic tool that reads and writes your files, runs commands and verifies its own work in a browser — not by pasting snippets from a chat window. Reach for the most capable model (Claude Opus 4.8) for architecture and the tricky motion, and a fast model (Claude Haiku 4.5) for mechanical edits like renames and copy tweaks.
Read guide →How to write a prompt for a scroll-animation website
Be specific about four things and the model does the rest: the stack (Next.js + GSAP ScrollTrigger + Lenis), one clear idea the whole page serves, each section described as a scene with its exact motion, and the technical gotchas (all-intra video for scrubbing, the readyState gate). Then tell it to verify in a browser and iterate.
Read guide →How to build a scroll-scrubbed video website
Encode the video so every frame is a keyframe, pin it with position: sticky inside a tall section, and set video.currentTime from the section's scroll progress on each animation frame, easing toward the target so it glides. The video never plays; scroll is the playhead.
Read guide →How to morph particles between shapes on scroll with Three.js
Generate each shape once as an array of positions, give the geometry two position attributes (the current shape and the next), and blend between them in the vertex shader with a single uniform that scroll controls. Morphing then costs one number per frame instead of re-uploading tens of thousands of points.
Read guide →Variable-font text that reacts to the cursor, and five more text animations
Use a variable font that has both a weight and a width axis, put each letter in its own element, and on every animation frame set that letter's `font-variation-settings` from its distance to the pointer: thin and condensed when far, heavy and wide when close. Ease the values so they glide rather than snap.
Read guide →