Custom default desk pane
An example of overriding the default Studio Desk pane to add some business logic around menu items.
Go to Custom default desk paneAn example of overriding the default Studio Desk pane to add some business logic around menu items.
Go to Custom default desk paneScript to convert quotation marks in Portable Text blocks
Go to Convert quotation marks for Portable TextA small help function to convert Portable Text blocks to plain text
Go to Portable Text to Plain TextValidate a field only if a sibling boolean type is set to true.
Go to Conditional validation of stringSchemas for running a podcast backend on Sanity.io
Go to PodcastThis is a schema we've used to create accessbile bar charts, with human-readable text for each bar.
Go to Horizontal bar chartSchema for a text with a heading and a illustration with a caption.
Go to Heading, text, and illustrationRecursive schema for nested navigations
Go to Nested navigation structureA teeny-tiny 1-document-type schema
Go to Hello WorldGenerate a custom validator function for Portable Text fields using built-in routines
Go to Portable Text ValidatorA schema to bring greater transparency to food sourcing.
Go to Food Product Integrity