Skip to content

Untitled object in Mermaid Config Schema

txt
https://mermaid.js.org/schemas/config.schema.json#/$defs/TreeViewDiagramConfig/properties/extensionIcons

File-extension → icon map used to pick a file's icon when showIcons is enabled, e.g. { ".ts": "material-icon-theme:typescript" }. Keys are lowercase and may include or omit the leading dot. Values are resolved like icon() references: pack:name is used as-is, unprefixed names resolve via defaultIconPack, and none hides the icon for matching files.

AbstractExtensibleStatusIdentifiableCustom PropertiesAdditional PropertiesAccess RestrictionsDefined In
Can be instantiatedNoUnknown statusUnknown identifiabilityForbiddenAllowednoneconfig.schema.json*

extensionIcons Type

object (Details)

extensionIcons Default Value

The default value is:

json
{}

extensionIcons Properties

PropertyTypeRequiredNullableDefined by
Additional PropertiesstringOptionalcannot be nullMermaid Config

Additional Properties

Additional properties are allowed, as long as they follow this schema:

additionalProperties Type

string

Opens in mermaid.ai