# Adding Icons to Custom Vision Components

**URL:** <https://forum.inductiveautomation.com/t/adding-icons-to-custom-vision-components/93678>\
**Category:** Module Development\
**Tags:** vision\
**Created:** [July 24, 2024, 3:15pm UTC](https://forum.inductiveautomation.com/t/adding-icons-to-custom-vision-components/93678 "2024-07-24T15:15:31Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![MG3](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/mg3/32/84125_2.png) [@MG3](https://forum.inductiveautomation.com/u/MG3)\
**Post date:** [July 24, 2024, 3:15pm UTC](https://forum.inductiveautomation.com/t/adding-icons-to-custom-vision-components/93678/1 "2024-07-24T15:15:31Z")

</div>

Hi all,

Hoping someone can provide some assistance or even just tell me if this is possible.

I am developing a Vision Module that provides some new components and I am wondering how I can go about adding icons in the Component Palette, like seen here in the magenta box:

 ![image](https://us1.discourse-cdn.com/inductiveautomation/original/3X/e/4/e40447857f017efcf0c0471f2b73ebcb97cd9005.png)

I was also wondering whether it is possible to change the module icon (light blue box) to something else. I assume the the icons in the magenta box would be added using `ComponentBeanInfo.java`  
and the icon in the light blue box would be altered somewhere in `DesignerHook.java`, I just couldn't see any documentation about it (or I missed it, if so sorry!).

I look forward to your replies and thanks in advanced.

MG3

---

<div class="post-metadata">

**Author:** ![paul-griffith](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/paul-griffith/32/37249_2.png) [@paul-griffith](https://forum.inductiveautomation.com/u/paul-griffith)\
**Post date:** [July 24, 2024, 5:55pm UTC](https://forum.inductiveautomation.com/t/adding-icons-to-custom-vision-components/93678/2 "2024-07-24T17:55:13Z")

</div>

Yes, thought it requires a technically "unsafe" cast to an internal implementation class. Vanishingly unlikely to change.

See this thread for more info:

> [@Vision Palette Group Icon](https://forum.inductiveautomation.com/t/vision-palette-group-icon/82610/27):
>
> Here is the final code: PaletteImpl palette = (PaletteImpl) sdk.getPalette(); DefaultPaletteItemGroup group = new DefaultPaletteItemGroup("LV Control"); group.addPaletteItem(new JavaBeanPaletteItem(HelloWorldComponent.class)); group.addPaletteItem(new JavaBeanPaletteItem(BinComponent.class)); group.setIcon(IconUtil.getRootIcon("lv\_16.png")); palette.addGroup(group);
