Skip to main content
There are four layers. Each one is built on the one below it. Start at the top and go down only when you need more control.

Which one?

  • “Users must edit documents in our app.” Use the editor. To remove or add a few controls, use toolbarItems. Replace the toolbar if it must match your design system.
  • “Our app has its own UI kit and its own toolbar.” Use the editor with slots. Build your own skin shows how. Use the headless model if you replace most regions.
  • “We show documents. Users do not edit them.” Use the canvas viewer. It is smaller and has no caret.
  • “We need thumbnails or previews.” Use the canvas viewer functions, or PNG export.

How the pieces fit

The PDF writer and the PNG export paint the same IR, so what you see in the page is what you get in the export.