createPage
Creates a new page, appended to the document's list of children.
Signature
createPage(): PageNode
Remarks
A page node can be the parent of all types of nodes except for the document node and other page nodes.
Files in a Starter team are limited to three pages in Figma Design files and one page in FigJam files. When a plugin tries to exceed this limit, it triggers the following error:
Page limit error
The Starter plan only comes with 3 pages. Upgrade to
Professional for unlimited pages.