Docs · SDK · Svelte
Install Brevwick in Svelte.
Copy-paste the snippets below. Replace pk_test_demo with the public key from your project — find it under Project settings → Keys.
1. Install
Install the adapter alongside the core SDK.
npm install @tatlacas/brevwick-svelte @tatlacas/brevwick-sdk2. Wire the SDK
src/routes/+layout.svelteSvelte
<script lang="ts">
import { setBrevwickContext } from '@tatlacas/brevwick-svelte';
setBrevwickContext({ projectKey: 'pk_test_demo' });
</script>
<slot />src/routes/+page.svelteSvelte
<script lang="ts">
import { FeedbackButton } from '@tatlacas/brevwick-svelte';
</script>
<main>
<!-- your app -->
<FeedbackButton position="bottom-right" />
</main>Verify
- Run `vite dev` and open the app.
- Click the floating feedback button.
- Submit a test issue.
- Confirm the issue lands in /app/issues.
Full guide: /docs/sdk/svelte
Published packages
Browse the registry for version history, source, and download counts.