Export Slices

Export Slices

Export slices mark rectangular regions of a canvas for batch export. A slice can include parts of objects and can be exported in several formats or variants using style overrides.

Each canvas has its own slices. Create and edit them with the Slice Slice tool tool and manage their export settings in the Slices panel. Organize slices across canvases to export large asset collections from one document.

Give each slice its own format settings, or use an export profile style to share a collection of settings. Multiple profiles can use the same format with different style overrides to export variations of an object or symbol.

The selection and settings are stored with the document. Use Export Again to repeat the export.

Slice Tool

The Slices panel.

To create a slice:

  1. Activate the Slice Slice tool tool. In the default toolbox, it is grouped with Artboard Artboard tool near the bottom.
  2. Drag to draw a rectangle. The new slice is selected and appears in the Slices panel.

A dashed border marks each slice. Set the border color in Document Setup.

To edit a slice, click inside it with the Slice tool. Use its transform handles to move, scale, or rotate it, or enter values in the Transform panel. Slices cannot be skewed. The selected slice is also highlighted in the Slices panel.

Slices Panel

The panel lists slices on the current canvas. Click the arrow beside a slice to show its export formats and profiles. An entry can use a file format directly or an export profile style containing several formats.

Selecting a slice in the panel also selects it on the canvas. To rename it, select it and click its name again. Slice names appear above their regions on the canvas; use View - Margins - Hide / Show Slice Label to control their visibility.

Hold Command (Mac) or Control (Windows) and click names to select multiple slices.

Each export profile row has these controls:

Controls in an export profile row.

  • (1) - Select the profile row.
  • (2) - Enable or disable the profile. Disabled profiles remain in the slice but are skipped during export.
  • (3) - Choose a format, export profile style, or preset.
  • (4) - Set the export scale.
  • (5) - Set the file name suffix.
  • (6) - Choose export markers for selecting profiles during batch export. See Export Markers below.
  • (7) - Edit format options and profile settings.
  • (8) - Remove the profile from the slice.

The Slices panel menu.

The icon row provides these commands:

  • Export selected slices - Open Export Slices with the selected slices marked. Adjust the selection, click OK, and choose a destination folder.
  • Export canvas slices - Open Export Slices with slices from the current canvas only.
  • Export all slices - Open Export Slices with all slices in the document.
  • Export again - Repeat the last export.
  • Add export profile - Add a profile to the selected slice.
  • Remove export profile - Remove the selected format or profile.
  • Delete slices - Delete the selected slices.

The panel menu contains these commands:

  • Export Selected Slices - Open the export dialog with the selected slices marked.
  • Export Canvas Slices - Open the export dialog for the current canvas’s slices.
  • Export All Slices - Open the export dialog for all slices in the document.
  • Delete Profile - Remove selected profiles from slices.
  • Delete Slice - Delete selected slices from the current canvas.
  • Copy Profile - Copy selected profiles to the panel’s internal clipboard.
  • Paste Profile - Paste profiles from that clipboard into the selected slice.
  • Slice Color - Change the color used to display selected slices.
  • Clear Slice Color - Restore their default display color.
  • Create Profile - Add a profile to the selected slice.
  • Edit Profile - Edit the selected profile.
  • Expand Style - Replace the export profile style link with local settings.
  • Save Profile Style - Save selected profiles as a style that can contain multiple formats and profiles.
  • Save Format Style - Save the selected format’s settings as a reusable style.
  • Set from Style - Replace the selected profile with an export format or profile style.
  • Enabled Slice - Enable or disable selected slices. Disabled slices are skipped during export.

Export Profile settings in Artboard Options.

To share a set of export formats across slices:

  1. Set up the formats or profiles under one slice.
  2. Hold Command (Mac) or Control (Windows) and click each profile’s Select profile icon.
  3. Choose Save Profile Style from the panel menu. The new style appears in the format list.
  4. In the original slice, remove all but one profile row, then choose the new style in that row.
  5. Choose the same style for other slices as needed.

Edit the shared settings with Document Styles or the Styles panel.

Export Profiles

An export profile groups formats with their format-specific options and settings such as enabled status, scale, and file name suffix. Save profiles as styles to reuse the same settings for slices, artboards, or object exports.

The Export Profile editor in Artboard Options.

Profile lists use the same controls as the Slices panel. You will also find them in artboard and object export dialogs and in the Object Export panel.

Export Markers

Export markers are names assigned to profiles so you can choose sets of profiles when running Export Slices.

To manage marker names, click Export markers in a profile row and choose Edit Groups:

  • Existing names appear under Groups.
  • Click Add marker to add a marker.
  • Select a marker and click Remove marker to remove it.
  • To rename a marker, select it and click its name again.

Assign markers to a profile by checking them in its marker menu. When exporting, enable Select Markers and choose one or more markers instead of selecting slices individually. Only profiles with the selected markers are exported; other profiles are skipped even if they are enabled.

Export Slices

Choose File - Export Slices to select and export slices from the document.

The Export Slices dialog.

  • Prefix - Set a common prefix for exported file names.
  • Select Slices - Click a slice to include or exclude it.
  • List View - Show slices as a list, with more room to view and edit names.
  • Preview - Set the preview size.
  • Columns - Set the number of columns when List View is enabled.
  • Export All - Include all slices.
  • Current Canvas - Show and export only slices on the current canvas.
  • Member Canvas - Also include slices on the current canvas’s member canvases.
  • Select Markers - Choose profiles by their export group markers.

Confirm the selection, then choose the destination folder.