# How to add/modify an icon of a module (ScriptedLoadableModule)?

**URL:** <https://discourse.slicer.org/t/how-to-add-modify-an-icon-of-a-module-scriptedloadablemodule/7967>\
**Category:** Development\
**Created:** [August 9, 2019, 3:21pm UTC](https://discourse.slicer.org/t/how-to-add-modify-an-icon-of-a-module-scriptedloadablemodule/7967 "2019-08-09T15:21:51Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![aiden.zhu](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/aiden.zhu/32/67145_2.png) [@aiden.zhu](https://discourse.slicer.org/u/aiden.zhu)\
**Post date:** [August 9, 2019, 3:21pm UTC](https://discourse.slicer.org/t/how-to-add-modify-an-icon-of-a-module-scriptedloadablemodule/7967/1 "2019-08-09T15:21:51Z")

</div>

Hi all,  
I am trying to make a new module of ScriptedLoadableModule. The default icon is like this:  
 ![image](https://us1.discourse-cdn.com/flex002/uploads/slicer/original/3X/e/7/e7e0c3a767db4a0f15e6b695046eaeb585fb4905.png)  
Would you please give me some advice on this modification of module icons?  
Thanks in advance!

---

<div class="post-metadata">

**Author:** ![Sunderlandkyl](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/sunderlandkyl/32/79987_2.png) [@Sunderlandkyl](https://discourse.slicer.org/u/Sunderlandkyl)\
**Post date:** [August 9, 2019, 4:02pm UTC](https://discourse.slicer.org/t/how-to-add-modify-an-icon-of-a-module-scriptedloadablemodule/7967/2 "2019-08-09T16:02:44Z")

</div>

You can change the icon of a scripted module by placing a new icon in this location: “MODULE\_DIR\Resources\Icons\MODULE\_NAME.png”.

For reference, here is the icon for the SegmentEditor module icon: [https://github.com/Slicer/Slicer/blob/master/Modules/Scripted/SegmentEditor/Resources/Icons/SegmentEditor.png](https://github.com/Slicer/Slicer/blob/master/Modules/Scripted/SegmentEditor/Resources/Icons/SegmentEditor.png)

---

<div class="post-metadata">

**Author:** ![aiden.zhu](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/aiden.zhu/32/67145_2.png) [@aiden.zhu](https://discourse.slicer.org/u/aiden.zhu)\
**Post date:** [August 9, 2019, 5:42pm UTC](https://discourse.slicer.org/t/how-to-add-modify-an-icon-of-a-module-scriptedloadablemodule/7967/3 "2019-08-09T17:42:04Z")

</div>

@ Sunderlandkyl  
Thank you so much, Kyle! Your instruction is straight clear! Exactly what I need do!
