Slices

Slices define rectangular export regions independent of element bounds. Use them to export specific areas, add padding around elements, or create consistent export dimensions.

Creating Slices

Slice Tool

  1. Select the Slice Tool from toolbar
  2. Click and drag to draw a slice area
  3. Slice appears with export handles

From Selection

  1. Select elements to export
  2. Right-click and choose "Create Slice"
  3. Slice matches selection bounds

Slice Properties

Dimensions

Export Settings

Slice vs Export Settings

Slices Element Export
Custom rectangular region Element bounds
Independent of elements Follows element
Fixed position Moves with element
Can include multiple elements Single element tree

Managing Slices

Slices Panel

Selecting Slices

Resizing

Content Modes

Include Content

Background

Multiple Scales

Export same slice at multiple sizes:

  1. Select slice
  2. In Export settings, click "+"
  3. Add 2x, 3x versions
  4. Each exports with suffix

Example outputs: icon.png, icon@2x.png, icon@3x.png

Exporting Slices

Single Slice

  1. Select the slice
  2. Click "Export" in Properties panel
  3. Choose location
  4. Slice exports with settings

All Slices

  1. File menu > Export All Slices
  2. Choose destination folder
  3. All slices export with their settings

Common Use Cases

Tips