How to remove Studio navbar and access documents directly?

27 replies
Last updated: Nov 29, 2025
Hi there, i need to remove this mid section and want to access documents directly. How to achieve this?
AI Update

Based 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.

Show original thread
27 replies

Sanity – Build the way you think, not the way your CMS thinks

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.

Was this answer helpful?