Schemas and snippets

Browse ready-made Sanity.io schemas to structure your content quickly. Find useful code snippets for workflows, input components, migration scripts, and studio configurations.

TweetSummary
- Schema

Allows the user to tweet a summary into twitter.

Alexandra Faller
Go to TweetSummary

Conditional Fields
- Schema

A custom input component that conditionally shows fields in from the 'fields' array

Rune Rapley-Møller
Go to Conditional Fields

Color Hex with Swatch
- Schema

Text input that for a color hex value (without the #) that displays a color swatch

Annie Pennell
Go to Color Hex with Swatch
Choose a starter
OR install Sanity with:
λ npm install -g @sanity/cli
λ sanity init