
Grab your gear: The official Sanity swag store
Read Grab your gear: The official Sanity swag storeLooking at your question about customizing Sanity Studio with a horizontal top navigation, I can provide guidance on each of your proposed approaches based on the current Sanity Studio v3 architecture.
This is definitely feasible and aligns well with Studio v3's architecture. According to the custom Studio tool documentation, you can create custom tools that appear in the horizontal top navigation by default.
Advantages:
Challenges:
DocumentPane isn't exported as a standalone component you can easily reuse with all its state handlingHowever, you can leverage Studio's hooks like useDocumentOperation, useEditState, and form-building components from the Form Components API to build your own editing interfaces without starting completely from scratch.
This is possible but limited. The Structure Builder allows you to customize the left sidebar extensively, but:
This approach would likely be fighting against the framework's intended design patterns.
This is absolutely possible and is likely your best solution! According to the Studio Tools documentation and the configuration API, you can include multiple instances of the structure tool with different configurations.
Here's how:
import {defineConfig} from 'sanity'
import {structureTool} from 'sanity/structure'
import {DocumentIcon, DocumentsIcon} from '@sanity/icons'
export default defineConfig({
// ... other config
plugins: [
structureTool({
name: 'posts-tool',
title: 'Posts',
icon: DocumentIcon,
structure: (S) =>
S.list()
.title('Posts')
.items([
S.documentTypeListItem('post')
])
}),
structureTool({
name: 'pages-tool',
title: 'Pages',
icon: DocumentsIcon,
structure: (S) =>
S.list()
.title('Pages')
.items([
S.documentTypeListItem('page')
])
}),
// Add more as needed
],
})Each tool instance will appear as a separate button in the horizontal top navigation, and you can customize what each one displays using the Structure Builder API.
Option 3 (Multiple Structure Tool Instances) is your best bet because:
You can combine this with custom Studio Components if you need to customize the navbar further, or hide specific UI elements using the studio configuration's components property.
If you need even more customization beyond what multiple structure tools provide, then Option 1 (custom tools) would be the next step, but you'd need to build more of the editing UI yourself using Studio's form components and hooks from the hooks API.
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