React
Adds a sidebar panel to the browser with a simple React page.
Runs on Chrome, Edge, Firefox · Manifest V3 · Surfaces: sidebar, content script, popup, background service worker · Styling: CSS · Level: beginner · Framework: react
Create this project
npx extension@latest create my-react --template react
cd my-react
npm install
npm run dev
What it is for
- A sidebar panel rendered by React
- React and JSX compiled with no extra config
- Starting point for React extensions
First steps
- Run npm run dev to launch the extension
- Click the extension icon to open the React sidebar panel
- Edit the component in src/sidebar/ to see fast refresh update it
Source on GitHubDocumentation
extension.devDocumentation for extension.dev