Flatten and mirror layers without destructing and update them like a boss.

v2.1.0 is compatible with Sketch 50.0.0

Flatten Plugin for Sketch

Version 2 is here! Check out my new Medium post for all the new features!


With Sketch Runner, just go to the install command and search for Flatten. Runner allows you to manage plugins and do much more to speed up your workflow in Sketch. Download Runner here.



  • Now, it's easier than ever to create a preview layer from an artboard or layer with a command instead of creating it yourself. It automatically detects the zoom value of the viewport and creates the preview layer scaled to be seen in 100% zoom value. I will update the Medium post soon to show the changes, stay tuned!
  • Delete this preview layer and restore all the related things easily with the restore command.
  • Added Sketchrunner command icons and descriptions. Now, it's easier to recognize the command items in Sketchrunner's search panel.
  • Some bug fixes and improvements.


  • Layer mirroring: Now you can mirror a normal layer by creating a shared style. The plugin will update it automatically when you flatten again.
  • Auto flattening: If you select "Flattened Image" layers in groups or artboards, they will be updated automatically.
  • Auto toggling: Select the hidden actual layer to make it visible automatically. Select the flattened image back to toggle it back and update.
  • New tags: #no-auto, #stay-hidden, #sx.xx, #exclude. (Check out the Medium post for all the details.)
  • Settings panel for customizing the values like flattening scale (quality), style name prefix etc. You can also turn on and off the automated features.
  • Unflattening: Select a flattened group and unflatten to revert it back. If you unflatten an artboard image layer, it will change the name to match the artboard it's connected to.
  • Now, there is no need to add artboard color or to keep the layer inside the borders of the artboard to be able to flatten it correctly. Flatten everything everywhere!
  • Sketch 5.0 fix.


  • Sketch 4.7 fix.


  • Sketch 4.5 fix.
  • Support for the plugin update feature of Sketch.


  • Sketch 4.3.1 fix.


  • Bug fix.


  • Sketch 3.9 fix.
  • Now artboard shared styles sync automatically after reflattening artboards.
  • New command: Toggle. You can toggle single or multiple flattened layers to edit them easily by selecting the group(s) and run the toggle command.


  • Sketch 3.8 fix.
  • Now when you flatten a single layer, the selection will be updated to the group created.


  • Fixed compatibility issues with Sketch 3.5.
  • Plugin menu improvements.




The MIT License (MIT)

Join the discussion

Download v2.1.0
Usage Activity

No Sketchpacks Relay integration found

  • 220 downloads all–time
  • 1 downloads this week
  • 2 downloads this month
About this plugin

einancunlu published this plugin 3y ago.

v2.1.0 is the latest of 4 releases

Native updates are supported within Sketch.app.