PDFMake Template Builder

Document Content

Content Items (30)
#1
Main Title
header

Explore the pdfMake template builder

#2
Introduction
Rich Text

This default template walks through each node type so you can see how updates in the editor reflect in the PDF preview. Try selecting items in the sidebar to edit their content, style, or configuration.

(202 characters)
#3
Text Styles Section
subheader

Working with text styles

#4
Text 4

Text nodes map to pdfMake paragraphs. Change the font size, weight, or color in the right-hand panel and watch the preview refresh instantly. You can also use custom styles defined under the Styles tab.

(202 characters)
#5
Text 5
quote, small

Combining multiple styles lets you layer typography rules. This paragraph uses the built-in quote and small styles so you can see how arrays apply in order.

(156 characters)
#6
Images Section
Rich Textsubheader

Adding images

#7
Text 7

Images accept base64 strings, URLs, or asset references. Adjust width, height, and alignment to experiment with layout. Swap the source from the sidebar to try your own graphic.

(177 characters)
#8
Sample Logo
preview
Image
100×100
#9
Lists Section
subheader

Lists and bullet points

#10
Feature List
Unordered3 items
  • Use unordered or ordered lists to organize related items.
  • Double-click any list entry in the editor to rename it.
  • Try nesting lists to create multi-level outlines.
#11
Tables Section
subheader

Table data overview

#12
Text 12
small

Tables bundle rows and columns with metadata. Header rows stay bold, column widths control layout, and the layout property toggles grid lines. Select the table to edit body cells, add columns, or change the styling.

(215 characters)
#13
Features Table
Table4 × 31 headerlightHorizontalLines
FeatureTypeWhere to tweak
StylesTextStyles panel
ImagesMediaContent inspector
... 1 more row
#14
Text 14

Ready to customize further? Add new nodes from the Elements panel or import your own pdfMake definition to see how everything renders instantly.

#15
Text 15
subheader

Custom node examples

#16
Text 16

PDFMake lets you create custom structures by combining multiple elements. Below are two simple examples showing how to build reusable components:

#17
Unknown 17
columns2 properties
Complex or custom node structure. Switch to edit mode to see full details.
#18
Text 18
small

These custom structures showcase how columns, stacks, and inline styles combine to create reusable design patterns. Select them in the editor to inspect their properties.

(170 characters)
#19
Rich Text Section
subheader

Rich Text & Inline Styling

#20
Text 20

You can now create rich text with inline styles! Try switching a text node to "Rich Text" mode to mix different styles within a single paragraph.

#21
Rich Text Demo
Rich Text

This paragraph uses bold text, italic text, colored text, and large text all in one line!

#22
Text 22
Rich Text

You can even combine bold and italic or use style references alongside inline styles.

#23
Links Section
Rich Textsubheader

Interactive Links & Navigation

#24
Text 24

PDFMake supports interactive elements in your documents. You can create external links, internal page navigation, and document anchors:

#25
External Links Example
Rich Text

• External Links: Visit pdfMake documentation or check out GitHub repository for more examples.

#26
Page Links Example
Rich Text

• Internal Navigation: Jump to page 2 or page 1 using page links.

#27
Destination Links Example
Rich Text

• Document Anchors: Click to go back to the Introduction section or jump to the Images section using destination IDs.

#28
Mixed Styling Links
Rich Text

• Mixed Styles: You can combine links with other formatting like bold external links or italic page links.

#29
Text 29
header

Test Header/Footer

#30
Text 30

This content appears on a new page to test the header and footer functionality. The header shows "PDFMake Template Builder" centered at the top, and the footer shows "Left part" on the left and "Right part" on the right.

(220 characters)

Document Overview

30 nodes

Main Title
Text #1
Introduction
Text #2
Text Styles Section
Text #3
Text 4
Text #4
Text 5
Text #5
Images Section
Text #6
Text 7
Text #7
Sample Logo
Image #8
Lists Section
Text #9
Feature List
List #10
Tables Section
Text #11
Text 12
Text #12
Features Table
Table #13
Text 14
Text #14
Text 15
Text #15
Text 16
Text #16
Unknown 17
Unknown #17
Text 18
Text #18
Rich Text Section
Text #19
Text 20
Text #20
Rich Text Demo
Text #21
Text 22
Text #22
Links Section
Text #23
Text 24
Text #24
External Links Example
Text #25
Page Links Example
Text #26
Destination Links Example
Text #27
Mixed Styling Links
Text #28
Text 29
Text #29
Text 30
Text #30