# How to custom thumbnail control button?

**URL:** <https://pdfjs.community/t/how-to-custom-thumbnail-control-button/1202>\
**Category:** Technical Support\
**Tags:** pdfjs-express\
**Created:** [November 29, 2021, 9:46am UTC](https://pdfjs.community/t/how-to-custom-thumbnail-control-button/1202 "2021-11-29T09:46:50Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Autunna](https://avatars.discourse-cdn.com/v4/letter/a/a6a055/32.png) [@Autunna](https://pdfjs.community/u/Autunna)\
**Post date:** [November 29, 2021, 9:46am UTC](https://pdfjs.community/t/how-to-custom-thumbnail-control-button/1202/1 "2021-11-29T09:46:50Z")

</div>

**Which product are you using?**  
PDF.js Express Viewer

**PDF.js Express Version**  
8.1.0

**Detailed description of issue**

1. How to get the list button of thumbnail control?
2. How to add a custom button to thumbnail control or remove a button?

![image](https://canada1.discourse-cdn.com/flex031/uploads/pdfjscommunity/original/1X/a4a8218ccdbd210d3df1e2bc676538b301ab395d.png)

Thanks

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex031/uploads/pdfjscommunity/original/1X/ffbcd25c7d423db8d5acd5db201c272f4db306dd.png) [@system](https://pdfjs.community/u/system)\
**Post date:** [November 29, 2021, 9:46am UTC](https://pdfjs.community/t/how-to-custom-thumbnail-control-button/1202/3 "2021-11-29T09:46:54Z")

</div>

**Hello, I’m Ron, an automated tech support bot 🤖**

While you wait for one of our customer support representatives to get back to you, please check out some of these documentation pages:

Guides:
- [Customize toolbar in viewer](https://pdfjs.express/documentation/ui-customization/customizing-header.8)
- [Understand coordinates in PDF.js Express - In practice](https://pdfjs.express/documentation/viewer/coordinates.8#in-practice)
- [Real-time collaboration client](https://pdfjs.express/documentation/collaboration/realtime-collaboration-client.8)

APIs:
- [UndefinedgetInstance( [element])](https://pdfjs.express/api/global.html#getInstance__anchor)
- [UI.PageManipulationOverlay - add(PageManipulationSection [, dataElementToInsertAfter])](https://pdfjs.express/api/UI.PageManipulationOverlay.html#add__anchor)
- [Core.Annotations.PolygonControlHandle - new PolygonControlHandle(x, y, width, height, pathIndex)](https://pdfjs.express/api/Core.Annotations.PolygonControlHandle.html#PolygonControlHandle__anchor)

Forums:
- [How to set Note(‘stickyToolGroupButton’) annotation to custom button](https://pdfjs.community/t/how-to-set-note-stickytoolgroupbutton-annotation-to-custom-button/208/1)
- [How can we create our custom thumbnail panel beside our viewer?](https://pdfjs.community/t/how-can-we-create-our-custom-thumbnail-panel-beside-our-viewer/811/3)
- [How to create custom SelectionModel similar to the default 8 control handles](https://pdfjs.community/t/how-to-create-custom-selectionmodel-similar-to-the-default-8-control-handles/932/4)

---

<div class="post-metadata">

**Author:** ![driley](https://avatars.discourse-cdn.com/v4/letter/d/13edae/32.png) [@driley](https://pdfjs.community/u/driley)\
**Post date:** [December 1, 2021, 5:24pm UTC](https://pdfjs.community/t/how-to-custom-thumbnail-control-button/1202/4 "2021-12-01T17:24:19Z")

</div>

Hi Autunna,

To remove thumbnail controls you can use the following code to do so:

```javascript
 instance.UI.disableFeatures([instance.Feature.ThumbnailMultiselect]);

```

This uses the [disableFeatures API](https://pdfjs.express/api/UI.html#.disableFeatures__anchor) and you can find a list of [features you can disable here](https://pdfjs.express/api/UI.html#.Feature)

To add your own customization you can read this answer here: [How can we create our custom thumbnail panel beside our viewer? - #3 by Logan](https://pdfjs.community/t/how-can-we-create-our-custom-thumbnail-panel-beside-our-viewer/811/3)

Cheers,  
Dustin
