Skip to content
Tutorials Center
My learning

Topics

Lesson 32 of 36 ยท Export and Workflows

Asset Export Panel, Artboard Names and Slicing

Collect icons and UI pieces in the Asset Export panel of Adobe Illustrator, name layers and artboards for developers, and validate names with a runnable Python stand-in.

Designers rarely export one file. A project may need 40 icons, three logo versions and a social banner, each in two or three sizes. The Asset Export panel and well-chosen names make this repeatable. Naming is the unglamorous skill that separates a tidy handoff from a pile of Untitled-3 copy 2.png.

Illustrator does not run on this site. The Python code is a stand-in that checks names and builds an export manifest.

Asset Export panel

Open Window > Asset Export. To add an item:

  1. Select an object (or group, or symbol instance).
  2. Drag it into the panel, or click the Generate Single Asset button at the lower right. You can also Alt/Option-drag to create several assets at once.
  3. Rename it by double-clicking the name. The name becomes the file name.
  4. Choose the format (PNG, JPEG, SVG, PDF, WebP) and the scales (1x, 2x, 3x or custom) in the Export Settings at the bottom.
  5. Click Export.

An asset keeps a link to the object; changing the object re-exports the new version. This is better than slicing and cropping by hand.

Artboards or assets?

Approach Use when
One artboard per item Icon sets, logo versions, pages; each artboard has a name and a size
Assets in one artboard UI kits and sprites where many pieces sit together

For icon sets artboards are cleaner because the viewBox of each SVG matches the artboard. For parts of a bigger layout, assets work well.

Naming conventions

Developers' tools are case-sensitive and dislike spaces. A safe convention:

  • lowercase kebab-case: icon-search, logo-primary
  • Group with a prefix: icon-, logo-, illustration-
  • No spaces, accents or special characters
  • Put state or size at the end: icon-search-24, button-primary-hover
  • Avoid the words final, new and copy
  • Scale suffixes (@2x) are added by the export, not by you

Also name layers, because they become SVG ids, and name artboards in the Artboards panel or the Properties panel (select the Artboard tool and edit the name).

Stand-in: validate names

Python Stand-in: a naming checker

Press Run (or Ctrl + Enter) to see the result here.

Program input ยท what you'd type while the program runs

Type the answers before you press Run, one per line. Each time the program reads a line (with input()), it gets the next line from this box.

You can run something like this on a list of layer names exported from a script (scripting lesson).

Stand-in: slugify and manifest

Python Stand-in: turn layer names into an export manifest

Press Run (or Ctrl + Enter) to see the result here.

Program input ยท what you'd type while the program runs

Type the answers before you press Run, one per line. Each time the program reads a line (with input()), it gets the next line from this box.

The output shows what Export for Screens would write for each layer name, once you rename them to match.

Slices (older workflow)

Object > Slice > Make creates slices over areas of the artboard for File > Export > Save for Web (Legacy) (Alt/Option+Shift+Ctrl/Cmd+S). Asset Export has replaced it for most work, but slices still appear in old files; learn to spot them with View > Show Slices.

Keeping files organized

  • One layer per kind of thing (guides, artwork, text, background).
  • Lock and hide layers instead of deleting them.
  • Use Windows > Layers and colors per layer to identify selection.
  • Use Object > Group to make assets act as a single item.
  • Use symbols for repeated pieces so one edit updates every export (symbols).
  • Save a versioned master: brand-2025-v03.ai.

Handoff to developers

  1. Export SVGs with outlined text and clean ids (export lesson).
  2. Provide PNG @1x, @2x, @3x only when SVG is not possible.
  3. Include a text file listing names, sizes and colors; the tools above can generate it.
  4. Share the .ai master via Creative Cloud Libraries or a cloud link.

Check your understanding

Quick check ยท 3 questions

of 3 answered You scored / 3 ยท perfect!

  1. 1. Where do you collect objects to export as named files in several scales?

    The Asset Export panel stores objects with names, formats and scales.
  2. 2. Which name follows a safe web convention?

    Lowercase kebab-case with no spaces or vague words works everywhere.
  3. 3. Why name layers carefully before exporting SVG?

    With Object IDs set to Layer Names, layer names become ids.

Summary

  • The Asset Export panel stores named, linked assets with their formats and scales.
  • Use artboards for icon sets and logo versions, assets for pieces inside a layout.
  • Name files in lowercase kebab-case; avoid spaces and words such as final or copy.
  • The Python snippets are stand-ins that validate names and build a manifest.

Next: Libraries, Actions and Scripting