Skip to main content

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!

Would love to learn that too here!


Reply