Custom Tools
What is a Custom Tool?
Custom tools are user-defined elements that extend the default functionality of the visual builder, allowing developers to create unique design components tailored to their specific needs. Unlike built-in tools, custom tools offer complete flexibility in terms of appearance, behavior, and interactivity. Developers can define how these tools behave, including custom properties, actions, and styling options.
Custom tools integrate seamlessly into the editor’s interface, enabling users to drag, drop, and configure them just like built-in tools. This allows for advanced customization, supporting a wide range of use cases from specialized content elements to custom workflows. We know that every application is different and needs different tools to reach its full potential.

Every custom tool needs to have the following attributes to get running.
| Attribute | Description |
|---|---|
| Name | A unique identifier string for your tool |
| Label | A display label for your tool that the users will see |
| Icon | An icon for your tool from a choice of 700+ icons or a custom image |
| Supported Display Modes | Display mode this tool will work in (email, web or both) |
| Usage Limit | Number of times a tool can be used in a single design |
| Renderer | Renderer contains the content that the tool will create and export |
| Properties | A set of variables that your tool will need to create content |
Renderer
Renderer is where you define the content that your tool will create. This is done using a HTML template. Each renderer consists of a Viewer, Exporters and Head. In most cases, Viewer and Exporters contain the same HTML template but there are cases when these could be different.
Viewer
Viewer is the tool's template which will be visible to the user when they use your tool within the Unlayer editor.