Schemas and snippets

Custom Input: Recreated String Field Starter
- Schema

This is a starting point for the creation of a custom string input. It recreates the basic functionality of the default string input.

Bryan Robinson
Go to Custom Input: Recreated String Field Starter

Auto-reload Studio when changes are deployed
- Schema

Drop this into your Studio to let editors know when there's a more recent version of your Studio available, making sure they have the latest fields and validations.

Go to Auto-reload Studio when changes are deployed

Breaks for Portable Text
- Schema

How to add different types of “breaks” for Portable Text that can be translated to horizontal rules, “read more”, sections, chapters, and so on.

Knut Melvær
Go to Breaks for Portable Text
Choose a starter
OR install Sanity with:
λ npm install -g @sanity/cli
λ sanity init