When you delete a component, it can be still used in your mockups. On the other hand, unused components clutter up your document.
Safely Delete Components does two things:
🗑 Safe Delete:
- Select a component you want to delete
- Go to Plugins > Safely Delete Components > Safe Delete (or ⌘+/ > "Safe Delete")
- This component will be deleted if there are no instances of it in the document
🧹 Delete Unused Components
- Go to Plugins > Safely Delete Components > Delete Unused Components (or ⌘+/ > "Delete Unused Components")
- The plugin will find components with no instances and delete them
When the plugin finishes its work, you'll see which components have been deleted.
Be aware that this plugin can be very slow with large documents, especially when working with unused components.