<!-- Do not edit this file. It is automatically generated by API Documenter. --> [`Plugin`](Plugin) › [`addRibbonIcon`](Plugin/addRibbonIcon) ## Plugin.addRibbonIcon() method Adds a ribbon icon to the left bar. **Signature:** ```typescript addRibbonIcon(icon: IconName, title: string, callback: (evt: MouseEvent) => any): HTMLElement; ``` ## Parameters | Parameter | Type | Description | | --- | --- | --- | | <code>icon</code> | [`IconName`](IconName) | The icon name to be used. See [addIcon()](addIcon) | | <code>title</code> | <code>string</code> | The title to be displayed in the tooltip. | | <code>callback</code> | <code>(evt: </code><code>MouseEvent</code><code>) =&gt; any</code> | <p>The <code>click</code> callback.</p><p> 0.9.7</p> | **Returns:** `HTMLElement`