Resources
Guides
Each one is a real, evidenced pain with no good answer elsewhere, and each ends at the component that solves it.
An AOS alternative for Astro
AOS keeps animated elements invisible until its script runs, shows elements without animating them after a ClientRouter navigation, and has had no release since October 2018. Reveal does the same job without those problems.
GSAP ScrollTrigger with Astro View Transitions
Why ScrollTrigger stops working after a ClientRouter navigation, and the adapter that sets it up on every page and cleans up before the next one.
Lenis smooth scroll with Astro's ClientRouter
A navigation made while Lenis is still easing scrolls the next page to the old page's target. lenisPage stops the animation and resyncs Lenis after every ClientRouter swap.
Recipes
Short compositions, copy-paste.
The agent skill
The rules an agent needs to use the library well (the cost ladder, the ClientRouter and reduced-motion rules, the tokens and the checks before it is done), as one SKILL.md for Claude Code, Cursor and Codex. Install it, with or without the MCP server.
Showcase
Sites built with Moonarc. Submit yours. The first ones go here and to the Astro Discord.