Skip to main content

Definition

Assembly: Mintlify.Core.dll Namespace: Mintlify.Core.Models Inheritance: System.Object

Syntax

Summary

Represents a menu item configuration in Mintlify navigation.

Remarks

Menu items appear as dropdown menu options within tabs. The item name is required.

Constructors

.ctor

Syntax

.ctor Inherited

Inherited from object

Syntax

Properties

Description

Gets or sets the description of the menu item.

Syntax

Property Value

Type: string?

Remarks

Provides additional descriptive text for the menu item.

Groups

Gets or sets the groups for the menu item.

Syntax

Property Value

Type: System.Collections.Generic.List<Mintlify.Core.Models.GroupConfig>?

Icon

Gets or sets the icon to be displayed for the menu item.

Syntax

Property Value

Type: Mintlify.Core.Models.IconConfig?

Item

Gets or sets the name of the menu item.

Syntax

Property Value

Type: string

Remarks

This is a required field that appears as the menu item label.

Pages

Gets or sets the pages for the menu item.

Syntax

Property Value

Type: System.Collections.Generic.List<object>?

Remarks

Pages can be strings (page paths) or nested GroupConfig objects.

Methods

Equals Inherited Virtual

Inherited from object

Syntax

Parameters

Returns

Type: bool

Equals Inherited

Inherited from object

Syntax

Parameters

Returns

Type: bool

GetHashCode Inherited Virtual

Inherited from object

Syntax

Returns

Type: int

GetType Inherited

Inherited from object

Syntax

Returns

Type: System.Type

MemberwiseClone Inherited

Inherited from object

Syntax

Returns

Type: object

ReferenceEquals Inherited

Inherited from object

Syntax

Parameters

Returns

Type: bool

ToString Inherited Virtual

Inherited from object

Syntax

Returns

Type: string?