Settings

Theme

Show HN: Embeddable DocuSign alternative via native Web Components

docuseal.co

6 points by somery 2 years ago · 5 comments

Reader

someryOP 2 years ago

Hi, it's Alex from DocuSeal.

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.

  • babanooey21 2 years ago

    What do you mean by native Web components?

    • someryOP 2 years ago

      The solution utilizes a native web elements (aka web components) browser API for easier embedding into websites: https://developer.mozilla.org/en-US/docs/Web/API/Web_compone...

      Basically instead of using JS snippet for mounting the UI - we're using a custom web element so it can be embedded just with HTML tag without JS.

      • quickthrower2 2 years ago

        What is the main advantage of that for a user? Compared to say a css class or node id?

        You still need a script tag either way it seems.

        • someryOP 2 years ago

          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

Keyboard Shortcuts

j
Next item
k
Previous item
o / Enter
Open selected item
?
Show this help
Esc
Close modal / clear selection