React Router Adapter

Mounts the Payload admin panel and APIs inside a React Router app

Community 0 23/wk MIT v0.1.2

Installation

pnpm add payload-react-router

About

This adapter runs the Payload admin panel, REST API and GraphQL API inside a React Router application instead of Next.js. Payload's own admin UI is used unchanged, and the adapter supplies the server, routing and layout pieces that Payload needs to run there. Your site and the Payload admin can share one server process, and site pages can read content directly through the Local API with no HTTP call and no token.

The adapter depends on React Router's React Server Components framework mode, which React Router still ships as unstable, so expect breaking changes between releases. Access control still applies to site reads when queries are run with access checks turned on.

Package info

Package name
payload-react-router
Latest version
0.1.2
Unpacked size
180 kB
License
MIT
Weekly downloads
23
Last publish
Oct 9, 2026

Similar adapters

More in Other

Connects a Payload project to Payload Cloud's file storage, email and upload caching

Image resizing, cropping and format conversion for Payload uploads

Contracts that connect Payload document content to external translation services

Adds AI-powered site search to Next.js sites, with a search widget and AI endpoints