Zeplin exports images from exportable layers in your designs, which we call Assets. By default, all the necessary images with different scales and formats are generated automatically, tailored to the platform you’re designing for; Web, iOS, Android or macOS. Simply clicking the layer inside Zeplin will list these assets to developers.

Exportable layers

To mark a layer as exportable in Figma, simply add an export option to it by clicking the + button on the Export section, from the right panel.

Slices

Slices are a great way to export assets from arbitrary layers. You don't even need to add an export option to slices actually, they're exportable by default.

Assets with transparent paddings

A common use case is exporting assets slightly larger than the layers themselves, with transparent paddings around them. This is quite useful for components like menus, tab bars where all the icons should have the same size.

Using slices is the simplest way to accomplish this:

  • Add a slice, change its size as necessary.
  • Group the slice and the layer(s) together.

By default, slices are exported with their contents only, so the resulting image will only contain the layers that are grouped with it. If you'd like to include the background as well, you can do so by adding an export option and deselecting "Contents Only".

Related articles:

Did this answer your question?