Auto-Tag Function
AI-powered automatic tagging for Sanity blog posts that analyzes content to generate 3 relevant tags, maintaining consistency by reusing existing tags from your content library.
Go to Auto-Tag FunctionBrowse ready-made Sanity recipes to structure your content quickly. Find useful code snippets for workflows, input components, migration scripts, studio configurations, and automation functions.
Automate your content workflows with functions that trigger on document events. From AI-powered automatic tagging and content enrichment to translation and optimization, these pre-built functions save time and improve content quality across your Sanity projects.
AI-powered automatic tagging for Sanity blog posts that analyzes content to generate 3 relevant tags, maintaining consistency by reusing existing tags from your content library.
Go to Auto-Tag FunctionAutomatically track when content was first published with a timestamp that sets once and never overwrites, providing reliable publication history for analytics and editorial workflows.
Go to First Published Timestamp FunctionThis script automates the migration of content from a WordPress site to a Sanity CMS project.
Go to WordPress to Sanity Migration ScriptCreate Next.js redirects, directly inside of your Sanity Studio with validation
Go to Next.js Redirect schema with validationAdd the ability to make your document conditionally `readOnly` using an input component, where Sanity React hooks are available
Go to Conditional 'Draft Lock' Input ComponentWant to add some preset buttons/chips below your text input field? Look no further!
Go to Text Input with PresetsImport taxonomy terms, structure, and metadata into the Taxonomy Manager plugin. Includes a spreadsheet template you can use to author and correctly format your taxonomy.
Go to Import Taxonomy TermsTired of pressing "New item" all the time? Render an array of references as checkboxes
Go to Array of references as checkboxesYour block styles will normally look the same in the editor and the styles dropdown. For the times you don't want that, this workaround lets you configure them differently.
Go to Create different block styles for the dropdown and editorUse a migration script to update all references from one document to another
Go to Update references via Content Migration scriptAlternative solution to Webhook revalidation
Go to Next.js on-demand Tag Revalidation with Custom Document ActionsThinking about getting started with AI? Well we're just going to share our latest and greatest prompt so you don't have to do the hard work
Go to Cursor PromptThis validation can be used if you have an object with two fields and you require one or the other to be filled
Go to Object level One or the Other validationUse modules to build your pages? Want to grab a link to a specific module? This schema is just for you!
Go to Adding Jump Links to Page ModulesThis Input component is used for removing e.g the Duplicate action for items in a list
Go to Remove Array item's actions from the context menuSometimes, you just need to migrate a document or two.
Go to Ad hoc document migrationContent estimated reading time component in TypeScript.
Go to Estimated reading timethis blog for beginner how to make blog in sanity with next js
Go to Next.JS blog use sanityGROQ doesn't yet include a function to match the end of a string, but we can simulate it by splitting our string on our term.
Go to Matching the end of a string in GROQSimplify your Studio experience by hiding deprecated fields when you create new documents.
Go to Hide a deprecated field in new documents