
Grab your gear: The official Sanity swag store
Read Grab your gear: The official Sanity swag storeGreat question! The layout options are spread across different schema types, so let me break down what's actually available:
Arrays do have built-in layout options according to the official documentation:
'tags' - Renders the array as a single, tokenized input field (like tags). Important: This only works if the array contains strings.'grid' - Displays array items in a grid layout.When using the list option (predefined values), you can also set:
'vertical' (default) - Displays checkboxes in a column'grid' - Displays checkboxes horizontallyExample with tags layout:
{
title: 'Tags',
name: 'tags',
type: 'array',
of: [{type: 'string'}],
options: {
layout: 'tags'
}
}Example with grid layout:
{
title: 'Items',
name: 'items',
type: 'array',
of: [{type: 'object', ...}],
options: {
layout: 'grid'
}
}options.listWhen you have a string type or number type with a predefined list of values, you get these layout options:
'dropdown' (default) - Shows a dropdown/select menu'radio' - Shows radio buttonsYou can also control the direction of radio buttons:
'vertical' (default)'horizontal'Example:
{
name: 'genre',
type: 'string',
options: {
list: [
{title: 'Sci-Fi', value: 'sci-fi'},
{title: 'Western', value: 'western'}
],
layout: 'radio', // or 'dropdown'
direction: 'horizontal' // only works with radio
}
}Unfortunately, there aren't other built-in layout options like a standalone 'multi-select' or additional dropdown variants. The complete list is:
tags, grid, or default list viewdropdown or radioIf you need specialized layouts beyond these options, you have a few paths:
components property where you can provide custom input components using Sanity UI componentslist option) works wellHope that clears things up!
Sanity is the developer-first content operating system that gives you complete control. Schema-as-code, GROQ queries, and real-time APIs mean no more workarounds or waiting for deployments. Free to start, scale as you grow.
Content operations
Content backend


The only platform powering content operations
By Industry


Tecovas strengthens their customer connections
Build and Share

Grab your gear: The official Sanity swag store
Read Grab your gear: The official Sanity swag store