Add icons to DSM
  • 09 Jan 2023
  • 1 Minute to read
  • Dark
    Light

Add icons to DSM

  • Dark
    Light

Article summary

The Icons category of your DSM documentation site can contain any symbols that you reference on a regular basis, such as system icons, logos, and illustrations. Viewers of your DSM site will be able to download these items as SVGs.

Prepare icons in Sketch

Before adding icons to your documentation site, you'll need to take the following steps in Sketch:

  1. In your Sketch file, select the symbol masters you want to add as icons. It's important you select the symbol masters, not symbol instances.
  2. Mark the symbol as exportable and set the export type to SVG.
  3. Re-upload the Sketch file to your design system.

Prepare icons in Figma

Before adding icons to your documentation site, you'll need to take the following steps in Figma:

  1. In your Figma file, select the symbol masters you want to add as icons. It's important you select the components, not the instances.
  2. Mark the component as exportable and set the export type to SVG. marking-icons-for-export-in-figma.gif

Then, you will need to link the Figma library to your design system. Follow the steps in this article. If the Figma library is already linked to your design system, you'll need to update it:

  1. Sign in to DSM on the web.
  2. In the toolbar at the bottom, click Settings.
  3. In the side panel, navigate to Libraries.
  4. Click the Refresh icon (icon-refresh.png) next to the Figma library you want to update. invision-new-dsm-update-figma-library.gif

Add icons to the documentation site

After completing the previous steps in Sketch and Figma, you can add icons to your DSM documentation site.

To add icons to your DSM documentation site:

  1. Open your design system and, at the top of the page, click Foundations.
  2. In the left-hand navigation, click + Add Page or select an existing one.
  3. Just below the page title, click the Add button (icon-add.png), then select Icons (icon-icon.png).
  4. In the left-hand Libraries menu, select a library.
  5. Select the icons or folders you want to add. Alternatively, at the bottom of the modal, click Select all.
  6. Click Add assets.

The icons will appear on the page in a table format. You can repeat the steps above to add a new table.

Icons you add remain linked to the design library. If you change icons in the design library and re-upload the library to DSM, icons you added to the DSM Foundations will be updated automatically.

To download an icon, click the Download column for that icon.

invision-dsm-download-icon.jpg


Was this article helpful?