Back to Plugins
清除/隐藏切片 Clear or Hide Slice

清除/隐藏切片 Clear or Hide Slice

Clean up slice layers with one click and full control

Plugin Preview

清除/隐藏切片 Clear or Hide Slice preview

About this plugin

介绍

清除切片 Clear Slice 是一个高效的图层管理插件,可一键清理选区内的所有 Slice 图层,并提供隐藏/显示控制选项。适用于批量处理切图冗余、整理输出前的画板。


功能说明

  1. 清除选中范围内所有 Slice 图层
  2. 可选是否解除组件实例后再处理
  3. 支持隐藏和显示 Slice 图层
  4. 多操作入口,灵活控制图层状态


使用方法

  1. 选择任意 Frame、Component 或 Instance
  2. 打开插件,勾选是否解除组件实例
  3. 点击所需操作按钮(清除 / 隐藏 / 显示)
  4. 插件将自动处理所有嵌套 Slice 图层


注意事项

  1. 若组件为受保护实例,请先手动解除
  2. 操作不可撤销,建议操作前先保存版本
  3. 插件默认递归处理所有子图层


Introduction

Clear Slice is a lightweight utility plugin that helps you remove, hide, or show all Slice layers within selected elements—ideal for cleaning up export slices before delivery.


Function Description

  1. Remove all Slice layers in the selection
  2. Optional: auto-detach instance before processing
  3. Hide or show Slice layers instead of deleting
  4. Simple UI with precise layer control options


How to Use

  1. Select any Frame, Component, or Instance
  2. Open the plugin and toggle "Detach instance" as needed
  3. Click your desired action: Clear / Hide / Show
  4. The plugin processes all nested slices recursively


Notes

  1. Protected components may require manual detaching
  2. Changes are not reversible — save your work before use
  3. The plugin processes all child layers in depth

Plugin Details

Version2
CreatedJune 6, 2025
Last UpdatedJune 14, 2025
Categoryediting & effects plugins
CreatorKingweiCheung
Stats28 installs, 0 likes
PricingPaid

Technical Details

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