Newsletter
Join the Community
Subscribe to our newsletter for the latest news and updates
Simple SvelteKit template that uses Vercel Blob to upload a file.

Astro landing page starter with gradient background, responsive hamburger/dropdown menu, and switchable floating/fullscreen headers.
The Vercel Blob SvelteKit Starter is a minimal SvelteKit template from Vercel that demonstrates uploading a file directly to Vercel Blob storage. It is part of the official Vercel examples repository and gives developers a working file-upload pattern they can one-click deploy or clone locally.
The template is a small SvelteKit application that accepts a file upload and stores it using Vercel Blob, Vercel's object storage service. It accepts a file as input and produces a stored blob with a returned URL, showing the integration in a real app. The template runs on Vercel's platform and is created by Vercel as part of their public examples collection. It uses SvelteKit as the framework, Tailwind CSS for styling, and the Vercel Blob SDK for storage.
npx degit, install dependencies with pnpm install, copy .env.example to .env.local, and run pnpm dev for local development.vercel env pull .env.local if you already have a Vercel project.You can use the one-click deploy button to create a project on Vercel, which automatically provisions a Blob store. For local development, the readme instructs you to clone the example into a folder with npx degit, install dependencies with pnpm install, copy .env.example to .env.local, and fill in the credentials from your Vercel Storage Dashboard. Alternatively, if you have the Vercel CLI and an existing project, you can run vercel env pull .env.local to fetch the variables, then start the dev server with pnpm dev.
Use the one-click deploy button provided in the readme. It clones the repository, creates a new Vercel project, and attaches a Blob store automatically.
The template uses a .env.example file with variables that match your Vercel Storage Dashboard. You can copy it to .env.local and fill them in, or run vercel env pull .env.local if you have the Vercel CLI.
No, it only uses Vercel Blob, which is object storage for files, not a relational database. Related templates in the same examples collection cover Postgres with SvelteKit.
The readme uses pnpm install for dependency installation, but SvelteKit works with npm and yarn as well. The template doesn't enforce a specific manager.
Yes, the template has a live demo at https://blob-sveltekit.vercel.app/ where you can upload a file and see the returned blob URL.
