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.

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

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
Choose a starter
OR install Sanity with:
λ npm install -g @sanity/cli
λ sanity init