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