Create Custom Overlays on PDFs Using JavaScript
You can extend PDFs by placing your own custom elements on a page and rendering them with the help of PSPDFKit for Web. Get additional resources by visiting our guide about customizing overlays in our viewer.
![]()
This code sample is an example that illustrates how to use our SDK. Please adapt it to your specific use case.