Adding Libraries

A Library is a type of Sketch file with Symbols, Text Styles, and Layer Styles that can be shared. You can share a Library across an Organization’s Projects by linking it or you can use a Library to keep a single Project consistent.

How to create a new Sketch Library

To create a Sketch Library:

  1. Open the Abstract desktop app.
  2. Select the Project where you’d like to create a Library.
    • If you’ll be sharing this Library across Projects, you may want to create a dedicated Project for the Library and link your Project to it. If you won’t be using the Library across multiple Projects, you can create the Library right inside the Project.
  3. Select Master from the left side pane.
    • It’s also possible to create a Library directly in one of your Branches. You can’t link to / from Branch Libraries until they are merged to Master.
  4. Select the FILES tab at the top.
  5. Click ADD FILE.
  6. Click Create Sketch File as Library….
  7. Name and create your new Library file.

The Sketch icon for the new Library will turn from orange to pink. Abstract also records the change as a Commit.

Note: If your Library file does not contain any Symbols, the Library won’t appear in Sketch.

How to add an existing Sketch Library

Before you import a Sketch Library, consider consolidating and categorizing your team’s Symbols. We’ve seen teams successfully separate Library Symbols into platform-specific assets, branding, and UI assets files.

To import a Sketch Library:

  1. Open the Abstract desktop app.
  2. Select the Project where you’d like to create a Library.
    • If you’ll be sharing this Library across Projects, you may want to create a dedicated Project for the Library and link your Project to it. If you won’t be using the Library across multiple Projects, you can import the Library right inside the Project.
  3. Select Master from the left side pane.
    • It’s also possible to create a Library directly in one of your Branches. You can’t link to / from Branch Libraries until they are merged to Master.
  4. Select the FILES tab at the top.
  5. Click ADD FILE.
  6. Select Import Sketch File as Library….
  7. Name and create your new Library file.
  8. Fix the Symbol references in the Library.

How to convert an existing Sketch file to a Library

If you already added a Sketch file to your Project that you’d like to use as a Library, you can convert it.

To use an existing Sketch file as a Library:

  1. Open the Abstract desktop app.
  2. Select the Project where you’d like to create a Library.
  3. Select Branches from the left side pane.
  4. Select the Branch with the Sketch file you’d like to convert.
  5. Right-click the file name.
  6. Select Use as Library….

The Sketch icon for the new Library will turn from orange to pink. Abstract also records the change as a Commit.

How to stop using a Sketch file as a Library

If you ever want to stop using a file as a Library file, follow the steps to convert a Sketch file to a Library and uncheck Use as Library….

Advanced Library setup

  • How to set up your Design System [coming soon!]