unlayer
Routes to specific Unlayer sub-skills for builder integration, the standalone Image Editor, custom tools, content export, or editor configuration.
How do I install this agent skill?
npx skills add https://github.com/unlayer/unlayer-skills --skill unlayerIs this agent skill safe to install?
- Gen Agent Trust Hubpass
The skill is safe to use. It performs a basic check on its own installation date to remind the user of updates and provides standard integration documentation for the Unlayer editor.
- Socketpass
No alerts
- Snykpass
Risk: LOW · No issues
- Runlayerpass
1/1 file flagged
What does this agent skill do?
Unlayer
Overview
Unlayer is a visual drag-and-drop editor for emails, web pages, popups, and documents. This skill routes to feature-specific sub-skills.
Skill Version Check
Skill installed on: !stat -f "%Sm" -t "%Y-%m-%d" SKILL.md 2>/dev/null || stat -c "%y" SKILL.md 2>/dev/null | cut -d' ' -f1
⚠️ If this skill was installed more than 30 days ago, tell the user to update it:
npx skills update
Sub-Skills
| Task | Skill | Use When |
|---|---|---|
| Framework setup | unlayer-integration | Adding the drag-and-drop editor to React, Vue, Angular, or plain JavaScript |
| Standalone Image Editor | unlayer-image-editor | Embedding or configuring the standalone Image Editor with JavaScript or React |
| Build templates in code | unlayer-elements | Writing or generating emails/pages/documents/PDFs/images with React components using Hyper Elements (app emails, AI generation, templates in a repo), or moving templates off @unlayer/react-elements; toDesign() output opens in the visual editor |
| Custom tools | unlayer-custom-tools | Building custom drag-and-drop tools, property editors, widgets |
| Exporting content | unlayer-export | HTML/PDF/Image export, saving designs, auto-save, Cloud API |
| Editor configuration | unlayer-config | Features, appearance, merge tags, security, file storage |
Routing Examples
| User Says | Route To |
|---|---|
| "Add Unlayer to my React/Vue/Angular app" | unlayer-integration |
| "Embed the Image Editor" / "Use @unlayer/react-image-editor" | unlayer-image-editor |
| "Configure the image editor inside the email builder" | unlayer-config |
| "Build an email/page in code" / "Generate a template with React components" / "Render JSX to email HTML" | unlayer-elements |
| "Create a custom drag-and-drop tool" | unlayer-custom-tools |
| "Export HTML" / "Save the design" / "Generate thumbnail" | unlayer-export |
| "Set up merge tags" / "Configure features" / "HMAC security" | unlayer-config |
| "Upload images to my server" / "Dark theme" / "Custom fonts" | unlayer-config |
| "My merge tags aren't working" / "Editor won't load" | Check unlayer-config or unlayer-integration |
Editor vs Elements:
unlayer-integrationembeds the visual drag-and-drop editor.unlayer-elementspoints to Hyper Elements, which builds templates purely in code (React components → HTML), with no editor UI — use it for AI/programmatic template generation.
Standalone vs in-builder Image Editor:
unlayer-image-editorembeds the standalone product.unlayer-configconfigures the image editor opened from an image inside an email, page, popup, or document builder.
Multiple skills needed? Common flow:
- Start with
unlayer-integrationto add the editor to your app - Use
unlayer-configto customize features, merge tags, appearance - Use
unlayer-exportto save designs and export content - Use
unlayer-custom-toolsif you need custom drag-and-drop blocks
Common Setup
Prerequisites
- An Unlayer account at console.unlayer.com
- A Project ID — find it in Dashboard > Project > Settings
- A Project Secret (for HMAC security only) — find it in Dashboard > Project > Settings > API Keys
Minimal Init
unlayer.init({
id: 'editor-container', // HTML div ID where editor mounts
projectId: YOUR_PROJECT_ID, // From Dashboard > Project > Settings
displayMode: 'email', // 'email' | 'web' | 'popup' | 'document'
});
Display Modes
| Mode | Use For | HTML Output |
|---|---|---|
email | Email templates | Table-based (Outlook/Gmail safe) |
web | Landing pages | Div-based (modern CSS) |
popup | Modal overlays | Div-based with popup positioning |
document | Print-ready docs | Div-based with page breaks |
Out of Scope
These skills cover the Unlayer editor SDK. For other needs:
- Billing/account issues: console.unlayer.com or support@unlayer.com
- Bug reports: support@unlayer.com
- Feature requests: support@unlayer.com
Resources
How can the creator link this skill?
Add the canonical catalog link to the repository README so users can inspect current installs and available audits. The publishing guide covers the complete discovery path.
<a href="https://skillzs.dev/skills/unlayer/unlayer-skills/unlayer">View unlayer on skillZs</a>