Let people sign PDFs in your app

People draw their signature, type their name in a handwriting font or upload a scan. They save it once and place it on any page, or in a form's signature field.

A tenancy letter in the Inkbar viewer with a drawn signature placed and selected between Yours sincerely and the sender's printed name.

What your users can do

  • Create a signature in a dialog. Draw it, type it, or upload an image of a scan.
  • Place it with a click, then move and resize it. It keeps its shape and reads upright on a rotated page.
  • Choose from their saved signatures next time, or remove ones they no longer use.
  • Sign a form's signature field, where the signature stays locked to the field.

What your app gets

  • Saved signatures kept in the store you choose, from memory to the browser's local storage to your own server.
  • Signatures placed from your own code, at a point and width you set.
  • With @inkbar/engine, Download, Print and doc.save() write the placed signatures into the PDF.

A short example

import { createLocalStorage } from '@inkbar/core'
import {
  createSignatureMenu,
  createToolbar,
  createToolButton,
  createViewer,
  signatureTool,
} from '@inkbar/core/dom'
import { assets } from 'virtual:inkbar-assets'

const viewer = createViewer(el, {
  source: file,
  assets,
  tools: [signatureTool()],
  storage: createLocalStorage('my-app'),
  signatureFonts: ['Dancing Script'],
})

const tools = createToolbar()
tools.append(
  createToolButton(viewer, 'select'),
  createSignatureMenu(viewer)
)
viewer.element.prepend(tools)

The same viewer comes as components for Vue, React and Svelte.

Free under MIT.

Inkbar is open source. There is no licence fee and no per-seat price.

Read the Signatures guideTry it in the sandbox