# Thirdweb Svelte

*An open-source community Svelte SDK for thirdweb, by Holdex*

**Authors:** [Vadim Zolotokrylin](https://holdex.io/c/people/vadim-zolotokrylin)

---

Thirdweb is one of the dominant Web3 developer platforms.
Its official SDKs ship for React, React Native, and Unity.
They don't ship for Svelte,
and a fair chunk of Holdex's frontend work runs on Svelte.
The gap was obvious enough to fill.

[Thirdweb Svelte](https://github.com/holdex/thirdweb-svelte) is a
Holdex-published community SDK that wraps thirdweb's Web3 primitives in Svelte
ergonomics.
Authored, maintained, and shipped by Holdex.

## What it does

The package exposes the standard developer surface
that thirdweb developers expect, ported into Svelte.

- **`ThirdwebSvelteProvider`.**
  The setup component that wires up the thirdweb client across a Svelte app.
- **`ConnectWalletModal`.**
  Wallet-connection UI with customisable chains and wallet types,
  sized to drop into existing Svelte apps without reskinning.
- **`ExportPrivateKeyModal`.**
  The flow for users on inApp wallets who want to export their key.
- **`getThirdwebSvelteContext`.**
  The accessor for inner components that need to reach the thirdweb client.

The SDK supports both Svelte 4
(the v0.x line, last published as 0.2.18) and Svelte 5 (v1.x and onward).
Recent npm versions include the Svelte-5-only refactor in July 2025,
wallet-image export in September 2025,
and a publishing-pipeline migration to a trusted GitHub Action npm publisher in
February 2026.

## Holdex's role

End-to-end.
Holdex authored, maintains,
and publishes the SDK from
[github.com/holdex/thirdweb-svelte](https://github.com/holdex/thirdweb-svelte).
The demo at [thirdweb-svelte.vercel.app](https://thirdweb-svelte.vercel.app/)
runs the SDK against a live thirdweb deployment.

## The story

The SDK grew out of a practical Holdex need.
We wanted thirdweb's wallet
and contract primitives inside Svelte applications without forcing teams back
into React.
The result is a maintained package, a working demo,
and a reusable integration layer for any Svelte team building on thirdweb.

## Links

- Source:
  [github.com/holdex/thirdweb-svelte](https://github.com/holdex/thirdweb-svelte)
- Demo: [thirdweb-svelte.vercel.app](https://thirdweb-svelte.vercel.app/)
- npm:
  [@holdex/thirdweb-svelte](https://www.npmjs.com/package/%40holdex/thirdweb-svelte)
