---
title: "IItem Interface"
canonical: https://customerscanvas.com/docs/cc6/customerscanvas.baseeditor.configuration.ui.itoolboxconfigparsed.iitem.htm
archived: true
applies_to:
  - product: "Customer's Canvas On-Premises"
  - product: "Design Editor"
    versions: ["6.15.0", "6.x (may differ)"]
---

**You’re viewing outdated documentation.** [View the latest Customer’s Canvas On-Premises documentation](https://customerscanvas.com/docs/on-premises/).

# IItem Interface

**Applies to:** Customer's Canvas On-Premises; Design Editor 6.15.0, 6.x (may differ) · **Archived documentation**
 
A structure defining common properties of buttons in the Toolbox.
  
 - example
     - ```
"Toolbox": {
    "buttons": [
        {
            "translationKey": "Toolbox.ADD_TEXT",
            "translationKeyTitle": "Toolbox.TITLE_ADD_TEXT",
            "nameDialogEnabled": true,
            "iconClass": "cc-icon-add-text",
            "action": "Text"
        },
        {
            "translationKey": "Toolbox.IMAGE",
            "translationKeyTitle": "Toolbox.TITLE_ADD_IMAGE",
            "nameDialogEnabled": true,
            "iconClass": "cc-icon-add-image",
            "action": "Image"
        }
    ]
}
```
 
## Properties
 
### Optional iconClass
 
iconClass: string

The class of the button icon. You can find the complete list of available icon classes in `\src\design-editor\Styles\ControlStyles\sp-icons.less`.
 
### Optional itemConfig
 
itemConfig: [ITextConfig](https://customerscanvas.com/docs/cc6/customerscanvas.iframeapi.configuration.defaultconfig.itextconfig.htm.md)  |  [IImageItemDefaultConfig](https://customerscanvas.com/docs/cc6/customerscanvas.iframeapi.configuration.defaultconfig.iimageitemdefaultconfig.htm.md)  |  [IBarcodeDefaultConfig](https://customerscanvas.com/docs/cc6/customerscanvas.iframeapi.configuration.defaultconfig.ibarcodedefaultconfig.htm.md)

A structure containing the configuration of new design elements. For an example, you can refer to [ILocationDefaultConfig](https://customerscanvas.com/docs/cc6/customerscanvas.iframeapi.configuration.defaultconfig.ilocationdefaultconfig.htm.md) or [IBarcodeDefaultConfig](https://customerscanvas.com/docs/cc6/customerscanvas.iframeapi.configuration.defaultconfig.ibarcodedefaultconfig.htm.md).
 
### Optional nameDialogEnabled
 
nameDialogEnabled: boolean

Enables a dialog box to type in the name of a new design element. The default value is `false`.
 
### Optional translationKey
 
translationKey: string

The translation key of the button caption. The corresponding string should be defined in the `~\Configuration\translations.json` file.
 
### Optional translationKeyTitle
 
translationKeyTitle: string

The translation key of the button tooltip. The corresponding string should be defined in the `~\Configuration\translations.json` file.
