
Grab your gear: The official Sanity swag store
Read Grab your gear: The official Sanity swag storeBased on your question about removing the mid section and accessing documents directly, I believe you're asking how to customize the Structure tool (formerly Desk tool) in Sanity Studio to skip the default document type list and go straight to your documents.
You can achieve this by using the Structure Builder API to create a custom structure. Here's how:
1. Create a custom structure file (e.g., structure/index.ts):
import type {StructureResolver} from 'sanity/structure'
export const structure: StructureResolver = (S) =>
S.list()
.id('root')
.title('Content')
.items([
S.documentTypeListItem('post').title('Blog Posts'),
S.documentTypeListItem('author').title('Authors'),
S.documentTypeListItem('category').title('Categories'),
// Add your document types here
])2. Import and configure it in your sanity.config.ts:
import {defineConfig} from 'sanity'
import {structureTool} from 'sanity/structure'
import {structure} from './structure'
export default defineConfig({
// ...other config
plugins: [
structureTool({structure}),
// ...other plugins
],
})This replaces the default "all document types" view with your custom structure, giving you direct control over what appears and in what order. You can use S.documentTypeListItem() for simple document type lists, or go deeper with S.documentList() and GROQ filters to create filtered and grouped lists.
If you want even more control, you can create nested structures, custom views, or integrate custom React components to build exactly the navigation experience you need for your content team.
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