Welcome to the Treehouse Community

The Treehouse Community is a meeting place for developers, designers, and programmers of all backgrounds and skill levels to get support. Collaborate here on code errors or bugs that you need feedback on, or asking for an extra set of eyes on your latest project. Join thousands of Treehouse students and alumni in the community today. (Note: Only Treehouse students can comment or ask questions, but non-students are welcome to browse our conversations.)

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and a supportive community. Start your free trial today.

Design Sketch Basics Build a Mobile Interface Export Elements for your App

why i should use slices instead of export assets just by using export button?

for example, i can select icon, tap export, choose 2x and that's it... so for what we make slices?

Francesco Belvedere
Francesco Belvedere
15,206 Points

It really depends on your workflow and your tools.

The benefit of slices come into play when you want to slice up an entire layout into individual exports. When you do this on an entire layout you can then export all of your slices at once, as opposed to individually as each slice has a different export format and quality assigned to it.

Of course if you are designing one specific icon then you dont really need to slice up that one icon.

Not sure if that helps.

Francesco //

1 Answer

Christopher Downer
STAFF
Christopher Downer
Treehouse Guest Teacher

There's a couple of benefits of using Slices, as opposed to "Make Exportable". With Slices, you can export the entire area inside of a slice, as opposed to a single layer or group, and the other most commonly used case is when you want to include 'blank' pixels around a layer as opposed to it being trimmed a layer's edges.