Skip to main content
Question

How to export multi pages PDF (JavaScript)

  • June 4, 2025
  • 1 reply
  • 70 views

Yevhenii Kravchenko

Hi! I’d like to ask how to implement multi-page PDF export in JavaScript.

I'm building a custom plugin to integrate with a DAM portal. I’ve already implemented PDF export for a single selected slide, and that works fine. However, I’m struggling to figure out how to implement functionality similar to Figma’s native PDF export — specifically the option where each selected frame (slide) is exported as a separate page in a single PDF.

I can’t rely on third-party plugins and want to build this logic myself. I’d really appreciate any ideas or pointers on how to structure the code so that each slide is added as a separate page in the resulting PDF.

Thanks in advance!

1 reply

Anton26
  • New Member
  • August 7, 2025

Would love to learn that too here!