# shuding/next-view-transitions

Use CSS View Transitions API in Next.js App Router.

Repository: https://github.com/shuding/next-view-transitions
Canonical: https://ross.abutalabs.com/products/next-view-transitions
Homepage: https://next-view-transitions.vercel.app
Language: TypeScript
License: MIT
License Family: permissive
Topics: app-router, nextjs, view-transitions
Last push: 2026-03-06T14:41:17+00:00

## Health v2 (maintenance only)
Score: 61/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 70, release rhythm 48, longevity 62
- inputs: {"age_days": 871, "days_push": 180, "days_rel": 271, "gap_med": 71, "n_releases_24m": 4}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 2387, forks 93 (observed 2026-08-28T04:06:42.724407+00:00)

## What it is
A small React library that enables the CSS View Transitions API in Next.js App Router applications. It provides a ViewTransitions wrapper component, a Link component, and a useTransitionRouter hook to trigger animated page transitions on navigation.

## Use cases
- add smooth page transition animations to a Next.js app
- use the View Transitions API with the Next.js App Router
- animate route changes between pages in React
- create custom transition effects when users navigate links
- programmatic navigation with view transitions using router.push

## When to choose
- you're building a Next.js App Router project and want native-feeling page transitions
- you want a minimal drop-in library with a wrapper component and Link replacement
- your use cases are basic navigations without heavy concurrent rendering or streaming edge cases

## When to avoid
- your app relies heavily on concurrent rendering, Suspense, or streaming where the API has known limitations
- you're not using Next.js App Router
- you need complex transition orchestration beyond basic view transitions
- you must support browsers without View Transitions API support and need polyfills

## Facets
- artifact type: library
- maturity: active
- function: animation, frontend-framework, routing
- domain: web-development, frontend
- platform: -
- tags: nextjs, app-router, view-transitions, react, page-transitions, nodejs, web-server

## Member repositories
- shuding/next-view-transitions (main) score 61

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:06:42.724407+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T02:34:35.386854+00:00, confidence not recorded.
  - readme: https://github.com/shuding/next-view-transitions (fetched 2026-08-28T04:06:42.724407+00:00, sha 2be2846d18e8)
  - homepage: https://next-view-transitions.vercel.app (fetched 2026-08-29T10:15:39.733715+00:00, sha e546ac727394)
- Data as of 2026-08-30T08:39:29.467469+00:00.
