Skip to main content
Document Views are the routes used to work with one collection document. They share the document layout and can provide tab navigation. Configure them under admin.components.edit.views. The complete collection slot table is in Collection Custom Components.

Document Root

The root view replaces the complete document area, including controls, tabs, and nested views. It must be the only entry in views. Use default instead when you only need to replace the editor.

Edit View

The default view is the main document editor. See Edit View for its component slots.

Document Tabs

A custom view can define a tab with a label, href, order, or custom Component. Every view and tab option is listed in Document Views.

Tab Components

Use DocumentTabServerProps or DocumentTabClientProps from frogbot to type a custom tab. Use next/link for navigation.