Reusable Components
The Components feature allows you to build modular, reusable elements such as headers and footers.
By creating these components once, you can easily add them into any email you create, saving time and effort.
How to create a component (except PDF)
We support 6 different type of components now.
- Header
- Footer
- Banner
- Socials (Any social media icons like Twitter, LinkedIn, FB etc)
- Paragraph
How to use a Header Component in Email template
For example, to add a Header in email editor, you need to follow the below steps.


How to create a PDF component
We support six different component types:
- Header
- Footer
- Banner
- Socials (social media icons such as Twitter, LinkedIn, Facebook, etc.)
- Paragraph
Click Submit, then choose one of the following editors:
- Typst Editor (Recommended) – Write your PDF in Typst with JSON placeholders and uploaded image assets.
- No-Code PDF Editor – Create and format your PDF using the visual editor without writing HTML.
- HTML Editor – Use this option only if you already have an existing HTML template that you want to reuse.
Typst Editor
No-Code PDF Editor
HTML Editor
Typst is a simple markup language for creating documents. You write plain text with short commands for headings, tables, images, and styling, and Typst turns it into a PDF. It creates PDFs faster than the other editors, which is why it is the recommended option.
In the Typst Editor, you write the Typst code on one side and see the PDF in a live preview on the other. You can add dynamic data through placeholders and use your own images.
The example below picks the Typst Editor, writes a simple order invoice, and saves it. The preview fills in as each line is added.

Editor layout
The editor has three parts:
- Left panel: Settings, Variables, Assets, Outline, and Errors. Click
<<to collapse it. - Code editor: where you write your Typst code.
- Preview: shows the PDF as it will look, and updates as you type.

Click the icons on the left to move between the panels. The example below sets a password in Settings, then opens Variables, Assets, Outline, and Errors.

Starter code
Every new Typst PDF opens with a small starter template:
Settings
Click the gear icon in the left panel to open Settings.

The page size and margins are set in your Typst code, not in Settings.
Variables
Click the { } icon in the left panel to open Variables. Use the Search box to find a variable quickly.
Placeholders are replaced with the dynamic data sent in the data payload.

- Next to Placeholders, click +, or expand the section and click + ADD.
- Use the placeholder in your code with
data.at("key").
To show a fallback value when no data is sent, add a default:
System Variables are values that Fyno already has. They are grouped as Digest, User Properties, Subscription, and Verify. Expand a group to see the variables in it.

Assets
Click the image icon in the left panel to open Assets. This is where you upload images such as your logo.

- Click Upload assets or the upload icon next to Assets.
- Choose your image file.
- Use the image in your code with its file name:
Outline
Click the outline icon in the left panel to open Outline. It lists the main parts of your code, such as variables and headings, with their line numbers. Use Filter outline to narrow the list.

Errors
Click the error icon in the left panel to open Errors. If something in your code cannot be compiled, the problem is listed here. Click Fix with AI to let Fyno AI correct the code for you. When everything is fine, you see No errors on compilation.

Formatting toolbar
The toolbar above the code editor adds common Typst formatting for you, so you do not have to type it by hand. It includes undo and redo, bold, italic, underline, headings, bulleted and numbered lists, math, code, links, and comments.
Generate with AI
Click Generate with AI at the bottom of the code editor to let Fyno AI write or change the Typst code for you.

Three options appear. Click the one you need.

Create Typst with AI opens Create with Fyno AI. Enter what you need in Tell us your requirement and click Create.

The example below uses Create Typst with AI to build the order invoice from a short description.

Convert HTML to Typst lets you paste your HTML code and click Convert. Fyno AI turns it into Typst.

Edit Typst with AI opens Edit with Fyno AI. Describe the changes you want to make and click Edit PDF.

Preview
The preview on the right shows the number of pages and the PDF itself. Use the zoom list to change the preview size. Choose Fit, or a value from 25% to 200%.

Click the fullscreen icon to Open the fullscreen preview in a new window.

Click the download icon to Save and Download PDF.

Click Switch Editor to go back and choose a different editor.

Switching the editor removes your current work. Fyno shows All your changes will be lost and asks you to confirm. Click SWITCH to continue, or CANCEL to stay in the Typst Editor.
Once your PDF is ready:
How to use a PDF Component in Email template
For example, to add a PDF component in email editor, you need to follow the below steps.
How to use a PDF Component in WhatsApp template
You can use a PDF Component in WhatsApp template in 2 ways
- as a Document file in the Header
- as part of the website CTA button
How to use a PDF Component as Header in WhatsApp template
- From left nav, go to a WhatsApp template (Templates -> Fyno) .
- Copy the component you want to add from the Components section in the navigation.
- Paste the value in the Header textbox. It will be added as
{{Component '<Component_name>'}} - The added component will look as shown below.

How to use a PDF Component as part of website CTA button
Things to be done in WhatsApp External Template
- In the external template, make sure to add a website button
- Enable Dynamic URL toggle.
- Enable Track URL check box.
Things to be done in Fyno Template
- From left nav, go to a WhatsApp template (Templates -> Fyno) .
- Copy the component you want to add from the Components section in the navigation.
- Paste the value in the button textbox. It will be added as
{{Component '<Component_name>'}} - The added component will look as shown below.

How to use a PDF Component in SMS template
- From left nav, go to a WhatsApp template (Templates -> Fyno) .
- Copy the component you want to add from the Components section in the navigation.
- Paste the value in any of the placeholders. It will be added as
{{Component '<Component_name>'}}as shown below.
- Fyno will automatically shorten the URL of the PDF component added and send it in SMS.
How to copy components to another workspace
Reusable components can also be copied between workspaces that you own.
Prerequisite: You must have the Owner role in the destination workspace.
Before you copy
- Independent Copying: Components are copied independently of templates.
- Dependencies: If a template depends on reusable components, make sure to copy the required components before copying the template itself.
Steps to copy components to another workspace
The copied components will now be available in the selected destination workspaces.
Component versioning
Component versioning follows the same behavior as template versioning:
- New Components: If the component does not exist in the destination workspace, it is created as
v1(Test). - Existing Components: If the component already exists, a new standalone version (for example,
v2) is created without affecting existing versions. You can later save it as the new Test version or promote it to Live when you are ready.
How to raise Approval requests
If your workspace has maker-checker workflow enabled for Components, the ‘Go Live’ action requires an additional approval step. You’ll need to choose from your designated approvers who will review and authorize the component related changes. You can read more about it here










