# How to customize/hide default palette items and task types in bpmn-js?

**URL:** <https://forum.bpmn.io/t/how-to-customize-hide-default-palette-items-and-task-types-in-bpmn-js/14097>\
**Category:** Modeler\
**Created:** [December 4, 2024, 3:27pm UTC](https://forum.bpmn.io/t/how-to-customize-hide-default-palette-items-and-task-types-in-bpmn-js/14097 "2024-12-04T15:27:36Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Snawar\_Latif](https://forum.bpmn.io/letter_avatar_proxy/v4/letter/s/85f322/32.png) [@Snawar\_Latif](https://forum.bpmn.io/u/Snawar_Latif)\
**Post date:** [December 4, 2024, 3:27pm UTC](https://forum.bpmn.io/t/how-to-customize-hide-default-palette-items-and-task-types-in-bpmn-js/14097/1 "2024-12-04T15:27:36Z")

</div>

![Screenshot 2024-12-04 at 10.23.21 AM](https://forum.bpmn.io/uploads/default/original/2X/d/dd36c221b42fa1a12c852fc4b6fdb66380100073.png)

Hi,

I’m working with bpmn-js and I need to:

1. Hide some of the default palette icons from the left sidebar
2. Remove/hide specific task types (like User Task and Service Task) from the “Create element” menu

Is this possible? I’d like to customize which elements are available to users in my implementation.

Technical details:

- Using bpmn-js
- Need to specifically control visibility of palette items and available task types
- Want to keep some elements while hiding others

Any guidance on the correct approach would be appreciated!

Thanks!

---

<div class="post-metadata">

**Author:** ![Krish\_C](https://forum.bpmn.io/user_avatar/forum.bpmn.io/krish_c/32/6292_2.png) [@Krish\_C](https://forum.bpmn.io/u/Krish_C)\
**Post date:** [December 4, 2024, 9:28pm UTC](https://forum.bpmn.io/t/how-to-customize-hide-default-palette-items-and-task-types-in-bpmn-js/14097/2 "2024-12-04T21:28:08Z")

</div>

Will be helpful if any one has solution for this. We are having similar issue

---

<div class="post-metadata">

**Author:** ![zambrovski](https://forum.bpmn.io/user_avatar/forum.bpmn.io/zambrovski/32/38_2.png) [@zambrovski](https://forum.bpmn.io/u/zambrovski)\
**Post date:** [December 9, 2024, 11:19am UTC](https://forum.bpmn.io/t/how-to-customize-hide-default-palette-items-and-task-types-in-bpmn-js/14097/3 "2024-12-09T11:19:48Z")

</div>

Hi,

I believe, there is a `PaletteProvider.ts` of diagram.js responsible for this. There is an example of extending the [palette here](https://github.com/bpmn-io/bpmn-js-example-custom-controls?tab=readme-ov-file#creating-custom-controls), but in your case you would override existing provider.

[https://github.com/bpmn-io/diagram-js/blob/main/lib/features/palette/PaletteProvider.ts](https://github.com/bpmn-io/diagram-js/blob/main/lib/features/palette/PaletteProvider.ts)

---

<div class="post-metadata">

**Author:** ![barmac](https://forum.bpmn.io/user_avatar/forum.bpmn.io/barmac/32/974_2.png) [@barmac](https://forum.bpmn.io/u/barmac)\
**Post date:** [July 9, 2025, 10:09am UTC](https://forum.bpmn.io/t/how-to-customize-hide-default-palette-items-and-task-types-in-bpmn-js/14097/4 "2025-07-09T10:09:58Z")

</div>

Closed on July 9, 2025, 10:09am UTC

Closing old topics.
