Getting Started
Pazly https://pazly.dev is a landing page building tool for both non technically skilled users and information technology specialists. It aims to allow users to quickly build high quality, high converting web pages which are completely owned by the users.
Pazly relies on TailwindCSS and has its own coloring system. If you are a fan of Tailwind CSS and want to help nocoders, freelancers and small businesses make great looking landing pages, this guide is for you.
Benefits of making templates for Pazly:
✅ You set your price for your work
✅ You keep 100% revenue from your template sales. Pazly does not apply any sales commissions
✅ You get great discounts on Pazly Pro memberships
✅ You help a fast growing number of users who will benefit from your awesome work.
Examples
Github Starter Kit
The easiest way to start is to fork or download the starter kit from Github here https://github.com/pazlydev/template-kit
It contains a simple file index.html with dummy elements and the structure that allows Pazly to read and understand the template.
Color System
Pazly uses its own implementation of the coloring system proposed by the Tailwind CSS team. Since Tailwind uses a plugin system and Pazly targets non technical users, I opted to implement a standalone coloring system which is served through CDN. Check the guide below for the class names and color codes. You will notice they match the coloring in the TailwindCSS documentation. Setting the colors is exactly like in TailwindCSS: set the corresponding CSS class on your element. Same codes apply to text and border, so for example
- Setting a bluegray 200 background means adding the bg-p-bluegray-200 class
- Setting a bluegray 200 text means adding the text-p-bluegray-200 class
- Setting a bluegray 200 border means adding the border-p-bluegray-200 class
Grays
Colors
Template structure
A landing page for Pazly is formed from a set of blocks. Each block has within it editable elements. It is very important to understand the difference between blocks and the elements within the blocks
Editable Blocks
A block represents a full width section of a Pazly webpage. Blocks are relative to their container. Blocks can be moved before or after neighbouring blocs. Blocks can be cloned by default. It is a good practice to color blocks one by one.
Making Elements Editable
Editable elements should be marked with the ‘pazly-editable’ attribute. This is a set of string values, similar to the ‘class’ attribute and contains identifiers for the editors you want to enable for the selected element.
Example:
<button pazly-editable=”innerHtml bg href” class=”….
IMPORTANT: Please add these markers at leaf nodes in your HTML tree structure
Editing text
Add ‘innerHTML’ to the pazly-editable attribute. This will enable a text editor for the element. Please make sure that the innerHtml contains only text
<h1 pazly-editable=”innerHTML” class=”….
Editing background
Simply add ‘bg’ to the pazly-editable attribute. This will enable the color picker.
Use the ‘bg’ to enable element level background. Choose this editor for your buttons, links, cards, or areas that you want the user to color differently.
<a href=”” pazly-editable=”innerHTML bg href” class=”….
IMPORTANT: The section background picker is assigned out of the box, please do not assign the pazly-editable attribute on the section block.
Editing links
Add ‘href’ to the pazly-editable attribute. This will enable the link input editor. Choose this editor for your buttons and links
<a href=”” pazly-editable=”innerHTML bg href” class=”….
Clone-able links
To enable element cloning, simply add the ‘clone’ to the pazly-editable attribute. In the image above, the link is part of a row, which can contain multiple such links. So the code becomes
<a href=”” pazly-editable=”innerHTML bg href clone” class=”….
Editing images
Editing images is as simple as setting the ‘src’ value on the pazly-editable attribute of an image tag. This will enable the image editor which allows you to set an image link or open an image from your computer. The opened image is later transformed into a base64 string.
IMPORTANT: Do not use pazly-editable=”src ‘’ on HTML elements that do not support the src attribute natively.
<img src=”” pazly-editable=”src” class=”….
Editing videos
Editing video tags is as simple as setting the ‘src’ value on the pazly-editable attribute of a video tag. This will enable the video editor which lets you set a video link. At the moment videos only support one video link, so please use a link that point to a .mp4 video
IMPORTANT: Do not use pazly-editable=”src ‘’ on HTML elements that do not support the src attribute natively.
<video src=”” pazly-editable=”src” class=”….
Editing embeddables
To enable embeddings, please construct a wrapper element. Attache the pazly-editable attribute containing the “iframe” value. You can attach other edibles like ‘bg’.
<div pazly-editable=”bg iframe” class=”… <iframe …</div>
Editing forms
Attache the “form” value to the pazly-editable attribute in the form tag, like in the example below.
<form pazly-editable=”form” method=”POST” action=”” static-form=”” class=”…
Selling Online (Gumroad, Lemon Squeezy, etc.)
You set your own prices, your own item description. Please add a video demo on how your customers should use the template you make with Pazly Pro. Please also mention they can reach Pazly Pro at https://pazly.dev/
Getting Featured in Pazly Pro
This means that when Pazly Pro users open the Template panel, your template will show up with a quick link to purchase. This works only with Gumroad for now.
Instructions on how to submit coming soon…