{"id":21089956,"url":"https://github.com/januff/with-next-page-transitions","last_synced_at":"2025-03-14T06:14:34.432Z","repository":{"id":80788436,"uuid":"350466259","full_name":"januff/with-next-page-transitions","owner":"januff","description":null,"archived":false,"fork":false,"pushed_at":"2021-03-22T19:34:25.000Z","size":3,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-01-21T01:11:10.217Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"with-next-page-transitions-januff1.vercel.app","language":"JavaScript","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/januff.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}},"created_at":"2021-03-22T19:34:19.000Z","updated_at":"2021-03-22T19:34:58.000Z","dependencies_parsed_at":null,"dependency_job_id":"31353700-2dbb-444d-a5a1-b452cbcf8c95","html_url":"https://github.com/januff/with-next-page-transitions","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/januff%2Fwith-next-page-transitions","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/januff%2Fwith-next-page-transitions/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/januff%2Fwith-next-page-transitions/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/januff%2Fwith-next-page-transitions/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/januff","download_url":"https://codeload.github.com/januff/with-next-page-transitions/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243532560,"owners_count":20306157,"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","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":"2024-11-19T21:33:04.247Z","updated_at":"2025-03-14T06:14:34.388Z","avatar_url":"https://github.com/januff.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# next-page-transitions example\n\nThe [`next-page-transitions`](https://github.com/illinois/next-page-transitions) library is a component that sits at the app level and allows you to animate page changes. It works especially nicely with apps with a shared layout element, like a navbar. This component will ensure that only one page is ever mounted at a time, and manages the timing of animations for you. This component works similarly to [`react-transition-group`](https://github.com/reactjs/react-transition-group) in that it applies classes to a container around your page; it's up to you to write the CSS transitions or animations to make things pretty!\n\nThis example includes two pages with links between them. The \"About\" page demonstrates how `next-page-transitions` makes it easy to add a loading state when navigating to a page: it will wait for the page to \"load\" its content (in this examples, that's simulated with a timeout) and then hide the loading indicator and animate in the page when it's done.\n\n## Deploy your own\n\nDeploy the example using [Vercel](https://vercel.com?utm_source=github\u0026utm_medium=readme\u0026utm_campaign=next-example):\n\n[![Deploy with Vercel](https://vercel.com/button)](https://vercel.com/new/git/external?repository-url=https://github.com/vercel/next.js/tree/canary/examples/with-next-page-transitions\u0026project-name=with-next-page-transitions\u0026repository-name=with-next-page-transitions)\n\n## How to use\n\nExecute [`create-next-app`](https://github.com/vercel/next.js/tree/canary/packages/create-next-app) with [npm](https://docs.npmjs.com/cli/init) or [Yarn](https://yarnpkg.com/lang/en/docs/cli/create/) to bootstrap the example:\n\n```bash\nnpx create-next-app --example with-next-page-transitions with-next-page-transitions-app\n# or\nyarn create next-app --example with-next-page-transitions with-next-page-transitions-app\n```\n\nDeploy it to the cloud with [Vercel](https://vercel.com/new?utm_source=github\u0026utm_medium=readme\u0026utm_campaign=next-example) ([Documentation](https://nextjs.org/docs/deployment)).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjanuff%2Fwith-next-page-transitions","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjanuff%2Fwith-next-page-transitions","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjanuff%2Fwith-next-page-transitions/lists"}