Replaces your new tab page with a small React app you can navigate across routes.
Runs on Chrome, Edge, Firefox · Manifest V3 · Surfaces: new tab, background service worker · Styling: CSS · Level: beginner · Framework: react
Create this project
npx extension@latest create my-newtab-react-router --template newtab-react-router
cd my-newtab-react-router
npm install
npm run dev
With an AI agent: ask it to "Create an extension from the newtab-react-router template." With the extension.dev MCP it runs extension_create. Setup: https://docs.extension.dev/tools/mcp/clients
What it is for
A multi-route new tab app with client-side routing
React Router running inside an extension page
Reference for routing with no server under MV3
First steps
Run npm run dev to launch the extension
Open a new tab and follow the links to move between routes
Add a route under src/newtab/ and it renders with no server