Delete Hidden Layers

Delete Hidden Layers

Figma Plugin

Description

Delete Hidden Layers scans your selected Figma elements and finds all hidden layers nested within them. The plugin provides an interactive interface where you can:

  • View all hidden layers in a scrollable list with their names
  • Selectively skip items by clicking on them (they'll be marked with a dashed border)
  • Delete hidden layers to clean up your design files
  • Make layers visible if you want to restore them instead of deleting

This is especially useful for:

  • Cleaning up messy design files with forgotten hidden elements
  • Preparing files for handoff by removing unnecessary hidden layers
  • Auditing your designs to see what's been hidden
  • Batch operations on multiple hidden layers at once

image gallery

Using the Plugin

➊ Select Your Elements

  1. Open your Figma file
  2. Select one or more frames, groups, or components that you want to scan for hidden layers
  3. You can select multiple items at once - the plugin will scan all of them

Tip: Select a top-level frame to scan everything within it, or select specific elements for more targeted scanning.

➋ Run the Plugin

  1. Go to Plugins in the Figma menu (or right-click and select Plugins)
  2. Find and click Delete Hidden Layers
  3. The plugin window will open and automatically scan your selection

➌ Review Hidden Layers

The plugin will display a list of all hidden layers found within your selection:

  • Each item shows the layer name
  • An eye icon appears next to each item
  • The count of hidden items is shown at the top of the list

If no hidden layers are found, you'll see a message saying "No hidden items found in the selection."



➍ Choose Which Layers to Process (Optional)

By default, all hidden layers will be processed. To skip specific layers:

  1. Click on any layer in the list to skip it
  2. Skipped layers will:Show a dashed borderDisplay a "hidden eye" iconAppear dimmed
  3. Click again to un-skip the layer

Tip: This is useful when you want to keep certain hidden layers (like backup versions or reference elements) while removing others.

➎ Take Action

Choose one of two actions:

Option 🅰: Delete Hidden Layers

  1. Click the "Delete Hidden Layers" button (red)
  2. All non-skipped hidden layers will be permanently deleted
  3. A success message will show how many items were deleted
  4. The list will refresh to show any remaining hidden layers

Option 🅱: Make Visible

  1. Click the "Make Visible" button (blue)
  2. All non-skipped hidden layers will be made visible
  3. A success message will show how many items were made visible
  4. The list will refresh to show any remaining hidden layers

☻ Common Workflows

🅰 Clean Up Entire File

  1. Select your main frame or page
  2. Run the plugin
  3. Review the list of hidden layers
  4. Click "Delete Hidden Layers" to remove them all

🅱 Selective Cleanup

  1. Select your elements
  2. Run the plugin
  3. Click on layers you want to keep (to skip them)
  4. Click "Delete Hidden Layers" to remove only the non-skipped items

🅲 Restore Hidden Layers

  1. Select your elements
  2. Run the plugin
  3. Review what's hidden
  4. Click "Make Visible" to restore all hidden layers

🅳 Audit Before Handoff

  1. Select your design frames
  2. Run the plugin
  3. Review the list to see what's hidden
  4. Decide whether to delete, make visible, or leave as-is

That's all there is to it! Delete Hidden Layers gives you complete control over hidden elements in your Figma files, making cleanup and file management effortless.

Whether you're tidying up before a handoff or just maintaining cleaner design files, this plugin streamlines the process with a simple, visual interface.

Leave a comment

Delete Hidden Layers

Version: 1.0.0

Updated:

  • 1.0.0 – Initial release.

  • Supported Versions:

    • Compatible with Adobe Illustrator CS6 and later, including Adobe Illustrator CC versions.

    Operating Systems:

    • Works on both macOS and Windows platforms.
  • End User License Agreement (EULA)

    Last Updated: 21.12.2024

    This End User License Agreement (“Agreement”) is a legal agreement between you (“User” or “Licensee”) and Samolevsky.com (“Licensor”) regarding the use of the Adobe Illustrator scripts (“Software”). By downloading, installing, or using the Software, you agree to be bound by the terms of this Agreement.

    1. Grant of License

    Licensor grants the User a non-exclusive, non-transferable, and revocable license to use the Software in accordance with this Agreement.

    • Free Software: If the Software is provided for free, you may use it for personal or commercial purposes without payment, subject to the restrictions outlined in this Agreement.
    • Paid Software: If the Software is provided for a fee, you may use it only after payment has been made in full.

    2. Usage Rights

    You are permitted to:

    • Install and use the Software on devices you own or control.
    • Use the Software in your personal or commercial projects, subject to compliance with this Agreement.

    3. Restrictions

    You may NOT:

    • Reverse engineer, decompile, or otherwise attempt to discover the source code, underlying ideas, or algorithms of the Software.
    • Reuse, incorporate, or integrate any portion of the Software into any other software, product, or project, except as expressly permitted by the Licensor in writing.
    • Resell, redistribute, or share the Software, whether in its original or modified form, without prior written consent from the Licensor.
    • Claim ownership of the Software or its underlying code.
    • Use the Software in any way that violates applicable laws or regulations.

    4. Ownership

    The Software and all intellectual property rights therein remain the exclusive property of the Licensor. This Agreement does not transfer ownership of the Software or any intellectual property rights to the User.

    5. Disclaimer of Warranties

    THE SOFTWARE IS PROVIDED “AS IS”, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, AND NONINFRINGEMENT. IN NO EVENT SHALL THE LICENSOR BE LIABLE FOR ANY CLAIM, DAMAGES, OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT, OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

    6. Limitation of Liability

    To the maximum extent permitted by law, Licensor shall not be liable for any damages, including but not limited to direct, indirect, incidental, special, or consequential damages, arising out of or related to the use or inability to use the Software.

    7. Termination

    This Agreement is effective until terminated. Licensor may terminate this Agreement immediately if you breach any term of this Agreement. Upon termination, you must cease all use of the Software and destroy any copies in your possession.

    8. Updates and Support

    Licensor is not obligated to provide updates, support, or maintenance for the Software. However, updates may be provided at the sole discretion of the Licensor.

    9. Governing Law

    This Agreement shall be governed by and construed in accordance with the laws of the State of New York, without regard to its conflict of law principles.

    10. Entire Agreement

    This Agreement constitutes the entire agreement between you and the Licensor concerning the Software and supersedes all prior or contemporaneous understandings regarding such subject matter.

    By using the Software, you acknowledge that you have read this Agreement, understand it, and agree to be bound by its terms.

    For any questions or concerns regarding this Agreement, please contact us at hello@samolevsky.com

Required Software

Figma

Figma is a cloud-based design and prototyping tool primarily used for user interface and user experience design. It allows designers, developers, and other stakeholders to collaborate in real-time on projects.

Browse More Plugins

  1. Explore Stroke Width Randomizer
    Stroke Width Randomizer

    Stroke Width Randomizer

    A powerful Figma plugin that applies random stroke widths to selected objects within a customizable range.

    Explore
  2. Explore Stroke Scaler
    Stroke Scaler

    Stroke Scaler

    A Figma plugin that allows you to scale and adjust stroke weights on selected objects with real-time preview.

    Explore
  3. Explore Select by Name
    Select by Name

    Select by Name

    Select by Name is a powerful Figma plugin that allows you to quickly find, filter, and select design elements by their names across your Figma documents. 

    Explore

Got questions?

Need help or have an idea to share? We’d love to hear from you! Whether you have questions, found a bug, have a feature request, or just want to share your feedback, reach out to us—we’re here for you!