theme: SoftUI({
  commands: [
    {
      category: String,
      subTitle: String,
      categoryId: String,
      image: String,
      hideAlias: Boolean, // Optional - Default: false - Hides the alias from all commands in the category
      hideDescription: Boolean, // Optional - Default: false - Hides the description from all commands in the category
      hideSidebarItem: Boolean, // Optional - Default: false - Hides the category from the sidebar
      list: [
        {
          commandName: String,
          commandUsage: String,
          commandDescription: String,
          commandAlias: String,
        },
      ],
    },
  ],
});

Example Usage

theme: SoftUI({
  commands: [
    {
      category: "category",
      subTitle: "subTitle",
      categoryId: "category-id", // No spaces or special characters
      image: "<img src='link to image'>",
      hideAlias: false, // Optional - Default: false - Hides the alias from all commands in the category
      hideDescription: false, // Optional - Default: false - Hides the description from all commands in the category
      hideSidebarItem: false, // Optional - Default: false - Hides the category from the sidebar
      list: [
        {
          commandName: "cmdname",
          commandUsage: "usage",
          commandDescription: "Command description",
          commandAlias: "alias",
        },
      ],
    },
  ],
});

Image

Props

category
string
required

The name of the category

subTitle
string
required

The subtitle of the category

categoryId
string
required

Unique id of the category

image
string
required

URL of the image

hideAlias
boolean

Hides the alias from all commands in the category

hideDescription
boolean

Hides the description from all commands in the category

hideSidebarItem
boolean

Hides the category from the sidebar

list
Array
required