Adding Libraries

To add a Library, all you need is a Sketch document that contains Symbols, Text Styles or Layer Styles — and that’s it!

Once you have your document set up with the styles and Symbols that you want to use throughout multiple documents, you need to tell Sketch that you would like to use that document as a Library. To do this, open Sketch’s Preferences (Command-Comma), and navigate to the Libraries tab.

Here you will see that there’s already a document set up as a Library — Sketch’s iOS UI Design template. You can click on the checkbox in the list to enable or disable its components from appearing in the Insert menu. You can get a better look at a Library by previewing it, just click the Quick Look icon that appears on the right-side of the list.

To add your document as a Library, click on the “Add Library…” button that appears on the bottom right of the preference window, and choose your document from your files. You will now be able to access all its styles and Symbols from any other document!

Library Preferences

At the bottom of the Library list, click the cog icon to reveal a menu where you can choose to disable, open, or remove a Library. There’s no limit to the number of Libraries you can have, and each Library’s Symbols and styles will be neatly separated in their respective menus.

You’ll notice in the above screenshot that our iOS UI Design Library has a custom image on the left. You can add your own thumbnail by inserting an Artboard titled Library Preview in the Library document. Anything you place on this Artboard will show up in the preview image in the Libraries tab.

Libraries and Teams

If you’re wanting to share styles and Symbols from your Sketch document with friends or colleagues via Libraries, then that’s entirely possible. Instead of storing the document you would like to use as a Library on your computer — add it to either a local server, cloud service, or version control system where you know it can be accessed.

For example, if you’re storing a document you would like to use as a Library on Dropbox, just navigate to that location when you’re adding it to your Library list. If your friends and colleagues go to that same document on their Dropbox folder — they’ll then have access to the same Library as you, meaning they will be able to receive changes when the document is updated.

If you want to take advantage of sharing your Libraries with Sketch Cloud, we’ve got you covered. Any document uploaded to Sketch Cloud can be used as a Library, where anyone who has subscribed can receive changes made to the document.

As well as hosting your Libraries on Sketch Cloud, you can also host your Library file on any online server, publish an RSS that points to it, and have Sketch subscribe to the RSS to get updates when the Library is updated. To do that, just use a link in this form: sketch://add-library?url=URLEncodedPathToRSS

For an example of what an RSS looks like, here’s the one for our macOS Library: https://client.sketch.cloud/v1/shares/VEp78/rss

Last modified on Oct 02, 2018

Was this article useful?

Yes
No

We’re really sorry about that.
Please let us know what you were looking for:

If you need more help or you’d like to report a bug with this content, please contact support.

Thanks for your feedback.
An error occurred, please try again later.

Start working faster today

Available exclusively on the Mac for just $99.