unlayer
Original:🇺🇸 English
Translated
Routes to specific Unlayer sub-skills for framework integration, custom tools, content export, or editor configuration.
1installs
Sourceunlayer/unlayer-skills
Added on
NPX Install
npx skill4agent add unlayer/unlayer-skills unlayerTags
Translated version includes tags in frontmatterSKILL.md Content
View Translation Comparison →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:bashnpx skills update
Sub-Skills
| Task | Skill | Use When |
|---|---|---|
| Framework setup | | Adding Unlayer to React, Vue, Angular, or plain JavaScript |
| Custom tools | | Building custom drag-and-drop tools, property editors, widgets |
| Exporting content | | HTML/PDF/Image export, saving designs, auto-save, Cloud API |
| Editor configuration | | Features, appearance, merge tags, security, file storage |
Routing Examples
| User Says | Route To |
|---|---|
| "Add Unlayer to my React/Vue/Angular app" | |
| "Create a custom drag-and-drop tool" | |
| "Export HTML" / "Save the design" / "Generate thumbnail" | |
| "Set up merge tags" / "Configure features" / "HMAC security" | |
| "Upload images to my server" / "Dark theme" / "Custom fonts" | |
| "My merge tags aren't working" / "Editor won't load" | Check |
Multiple skills needed? Common flow:
- Start with to add the editor to your app
unlayer-integration - Use to customize features, merge tags, appearance
unlayer-config - Use to save designs and export content
unlayer-export - Use if you need custom drag-and-drop blocks
unlayer-custom-tools
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
javascript
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 templates | Table-based (Outlook/Gmail safe) |
| Landing pages | Div-based (modern CSS) |
| Modal overlays | Div-based with popup positioning |
| 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