Repository navigation
v1.2.0 — Block masked icons at scan time
What's new
Icons containing a <mask> are now blocked at scan time. Masked icons fail to publish, so the plugin stops them before they reach your repo instead of letting the publish break. The error names the icon and its category, and tells the designer exactly what to change:
- Mask id contains
inside→ stroke alignment is set to Inside; change it to Center. (SVG only supports centered strokes, so Figma fakes "Inside" with a mask that clips the outer half.) - Otherwise → a layer or frame has Clip content enabled; uncheck it. If it really is a mask layer, flatten the shapes instead.
clipPath and gradients are not restricted. Neither affects publishing, and colored icons rely on linearGradient / radialGradient for their fills. Only the <mask> element itself is matched — an attribute reference like mask="url(#x)" won't trigger the check.
Install (no build needed)
- Download
figma-icon-manager-v1.2.0.zipfrom the Assets below - Unzip anywhere on your machine
- In Figma: Plugins → Development → Import plugin from manifest… → select the
manifest.jsoninside the unzipped folder
Upgrading from v1.1.0? You can just replace the unzipped folder contents — no need to re-import in Figma as long as the folder path is unchanged.
Figma file convention (full list)
- At least one Page whose name contains
icon(case-insensitive) - Under that page, top-level Frames must end with
Outlined,Filled, orColored - All icon Components must use PascalCase naming (e.g.
ArrowUp) - No duplicate names within the same category
- New in v1.2.0: no
<mask>in the exported SVG
What is inside
manifest.json— Figma plugin manifestdist/code.js— main plugin logicdist/ui.html— plugin UI (React bundle inlined)
Full changelog: v1.1.0...v1.2.0