Skip to content

sketch-hq/unsplash-sketchplugin

master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
December 19, 2018 11:49
September 21, 2018 11:06
src
March 19, 2020 12:53
August 29, 2018 12:51
September 21, 2018 11:25
February 12, 2019 23:19
March 18, 2020 23:16

Unsplash Data Plugin

Installation

The plugin comes bundled with Sketch since version 52, but if for some reason you’ve lost it, you can download it from the releases page.

Features

Get images from Unsplash, using Sketch 52’s new Data Supplier feature.

You can use it from the toolbar Data icon…

Using the Unsplash Data Plugin from the toolbar icon

…or from the contextual menu for any layer…

Using the Unsplash Data Plugin from the contextual menu

…or even for Overrides using the Inspector:

Using the Unsplash Data Plugin for Overrides from the Inspector

When you’ve set an image fill for a layer, you can later on open the original URL for an image, in case you need to full credits, or download the original file, etc. To do that, click Plugins › Unsplash › View Photo on Unsplash. It does not work for overrides yet, but we’re working on it!

Use specific photo

If you don't want a random photo, but a specific one, you can do a search in unsplash.com and then use the URL for the image you want as the input.

To do that, select the "Search Photo…" option then in the input field paste in an Unsplash photo URL. If you'd rather use the ID of the image, you can do that by entering id:photo_id as the search term.

(Thanks https://github.com/patrickdaze for this feature :)