Get Started with Svelte

This guide will teach you how to make a web app with Svelte and Prismic.

If you want to jump right in, proceed to the Install step:

Curious about pricing? Prismic has an unlimited free tier for projects with one user. To learn more, see our pricing page:

What technical skills do I need?

If you're a developer building a project with Prismic and Svelte: We recommend that you already have a basic knowledge of JavaScript, CSS, Svelte, and API querying.

If a developer is setting up Prismic for you: You won't need any technical knowledge. Prismic is designed to be used by anyone.

Why should I use Prismic with Svelte?

Every great website starts with great content.

Svelte has great tools for managing every part of your website (Scoped styles! Transitions! Reactivity! Layouts!). But, it doesn't have a way to manage content.

The most important part of your website (the reason you have a website) deserves a tool.

Prismic is the tool for your content. What's more, Prismic is designed to integrate smoothly with Svelte, with a logical content architecture that maps directly to Svelte's routes and components.

Plus, Prismic adds some super-powers to your website, like image optimization, content versioning, scheduling, and user permissions.

Is this guide for Svelte or SvelteKit?

This guide includes instructions for SvelteKit.

However, @prismicio/svelte and @prismicio/client are compatible with vanilla Svelte. Follow the technical references for those packages to learn how to install, configure, and use them.

Have a question or comment?

This documentation is still in beta. If you have ideas for how to improve it, we'd love to hear from you on the Prismic Community Forum.

Five steps to get started

This guide will walk you through six steps to deploying your website and creating content.

Before you get started...

This guide assumes that you have already created a Svelte or SvelteKit project. If you don't have one, check out the Svelte or SvelteKit docs for instructions to get started.

Here's what we'll go over:

Was this article helpful?
Not really
Yes, Thanks

Can't find what you're looking for? Spot an error in the documentation? Get in touch with us on our Community Forum or using the feedback form above.