Blog

How to Theme and Brand Sanity Studio
To theme Sanity Studio, generate a theme object and pass it to the theme key in defineConfig. The current way is buildTheme() from `@sanity
Dive Deeper
Understanding Sanity Studio: A Complete Walkthrough
Sanity Studio is the editing interface for Sanity: an open-source, single-page React app where editors create, edit, review and publish content s
Dive Deeper
How to Integrate Sanity With SvelteKit
To integrate Sanity with SvelteKit, install @sanity/client, create a client with your project ID, dataset and an apiVersion date, and call `c
Dive Deeper
Using Sanity TypeGen for Type-Safe Queries
Sanity TypeGen is a CLI tool that generates TypeScript types from your Studio schema and from the results of your GROQ queries. You run `npx sani
Dive Deeper
How to Add Validation Rules to Sanity Fields
To add validation rules to Sanity fields, give a field a validation property: a function that receives a rule object and returns one or more
Dive Deeper
Setting Up Sanity Visual Editing in Next.js
To set up Sanity Visual Editing in Next.js, add the presentationTool() plugin to your Studio with a previewUrl that points at your site and a
Dive Deeper