Schemas and snippets

Group documents by year
- Schema

How to group documents by their publishedAt year using the Structure Builder API

Rune Botten
Go to Group documents by year

Custom default desk pane
- Schema

An example of overriding the default Studio Desk pane to add some business logic around menu items.

Rune Botten
Go to Custom default desk pane

- Schema

Schemas for running a podcast backend on

Knut Melvær
Go to Podcast

Horizontal bar chart
- Schema

This is a schema we've used to create accessbile bar charts, with human-readable text for each bar.

Jayne Mast
Go to Horizontal bar chart
Choose a starter
OR install Sanity with:
λ npm install -g @sanity/cli
λ sanity init