When comparing to Iframe our JS-based solution better adopts to the existing page layout due to the fact that it embeds into the existing page DOM (when iframe lives in it's own DOM which brings many limitations). Also it loads much faster than any equivalent iframe solution
Recently we released a new embedded JS api for document signing at DocuSeal. Instead of doing it via iframe we decided to provide a JS-based solution.
Here are some benefits over iframe:
- faster load speed
- easy to customize
- optimized on different screen sizes
Also there is a React components library which also works with SSR Next.js https://github.com/docusealco/docuseal-react
Looking for some feedback and would be happy to answer any questions.