Sanity groq Filter by item in an array
This snippet will return only matched item in a sub array inside a document
Go to Sanity groq Filter by item in an arrayThis snippet will return only matched item in a sub array inside a document
Go to Sanity groq Filter by item in an arrayIt will expand the reference (projection) which is deeply linked in an array and optional using select funtion.
Go to Projection of a reference item in a deeplinked optional array.Allows the user to tweet a summary into twitter.
Go to TweetSummaryPreview images of your documents
Go to Image Preview FieldA custom input component that conditionally shows fields in from the 'fields' array
Go to Conditional FieldsVisually browse the reference documents you want to select in a document.
Go to Reference document browser inputParse, format and mask numeric values with ease
Go to Advanced Numeric InputRun GROQ queries in the studio to populate an array module.
Go to GROQ Reference Lookup + Add & ReplaceGet thumbnail and video by pasting vimeo/youtube url
Go to Vimeo/Youtube video id and thumbnail custom componentText input that for a color hex value (without the #) that displays a color swatch
Go to Color Hex with SwatchMake a rough calculation of word count and reading time for your Portable Text fields
Go to Word count and reading time estimation for GROQ and Portable TextSimple Placeholder Custom Input utilising Sanity UI.
Go to Custom Input: PlaceholderPrefer to have no image next to your array items? This can help!
Go to Hide Icons For Array ItemsThis snippet will help filter groq query by category or tags in a document. eg: post
Go to Sanity query filter by category or tags (Groq Snippet)This is a starting point for the creation of a custom string input. It recreates the basic functionality of the default string input.
Go to Custom Input: Recreated String Field Starter