Manage and implement client-side page transitions using Taxi.js. Use when creating transition animations, handling cross-page state, or debugging navigation.
This skill covers how to work with the Taxi.js transition system and how it triggers module lifecycles.
onLeave -> transitionOut -> onPageOut hooks run -> modules destroyed.onEnter -> transitionIn -> modules initialized -> onPageIn hooks run -> onMount hooks run.Use the onPageIn and onPageOut hooks inside your modules to create seamless transitions.
import { onPageIn, onPageOut } from "@/modules/_";
import gsap from "@lib/gsap";
export default function(element: HTMLElement) {
// Entrance animation
onPageIn(async () => {
await gsap.from(element, {
opacity: 0,
y: 30,
duration: 1,
ease: "power3.out"
});
});
// Exit animation
onPageOut(async () => {
await gsap.to(element, {
opacity: 0,
duration: 0.5
});
}, { element }); // { element } ensures it only runs if visible
}
Transitions are managed in src/lib/pages.ts. You can ignore specific links by adding data-taxi-ignore to the HTML element in Webflow.
Promise (use async and await).data-module is present in the new page's HTML and that the filename matches exactly.transitionOut.onDestroy handles cleanup; it is automatically triggered by the transition system.npx skills add vallafederico/webflow-page-transitions下载完整 Skill 目录,包含 SKILL.md 及所有相关文件
Search for places (restaurants, cafes, etc.) via Google Places API proxy on localhost.
Interact with GitHub using the `gh` CLI. Use `gh issue`, `gh pr`, `gh run`, and `gh api` for issues, PRs, CI runs, and advanced queries.
Create or update AgentSkills. Use when designing, structuring, or packaging skills with scripts, references, and assets.
Start voice calls via the OpenClaw voice-call plugin.
Notion API for creating and managing pages, databases, and blocks.
Gemini CLI for one-shot Q&A, summaries, and generation.
Category:developer