Some things you should know:
You can export one layer selecting it and then click on ‘Cut selected’ (it works with groups and layers).
Or you can export all groups you want at once:
It is easy. The only thing you have to do is include ‘@’ at the end of all group names you want to export, and then click on ‘Cut all assets’.
If you click on ‘Cut Subgroups’, Cut&Slice me will export all your ‘@’ layers inside this group.
You have to put all your button status in different groups and name them as following.
I thought it was good to have a standard system to name layers/files that should be semantic at the same time. That is the reason I don’t use the same keyword for tappable an clickable buttons.
|Click / Tap Status||clicked||pressed|
Cut&Slice me remove all surrounded transparent pixels you don’t want. But what happen when your developer wants all your buttons status with the same size? Then you can use a rectangular vector layer on the very top of your group, telling the plugin the area you want to export. You have to name it ‘#’.
Why a vector layer? Simple: if you are using ‘Snap Vector Tools and Transforms to Pixel Grid’, your vector shape would be pixel perfect. No blurred edges.
…and much more.