
Let our AI Agent do the heavy lifting for you and create the HTML component
with a simple text prompt. Check out our AI Generated
Section to
learn more about it.
Handlebars integration
We use handlebars as our templating engine, so you also have all the flexibility that handlebars delivers inside your html components.Here’s some examples:Variables
You can differentiate between dynamic variables and static text in your templates. Here’s how it works: • Simple Variable: Enclose your text in double curly brackets:{{ }}.
• HTML Variable: Enclose your text in triple curly brackets: {{{ }}} to include HTML tags.Conditional Rendering
On handlebars, you can useif, else, unless syntax to conditionally render a block of code.
If you want to only render a block when a variable is sent:
Loops
On handlebars, you can either loop through arrays or objects. Heres how to loop through an array of strings:To see more handlebars functions, you can check out their documentation
here.
How to use Icons on your HTML component
We also have a native integation with Lucide Icons. You can use them on your HTML component with the following syntax:If you didn’t find what you were looking for regarding the Page Component,
feel free to contact us at
[email protected]. We’ll get back to you
as quickly as possible!