Back to Plugins
Layer Name to Text

Layer Name to Text

快速将图层名称提取为文本,或一键生成标准化的图标组件结构。convert layer names to text & tandardized icon component structures

Plugin Preview

Layer Name to Text preview

About this plugin

核心功能:1. 图层名转文本 (Insert Text)- 批量提取 :选中多个图层,瞬间将其名称转换为画布上的文本对象。- 灵活模式 : - 合并模式 :将所有选中图层的名称合并为一个文本块。 - 独立模式 :为每个图层分别在对应位置生成文本标签。- 样式控制 :支持自定义字体、字重、字号和颜色。2. 图标库助手 (Insert Icon Structure)- 标准化输出 :一键将选中的图标图层转换为标准的组件结构,保持设计资产整洁统一。- 自动布局 : - 将图标重置为 32x32px 并封装为组件 (Hug Contents)。 - 外层包裹 80x80px 的固定尺寸容器,居中对齐。 - 自动在图标下方生成图层名称标签(支持长文本截断)。使用方法:1. 在画布上选择一个或多个图层。2. 在插件面板中设置所需的文本样式。3. 点击 “插入文本” 或 “插入图标” 按钮。4. 快捷键: Enter 插入文本, Esc 关闭插件。描述 Layer Name to Text is a productivity booster designed for design system documentation, icon library organization, and redlining.Key Features:1. Layer Name to Text- Batch Processing : Select multiple layers and convert their names into text objects instantly.- Flexible Modes : - Merge : Combine all selected layer names into a single text block. - Separate : Create individual text labels for each layer at their respective positions.- Custom Styling : Control font family, weight, size, and color directly from the plugin interface.2. Icon Structure Generator- Standardize Assets : Turn raw vector layers into standardized components with a single click.- Smart Layout : - Wraps icons in a 32x32px component (Hug contents). - Places the component inside a fixed 80x80px outer frame, perfectly centered. - Automatically generates a truncated text label below the icon based on the layer name.How to use:1. Select one or more layers on the canvas.2. Adjust text settings (font, size, color) in the plugin panel.3. Click "Insert Text" or "Insert Icon" .4. Shortcuts: Enter to insert, Esc to close.

Plugin Details

Version1
CreatedMarch 3, 2026
Last UpdatedMarch 3, 2026
Categoryediting & effects plugins
Creator潘康(UI)
Stats1 installs, 1 likes
PricingFree

Technical Details

  • API:1.0.0
  • UI:ui.html
  • main:code.js
  • Document Access:dynamic-page
  • Editor Types:
    figma
  • Allowed Domains:
    • none