Prototype in Sketch using Craft from Invision

NorthGrid
26 followers
Oct 27, 2022
Hello and welcome to Sketch Together. My name is Pablo Stanley and today we're going to be creating
a prototype inside Sketch using InVision's Craft plugin. InVision just released an update to their
Craft plugin where they included Prototype. With Prototype you can create a link with any layer
or group that connects that layer or group with another screen and then you can add a gesture to
it and add a transition. So today we're going to create a project and I have some files ready.
You can download those files. I share a link to that if you want to practice too.
And also at the end we're going to preview our prototype on the web and that's it. Let's do it.
In case you haven't installed the plugin by InVision just go to invisionapp.com
slash craft and then you will find here a big button that says download the plugins.
You can also see all the benefits of this plugin, all the different parts.
There are many cool videos that show you all the different parts of this plugin because this plugin
is actually like a mega plugin that has multiple mini plugins and one of them is the new one which
is for prototyping. So you download it, you go through the usual steps of downloading, installing
and all that stuff. Once it's installed you will see an icon on the top nav icon bar and here it's
the craft manager. The craft manager actually installs the plugin. So you will here see that
you can install it for Sketch and Photoshop. So for Photoshop I haven't installed it. I don't use it
but here in Sketch you will probably see something that says install. So once you have it installed
you can turn on and off the data, duplicate, freehand, library and sync which are the different
plugins that this master plugin has. So this is a good way to keep updated your plugin. Just always
go back to the craft manager and update your plugin to the latest version of it. Once you
have the craft plugin installed you will see it here in the menu as craft. You will see all the
different options and you can toggle the panel on and off. You will see the panel that is actually
right here next to your inspector bar and here you have all the different plugins, all the
different parts of this plugin which is duplicate, the data one and library and also syncing to your
prototypes on your InVision account. But the latest update included this little part here on
the bottom which is a prototype part and it's like a lining bolt and once you have clicked on that
then you can start making prototypes and you can add links to any layer or group to link to a
certain screen. So just as a demo let me show you how a prototype usually will look. When you have
a prototype you will see all these arrows where it's telling you the links that are being created
and where that link takes you to which specific screen and you can actually see what that specific
link is doing and you can change it. So all of that and then you can preview it on the web. This
is how it's going to look but let's make our own. So I have a link for this file. This is a demo
file. I'm going to close this. This is a demo file that you can use to follow along and you can
download it right here in the link. So as you can see we have different parts of our prototype. We
have a walkthrough just takes you to the different steps of like the benefits of this app. This is a
fake app of course and then we have the sign up process just like when there's no information when
there is information and then a success message and then we have the actual app. Once you are inside
you have logged in or you have signed up then we have let me zoom in so we can see we have one tab
where is the feed and then another tab that is like a list of recipes. This is a food app by the
way sorry I didn't tell you that and then we have a detailed page with a photo of the actual recipe
and then also we have a share sheet. We're going to learn how to actually
create links to overlays. So we have everything ready let's start before we create a prototype
let's actually start by adding some images to this wireframe and we're actually going to be
using the craft plugin for that. Something really cool about the craft plugin is that they have
something called data. So I'm going to go ahead and just select this and over here on the data
panel all right I'm going to go to the photos tab and I'm going to create a new item and this
item I'm going to call it food and this food is going to search for images from a local folder
in my computer and just put them randomly inside a shape. So right now by default it says unsplash
and this takes from the unsplash library but I want it to be a local folder because I already
saved some files some photos from the web from different photos of food. So I'm going to go to
select a folder. So I have a folder called food and this one I have a ton of different photos of
food and I'm going to say yes select that folder and then automatically will take photos randomly
from this folder and put them in the container. So I'm going to save this action and now I have
these layers selected I'm going to select these three layers which is rectangles here in the
background and I'm just going to select the food and boom magic happened it just added photos of
from that folder randomly of the food which is pretty cool it's pretty it makes my workflow
really fast whenever I want to go from a wireframe mode into a high fidelity mode on my
on my prototypes. So I'm going to go over here and do the same as you can see I didn't add
images here so I'm going to go and select this this and this and I'm going to go again and put
the same one and then I'm going to do the same but with titles so these titles instead of just
saying title it's kind of boring I'm going to go here inside of the data one I'm going to go to type
and then here in headlines I'm going to select cooking that will take different headlines about
cooking from the web and it will just fill it up for me and it's pretty handy again I'm going to
actually just there you go I just want it to be one line it comes pretty handy I don't have to
search for headlines on the web or I don't have to type my own it's just a good way to have data
in your and your prototype that looks a little bit more realistic. So I have this ready I'm
probably going to do the same here but before that I want to show you another pretty cool part of
this plugin which is called duplicate so here I want a list of recipes here so I want to go in
the first one I'm going to fill it up the same with my photos again with the food one and then
here in recipe I'm going to go to type and then I'm going to go to headlines and I'm going to
select cooking again and then the author I want it to be a name so I'm going to go to type and
then here names I'm going to select male female both I'm going to select both for this one and
it just fills up a name for me from random text so I have this ready I have this cell
and now I want to duplicate it in a grid so I'm going to go here on the duplicate sorry here
on the duplicate panel and I'm going to say vertical and how many of these I want to say
let's say nine nine of them vertically aligned and I'm going to say you can also add a gutter
between these elements but for now I'm just going to keep it at zero I'm going to duplicate the
content and voila magic happens it just added it created a grid for me with the information
with data following the same rules that I applied on the first cell which was select a random image
from my food library and also select a title from the cooking headlines and then also add a name
and now what I want to do is have a detailed page of this one this one should be a detailed page of
this so probably this oh look these two already have the same image so I can just these two be
the same that it's actually going to call this so I'm just going to copy the style of this copy
the style and I'm going to paste the style there you go and I'm going to add a fill a gradient fill
on top of this this gradient fill is just going to go from black to black zero percent that way
I can see these icons on the top I'm just going to move it all the way here that way I have my
photo but I can still see these icons over here so over here I'm going to say that instead of 50%
it goes all the way to 60% there you go and now I can see my icons and I'm ready it's the same
image as this probably I'm going to just copy this title to command c and then I'm going to put it
over here and now my design is ready now I can start adding links to the prototype
so let's go ahead and do the first one here on the walkthrough so here on the walkthrough I want
to be able to tap or probably swipe and take that takes me to the next one so I'm going to add an
actual rectangle on top of all this this rectangle is going to be my hit area so all this is going to
be my hit area I could have done just a full photo but right now in vision if you put an action on
top of another action that won't work will not work so that way my button will not work on top
of this image being a full adding a link on top of another link so I'm going to add my own hit area
all of this is going to be my hit area I'm going to obviously change the opacity of this element
to zero percent I'm going to call it hit area I'm going to put it on top of everything here on my
artboard it's already all the way to the top and then here I'm going to press C for craft I guess
and then the C brings this little arrow that asks me where do you want this hit area
to go to so I can save it here or over here so I'm going to go here and then what kind of gesture do
I want to use and for this one I want it to be swipe left and then swipe left and then after that
it asks me what kind of transition I want it to be so I want it to be push left so I'm going to
swipe left and then it pushes left to the next image so I'm going to add the link that's good
and then I'm going to copy this same hit area and I'm just going to put it over here but over here
instead of this link right now it's linking to the same image and I don't want that so I wanted
to link to this one it's going to be the same so I'm going to say that it swipes left and also
it pushes left pushes left and I'm going to add the link I'm going to go over here I'm going to paste
and I'm going to say C and then this one should take me back to the first one when I swipe left
and it pushes left as a transition there you go so there you go now this should take me swipe left
and then it should take me uh to the uh to the next image so now I want to go to the login so
let's get started I'm going to select all of these I'm going to shift all these layers all of
these groups these symbols actually uh and then I'm going to press C and then these should take
me here and then I'm going to say that the gesture is tap and it should take uh the transition should
be push left I'm going to add the link voila there you go boom and now I'm going to say when I start
tapping here on the keyboard then it should take me over here so I'm going to press C it takes me
here when I start tapping and let's say that it dissolves it just dissolves so it will be a fading
fade out and that's perfect now I want to say that when I tap on this then I log in so I'm going to
press C and then this one will take me here and it should be let's say that it's pop that's going to
be the transition pop it's going to be fun and then this one here there's no time transition
there's no way for me to say hey from here I want to be automatically after two seconds go to this
one that's something that envision hasn't added on the prototype tool but let's uh let's do it
where I when I tap here it takes me here tap here and let's say that it slides left it slides left
and I'm going to add the link there you go so now I'm going to go over here and I'm going to say
that when I tap on this guy or see I want to go over here easy and I want it to be
dissolved there you go I'm going to do the same over here this one should take me back over here
tap and the transition should be dissolved I add the link and there you go now I add a link that
takes me here and another link from here that takes me here and now I'm just going to add
another one from this cell let's zoom in so we can see what's going on from this cell I'm going
press c that takes me to this one and then probably the transition should be that it slides
up slides up when I tap perfect and also this one I want it to be this element this card I want it
to be press c and I want it to take me to the same one also sliding up obviously this is whatever you
think it's better uh this just for this example I'm using these transitions probably you will
disagree on the kind of the transition they're using but the cool thing about this is that it's
a prototype that you can test and then later iterate and say you know what no that didn't feel
right I want to go back and do something different that's the cool thing about this so I'm going to
add the link and now once I'm here I'm going to do something different I want to add a back link
so this m uh the x I want to press c and I want to instead of a specific uh a screen I want to go
over here link back close that way it will take me back to whatever screen took me to this
specific screen so I'm going to select that and I'm going to say the transition it slides down
slides down perfect and now I'm going to add another one to this but this one is going to be
not a link screen but it's going to be instead of here in the drop down instead of linking to
a screen I'm going to say the link as overlay once it links as an overlay it asks me where
the position of this element should appear by default it says center but since this one is just
a chair cheat I want it to actually be from the bottom uh center so it comes from the bottom
and then and I'm going to say that it actually slides uh it slides in bottom so it slides from
the bottom and then it can it asks me if I want to add a transparency to it I'm going to keep it
at zero I'm just going to keep the default on this so I'm going to add the link and then it
asks me if I want to reverse the transition I think that's good so I'm going to add the link
and I think we're ready when you're ready to test your prototype when you're ready to put
on the web all you have to do is sync it to a project that you already have or sync it to a
new project so to do that here on the craft plugin there's this little guy that says sync
and here on sync you can select a specific prototype you already have or create a new one
so I'm going to create a new one and I'm going to select that it syncs all the artboards on my
project so it's right here or you can also select a specific artwork that you want to sync but for
this example I'm going to select all the artboards and I'm going to create a new prototype so create
a prototype and I'm going to call it food sketch together that's going to be the name I don't know
what you want to call it and then here instead of desktop I want it to be an iPhone but that's
a cool thing you can create desktop prototypes right here too but this one is just an iPhone I
create my prototype and boom I just created the prototype and now that I created the prototype
I can start syncing my screens to InVision so I'm going to sync all my artboards sync it to InVision
and then it's preparing all the things and then look it does a little sound when it's ready and
boom now once it's ready it will tell you here that everything was uploaded now I'm ready to
start playing with my prototype so you can just go to InVision and open your prototype open your
project from there or you can just click here on the sync button and then here on the bottom you're
going to see two buttons one that it says open and one that is a play button the open one will
just open directly the project and you can make some edits or you can just press the play button
and then it will open it in the browser so you can start playing so I'm pressing the play button
and there you go now I have the prototype right here and I can start playing with it so I'm going
to go ahead and swipe there you go it goes through all these images and now I'm going to say let's
get started everything's looking good I start typing let's get cooking it pops now I press here
and it takes me to the actual uh app I'm going to I can go through the tabs it just creates a
dissolve as we were planning to do and then I'm going to tap on this it should open this one and
then here it should take me back to the to the previous screen see open this it takes me back
I open it and then this should open from below the share button okay so here probably I should
add a little bit of transparency but you get the idea of what's going on so I press outside
and it closes look at that how easy was that I just created directly on sketch using the craft
envision plugin I just added images I added content I added data I created a grid and not
only that but I also added a prototype I created a prototype right there on sketch and I'm able to
test it and if I need to make an update I can update it and then just test it again right here
it's awesome so that's it we just created a prototype using the craft plugin and we also
added photos with the data part of the plugin and we also created a grid with the duplicate
part of the plugin and we synced it to our project owner envision account with the sync plugin
something that will be nice to have on the prototype part will be to add time links to
the artboards so that you don't require a gesture to go to a different screen you just after one
second or two seconds it goes to the next one something else will be to add transparent hit
areas so already on envision you can add transparent hit areas just like say all of this big
thing is going to be a button so it would be good to add something similar to that
on the sketch plugin also just being able to say what is a fixed header and what is a fixed footer
will be great and templates one of the great things about using envision is being able to
just create some of the links once for example a tab navigation and then just duplicate those
links across your prototype because they are just being reused over and over again so something to
do templates will be great and all these things you can kind of hack it inside right now on the
sketch plugin or you can just go to your project on the web and just do it there so the prototype
plugin it's a great way to get started and then probably fine-tune it on the web so yeah amazing
work by the envision team i love this plugin i'm going to keep working on it i look forward to all
the updates that they're going to be releasing and what do you think do you think you'll be using
this plugin have you been using it do you have any prototypes that you want to share leave anything
on the comments and also we have a facebook group and we have design challenges and we share our
work and we ask philosophical questions you should join our facebook group i'm adding a
link also to the description and that's it thank you so much subscribe like all that stuff bye
