Definition
Assembly: Mintlify.Core.dll Namespace: Mintlify.Core.ModelsSyntax
Summary
Base class for all navigation items in Mintlify.Remarks
Provides common properties shared across all navigation elements including API specifications, icons, pages, and visibility settings.Constructors
.ctor Inherited
Inherited from
objectSyntax
Properties
AsyncApi
Gets or sets the AsyncAPI configuration.Syntax
Property Value
Type:Mintlify.Core.Models.ApiSpecConfig?
Remarks
Can be a string URL, an array of URLs, or an object with source and directory properties pointing to AsyncAPI specification files.Directory
Gets or sets the directory layout for this node and its descendants.Syntax
Property Value
Type:string?
Remarks
Valid values arenone (default, no listing), accordion (collapsible
list grouped by section), and card (horizontal cards). The value inherits
recursively; a descendant can override it. Directory listings only appear on
groups that have a root page.
See https://www.mintlify.com/docs/organize/navigation#directory-listings.
Graphql
Gets or sets the GraphQL schema used to auto-populate reference pages.Syntax
Property Value
Type:Mintlify.Core.Models.SpecRefConfig?
Examples
Remarks
Accepts a local SDL path, an HTTPS URL, or an object withsource and
optional directory. You can declare graphql on a tab or a group.
Defaults directory to graphql-reference.
See https://www.mintlify.com/docs/api-playground/graphql-setup.
Hidden
Gets or sets whether the current option is default hidden.Syntax
Property Value
Type:bool?
Remarks
When true, this navigation item will not be displayed in the navigation by default.Icon
Gets or sets the icon to be displayed in the section.Syntax
Property Value
Type:Mintlify.Core.Models.IconConfig?
Remarks
Can be a Font Awesome icon name, Lucide icon name, JSX-compatible SVG code, URL to an externally hosted icon, or path to an icon file in your project.Mcp
Gets or sets the MCP definition used to auto-populate reference pages.Syntax
Property Value
Type:Mintlify.Core.Models.SpecRefConfig?
Remarks
Accepts a local path to an MCP definition JSON file, or an object withsource and optional directory.
OpenApi
Gets or sets the OpenAPI configuration.Syntax
Property Value
Type:Mintlify.Core.Models.ApiSpecConfig?
Remarks
Can be a string URL, an array of URLs, or an object with source and directory properties pointing to OpenAPI specification files.Pages
Gets or sets the pages for this navigation item.Syntax
Property Value
Type:System.Collections.Generic.List<object>?
Remarks
Pages can be strings (page paths) or nested GroupConfig objects for hierarchical navigation.Sdk
Gets or sets the SDK documentation artifact used to auto-populate pages.Syntax
Property Value
Type:Mintlify.Core.Models.SdkRefConfig?
Remarks
Declaresdk on a tab or a group. Nested groups inherit the parent
settings unless they set their own. See SdkRefConfig.
Searchable
Gets or sets whether hidden descendants remain indexed for search and llms.txt.Syntax
Property Value
Type:bool?
Remarks
Whentrue on a hidden tab or group, descendant pages stay in site search,
sitemap.xml, AI assistant context, MCP search, and search-engine indexing.
The tab or group itself stays hidden. Has no effect when NavigationItemBase.Hidden is
false. A page’s own hidden frontmatter always wins.
See https://www.mintlify.com/docs/organize/hidden-pages.
Thumbnail
Gets or sets thumbnail overrides for pages under this node.Syntax
Property Value
Type:Mintlify.Core.Models.NavThumbnailConfig?
Remarks
Each key overrides the nearest parent and site-levelthumbnails.
In an override, eyebrow is literal text and "" hides it.
See https://www.mintlify.com/docs/organize/settings-appearance#override-thumbnails-for-a-page-or-section.
Methods
Equals Inherited Virtual
Inherited from
objectSyntax
Parameters
Returns
Type:bool
Equals Inherited
Inherited from
objectSyntax
Parameters
Returns
Type:bool
GetHashCode Inherited Virtual
Inherited from
objectSyntax
Returns
Type:int
GetType Inherited
Inherited from
objectSyntax
Returns
Type:System.Type
MemberwiseClone Inherited
Inherited from
objectSyntax
Returns
Type:object
ReferenceEquals Inherited
Inherited from
objectSyntax
Parameters
Returns
Type:bool
ToString Inherited Virtual
Inherited from
objectSyntax
Returns
Type:string?