# Want to customize the border of annotations?

**URL:** <https://pdfjs.community/t/want-to-customize-the-border-of-annotations/3066>\
**Category:** Technical Support\
**Tags:** pdfjs-express\
**Created:** [January 10, 2024, 7:50am UTC](https://pdfjs.community/t/want-to-customize-the-border-of-annotations/3066 "2024-01-10T07:50:25Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![shahid.shaikh](https://avatars.discourse-cdn.com/v4/letter/s/9f8e36/32.png) [@shahid.shaikh](https://pdfjs.community/u/shahid.shaikh)\
**Post date:** [January 10, 2024, 7:50am UTC](https://pdfjs.community/t/want-to-customize-the-border-of-annotations/3066/1 "2024-01-10T07:50:25Z")

</div>

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

**PDF.js Express Version**  
8.7.4  
**Detailed description of issue**  
want to customize the border style of the annotation like dash, dot like below snapshot ?  
Can we do it or Can you please share me code for it ?

![image](https://canada1.discourse-cdn.com/flex031/uploads/pdfjscommunity/original/2X/1/1718c6ae1c55250458ad2da1bb79aa339c00fc97.png)  
 ![image](https://canada1.discourse-cdn.com/flex031/uploads/pdfjscommunity/original/2X/9/984449d34390a60f1feb466217c077959a340231.png)

---

<div class="post-metadata">

**Author:** ![tgordon](https://avatars.discourse-cdn.com/v4/letter/t/aca169/32.png) [@tgordon](https://pdfjs.community/u/tgordon)\
**Post date:** [January 10, 2024, 7:04pm UTC](https://pdfjs.community/t/want-to-customize-the-border-of-annotations/3066/2 "2024-01-10T19:04:11Z")

</div>

Hello shahid.shaikh,

We have a guide on customizing the annotation’s styling here: [Create custom annotation styles | Documentation](https://pdfjs.express/documentation/annotation/customizing-default-annotation-styles)

Best regards,  
Tyler
