MCPcopy Index your code
hub / github.com/danielwuachin/nextjs-animations

github.com/danielwuachin/nextjs-animations @main

Chat with this repo
repository ↗ · DeepWiki ↗ · + Follow
25 symbols 57 edges 26 files 0 documented · 0%
What it actually does AI analysis from the code graph — generated when you open this
loading…
README

Creating scroll animations in Next js with Framer Motion (Only desktop, for now) 🚀

By rebuilding part of CodeSandbox Project's page

Animation

Description🌟

Discover the world of stunning scroll animations with this Next.js project! Rebuilding part of CodeSandbox's page, this application utilizes the power of Framer Motion, Tailwind CSS, and TypeScript. Experience smooth and captivating animations, interactive UI/UX, and advanced CSS concepts. Don't miss out on this extraordinary journey!

Links

Technical specifications ⚡️

  • Next.js 13
  • React 18
  • TypeScript
  • Tailwind CSS
  • Framer Motion
  • Advance CSS concepts

Key Highlights

  • Scroll amazing animations
  • Gradients in mouse pointer
  • Interactive and nice UI/UX

Running this project 🖥️

Run yarn or npm i to install the project. Next run yarn dev or npm run dev to view the project by clicking the link in the terminal.

Project structure

  • The homepage is located in src/pages/index.tsx
  • All animated sections can be found in src/sections
  • Page with gradients can be found in /src/pages/gradientssss or in your browser at /gradientssss.

Enjoy the animations experience! 💙


NOTE: I am NOT affiliated with CodeSandbox, but do think their website is an amazing showcase of Framer Motion's capabilities and a great example for other people to learn from. All of the svg's in /public are owned by CodeSandbox as well as all of the icons in /src/icons, they are only used as educational material here.

Design remains copyrighted by CodeSandbox, it can only be used for educational purposes.

See the LICENSE for more information about reusing this code.

Extension points exported contracts — how you extend this code

Window (Interface)
(no doc)
src/utils/gtag.ts

Core symbols most depended-on inside this repo

stylesWithCssVar
called by 9
src/utils/motion.ts
pageview
called by 1
src/utils/gtag.ts
Gtag
called by 0
src/components/gtag.tsx
Hero
called by 0
src/sections/hero.tsx
updateMousePosition
called by 0
src/sections/hero.tsx
StreamlinedExperience
called by 0
src/sections/streamlined-experience.tsx
Features
called by 0
src/sections/features.tsx
SamePage
called by 0
src/sections/same-page.tsx

Shape

Function 24
Interface 1

Languages

TypeScript100%

Modules by API surface

src/utils/gtag.ts2 symbols
src/sections/hero.tsx2 symbols
src/pages/gradientssss.tsx2 symbols
src/utils/motion.ts1 symbols
src/sections/streamlined-experience.tsx1 symbols
src/sections/same-page.tsx1 symbols
src/sections/no-lockin.tsx1 symbols
src/sections/more-features.tsx1 symbols
src/sections/features.tsx1 symbols
src/sections/collaboration.tsx1 symbols
src/pages/index.tsx1 symbols
src/pages/_document.tsx1 symbols

For agents

$ claude mcp add nextjs-animations \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact

Ask about this repo answers extend the page