# Creating rectangle tool using custom button outside Viewer

**URL:** <https://pdfjs.community/t/creating-rectangle-tool-using-custom-button-outside-viewer/267>\
**Category:** Technical Support\
**Created:** [September 17, 2020, 12:10pm UTC](https://pdfjs.community/t/creating-rectangle-tool-using-custom-button-outside-viewer/267 "2020-09-17T12:10:14Z")\
**Posts on this page:** 1\
**Showing post:** 1

<div class="post-metadata">

**Author:** ![himani.sharma](https://avatars.discourse-cdn.com/v4/letter/h/e47774/32.png) [@himani.sharma](https://pdfjs.community/u/himani.sharma)\
**Post date:** [September 17, 2020, 12:10pm UTC](https://pdfjs.community/t/creating-rectangle-tool-using-custom-button-outside-viewer/267/1 "2020-09-17T12:10:14Z")

</div>

**Detailed description of issue**  
{Need to create a tools bar outside viewer window}

**Expected behaviour**  
{Will provide to annotate with custom buttons}

**Link to document**  
{Provide a link to the document in question if possible}

**Code snippet**  
{Provide a relevant code snippet}

---

_[View the full topic](https://pdfjs.community/t/creating-rectangle-tool-using-custom-button-outside-viewer/267)._
