{"id":26064445,"url":"https://github.com/adelpro/nextjs-view-transitions-v2","last_synced_at":"2025-09-09T12:46:09.995Z","repository":{"id":280687891,"uuid":"942780339","full_name":"adelpro/nextjs-view-transitions-v2","owner":"adelpro","description":null,"archived":false,"fork":false,"pushed_at":"2025-08-27T13:48:04.000Z","size":119,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-08-27T22:49:51.355Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://nextjs-view-transitions-v2.vercel.app/","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/adelpro.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2025-03-04T16:59:15.000Z","updated_at":"2025-08-27T13:48:08.000Z","dependencies_parsed_at":"2025-07-12T17:15:49.823Z","dependency_job_id":"1e359889-db9b-482a-8ee5-22d6a86a5f82","html_url":"https://github.com/adelpro/nextjs-view-transitions-v2","commit_stats":null,"previous_names":["adelpro/nextjs-view-transitions-v2"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/adelpro/nextjs-view-transitions-v2","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/adelpro%2Fnextjs-view-transitions-v2","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/adelpro%2Fnextjs-view-transitions-v2/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/adelpro%2Fnextjs-view-transitions-v2/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/adelpro%2Fnextjs-view-transitions-v2/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/adelpro","download_url":"https://codeload.github.com/adelpro/nextjs-view-transitions-v2/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/adelpro%2Fnextjs-view-transitions-v2/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":274297355,"owners_count":25259046,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-09-09T02:00:10.223Z","response_time":80,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2025-03-08T18:05:04.059Z","updated_at":"2025-09-09T12:46:09.972Z","avatar_url":"https://github.com/adelpro.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Next.js View Transitions v2\n\n\u003e Exploring Next.js viewTransition with Card Animations\n\nI've been experimenting with the new Next.js beta feature:\n\n```js\nexport const experimental = { viewTransition: true }\n```\n\nIt integrates the browser's new View Transitions API, enabling smooth card-to-page animations without extra libraries.\n\nIn this demo, a card expands into a full page view — powered natively by the browser + Next.js.\n\n## 🚀 Quick Start\n\n```bash\n# Clone \u0026 run\ngit clone https://github.com/adelpro/nextjs-view-transitions-v2.git\ncd nextjs-view-transitions-v2\nyarn install\nyarn dev\n```\n\nOpen [http://localhost:3000](http://localhost:3000) to see it in action.\n\n## 🎨 What it does\n\n- **Smooth transitions**: Cards seamlessly expand into full pages\n- **Zero dependencies**: Uses native browser View Transitions API\n- **Effortless implementation**: Just add `experimental.viewTransition = true`\n- **TypeScript + Tailwind**: Clean, modern stack\n\n## 🔧 How it works\n\nThe magic happens in two places:\n\n1. **Enable the feature** in your page/layout:\n   ```js\n   export const experimental = { viewTransition: true }\n   ```\n\n2. **Style your transitions** with CSS:\n   ```css\n   ::view-transition-old(root) {\n     animation: fade-out 0.3s ease-out;\n   }\n   \n   ::view-transition-new(root) {\n     animation: fade-in 0.3s ease-in;\n   }\n   ```\n\nThat's it. The browser handles the rest.\n\n## 🌐 Links\n\n- **Live demo**: [nextjs-view-transitions-v2.vercel.app](https://nextjs-view-transitions-v2.vercel.app/)\n- **Source code**: [github.com/adelpro/nextjs-view-transitions-v2](https://github.com/adelpro/nextjs-view-transitions-v2)\n\nThis experiment highlights how effortless UI transitions can become with built-in framework + browser support.\n\n## 📦 Stack\n\n- Next.js 15 (App Router)\n- TypeScript\n- Tailwind CSS\n- [PokéAPI](https://pokeapi.co/) for Pokémon data\n\n## 📊 Data Source\n\nThis project uses [**PokéAPI**](https://pokeapi.co/) - the RESTful Pokémon API providing comprehensive data including:\n- Pokémon stats, abilities, and types\n- High-resolution official artwork\n- Species information and evolution chains\n\n**API Details:**\n- **Provider**: [PokéAPI](https://pokeapi.co/)\n- **Documentation**: [pokeapi.co/docs/v2](https://pokeapi.co/docs/v2)\n- **License**: [MIT License](https://github.com/PokeAPI/pokeapi/blob/master/LICENSE.md)\n\n---\n\n*Built while exploring the future of web animations. No magic, just web standards.*\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fadelpro%2Fnextjs-view-transitions-v2","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fadelpro%2Fnextjs-view-transitions-v2","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fadelpro%2Fnextjs-view-transitions-v2/lists"}