New Tab Svelte

Replaces your new tab page with a simple Svelte page.

Runs on Chrome, Edge, Firefox · Manifest V3 · Surfaces: new tab, background service worker · Styling: CSS · Level: beginner · Framework: svelte

Create this project

npx extension@latest create my-newtab-svelte --template newtab-svelte
cd my-newtab-svelte
npm install
npm run dev

What it is for

  • A new tab page rendered by Svelte
  • Svelte components compiled with no extra config
  • Starting point for Svelte extensions with a new tab

First steps

  • Run npm run dev to launch the extension
  • Open a new tab to see the Svelte page this template ships
  • Edit src/newtab/NewTabApp.svelte and save to watch it update

Permissions it asks for

This template requests no permissions.

extension.devDocumentation for extension.dev