We’ve worked hard to make Sketch the dream “designer toolbox”. But everyone has slightly different needs, and maybe you need a feature that we’ve not implemented. Worry not: there is a good chance that a plugin already does what you need, or you can create one easily.
If you are interested in extending Sketch, you are in the right place. Here we present an outline of the Sketch extensibility documentation and how to quickly build your first Sketch plugin.
If you just want to use an existing plugin, see the Plugin Directory.
What can you do with plugins?
Plugins in Sketch can do anything a user can do (and even more!). For example:
- Select layers inside a document, based on complex rules
- Manipulate layer properties
- Create new layers
- Export assets in all supported formats
- Interact with the user (ask for input, display output)
- Get data from external files and web services
- Interact with the clipboard
- Manipulate Sketch’s environment (editing guides, zoom, etc…)
- Automate existing features by calling menu options from plugins
- design specs
- content generation
- perspective transformations
The easiest way to see Sketch plugins in action is via the Plugin Directory. You can browse for useful plugins, install them to try them out and get an idea how you might extend Sketch for your own design scenarios.
Writing an Extension
Lots of great community ideas for Sketch features are better implemented as plugins rather than as part of the core product. This way users can pick and choose the functionality they want, by installing the right set of plugins. The Sketch team tracks possible plugin as GitHub issues on the plugin-request repository. If you’re looking for a great plugin to build, have a look at the issues.
- Your First plugin - Try creating a simple Hello World plugin.
- Extension API - Learn about the Sketch extensibility APIs.
- Extension Examples - A list of extension samples you can review and build.
- Developer Forum - A forum where plugin developers share their knowledge about all things Sketch.
Help us improve
If you find any error or omission on the documentation, or you’d like us to cover or clarify something, just file an issue and we’ll try to fix it. Of course, since all the content on this site is open source, you can help us improve it by suggesting an edit on GitHub (there’s also an “Improve this page” link at the bottom of every page, in case you find something wrong while browsing the site).