Action (Popup)
Adds a toolbar popup to the browser with a simple page.
Runs on Chrome, Edge, Firefox · Manifest V3 · Surfaces: popup, background service worker · Styling: CSS · Level: beginner
Create this project
npx extension@latest create my-action --template action
cd my-action
npm install
npm run dev
What it is for
- Toolbar popup as the primary UI surface
- Quick actions that don't need a full sidebar or page
- Starting point for popup-based browser extensions
First steps
- Run npm run dev to launch the extension
- Click the toolbar icon to open the action popup
- Edit src/action/index.html and watch HMR update the popup
Permissions it asks for
This template requests no permissions.
Source on GitHubDocumentation
extension.devDocumentation for extension.dev