Learn to develop clickable prototypes in Sketch with our detailed tutorial, covering topics like creating a prototype, linking between artboards, and fixing position elements.
This exercise is excerpted from Noble Desktop’s past web design training materials and is compatible with Sketch updates through 2021. Noble Desktop now teaches Figma as the primary tool for web and UX & UI design. To learn current skills in web design, check out our Figma Bootcamp and graphic design classes in NYC and live online.
Note: These materials are provided to give prospective students a sense of how we structure our class exercises and supplementary materials. During the course, you will get access to the accompanying class files, live instructor demonstrations, and hands-on instruction.
Topics covered in this Sketch tutorial:
Creating a Prototype, Linking between artboards, Fixed Position Elements
Exercise Preview
prototyping.jpg" alt="preview prototyping">
Exercise Overview
In this exercise, you’ll learn how to turn a Sketch design into a clickable prototype. You can click between screens and see how the website or app would work. This is a great way to show a design to clients, or do user testing.
Creating a Prototype
- In Sketch, go to File > Open Local Document.
- Navigate into Desktop > Class Files > Sketch Class > Pulse and double–click on Prototyping.sketch to open it.
- Let’s start adding prototype interactions. Make sure you can see the Home Page artboard as well as the Autumn Collection artboard to its right.
- On the Home Page artboard, select the Shop New Collection button.
-
Go into the Prototyping menu and choose Add Link to Artboard.
NOTE: The keyboard shortcut for this is W (as in for wire… because we’re wiring up the prototype).
- Click on the Autumn Collection artboard.
-
In the Inspector on the right:
In the Prototyping section, notice that Target has been set to the artboard we clicked on.
Under Animation, click on the Animate Artboard from Right button .
- Let’s create one more link before we preview this. Make sure you can see the Autumn Collection artboard as well as the Product Page to its right.
- On the Autumn Collection artboard select the Distressed Denim Jacket photo. The photo and type will be selected because they are all in a symbol.
- Hit the W key.
- Click on the Product Page artboard.
- To preview what we’ve done, near the top right of the Toolbar, click the Preview button (or go to Prototype > Preview Prototype).
- If the preview window is not showing the Home Page, choose it from the menu at the top of the preview window.
- Click on the Shop New Collection button and it should animate over to the Autumn Collection artboard.
- Click on the Distressed Denim Jacket photo or type to go to the next screen. Cool!
- At the top of the preview window, click the back arrow twice to return to the Home Page.
- We always want this to be the starting screen, so at the top of the preview window click the Start Point button .
- Close the preview window.
-
To the left of the Home Page artboard name, notice there’s now a flag icon which indicates this is the start point.
NOTE: Another way to set the starting point, is to select the artboard and choose Prototype > Use Artboard as Start Point.
Wiring Up the Navbar
- Double–click on any of the black navbars to edit the symbol.
- Click on a blank area of the canvas to deselect.
- Select the Pulse logo.
- We’re on the Symbols page and can’t see the artboard we want to link to, so in the Inspector, to the right of Prototyping click the plus + button.
-
In the Inspector:
- From the new Target menu that appeared choose Screens > Home Page.
- Under Animation, click on the Animate Artboard from Left button .
- While we’re here, let’s also wire up the menu icon. To the right of the navbar symbol, select the 3-lined “hamburger” menu icon on its own symbol artboard (NOT the one in the navbar).
-
In the Inspector:
- To the right of Prototyping click the plus + button.
- From the new Target menu that appeared choose Screens > Nav Menu.
- Under Animation, click on the Animate Artboard from Top button .
- To the right of the menu symbol, select the the X close button on its own symbol artboard (NOT the one in the navbar).
-
In the Inspector:
- To the right of Prototyping click the plus + button.
- From the Target menu choose Previous Artboard.
- At the top left of the Sidebar, click on the Screens page to get back to our design.
- On the Nav Menu artboard, click once on the navbar to select the symbol.
-
In the navbar symbol, our 3-lined “hamburger” menu icon is a symbol. As you saw on the symbols page, we also made a close button symbol. It’s the same exact size as the menu icon so we’ll be able to swap it out as an override (as we learned about in a previous exercise).
In the Inspector, under Overrides click on the menu below Menu Icon and choose close.
- Near the top right of the Toolbar, click the Preview button (or hit Cmd–P).
- You should start on the Home Page, so click on the Shop New Collection button and it should animate over to the Autumn Collection artboard.
- Click the Pulse logo in the navbar and it should return you to the home page.
-
Click the 3-lined “hamburger” menu icon on the left of the navbar to go to the nav menu screen. Notice two things:
- It took us to that artboard, but we really wanted it to slide down over the existing screen so we could transparently see the background. As of this writing, Sketch cannot yet overlay artboards but the makers of Sketch have publicly announced that feature will be coming soon.
- While we’re here, scroll down and notice the navbar scrolls off screen. This may be the desired behavior, but let’s see how to fix the navbar to the top so it’s always visible.
-
Scroll back up and click the X close button to return to the previous screen.
Swapping out the nested symbol used its artwork and prototyping wire!
Close the preview window.
Fixing the Position of Elements So They Don’t Scroll
- Select all 4 of the black navbars at the top of each artboard (click on one, then hold Shift and click on the others).
- In the Inspector, check on Fix position when scrolling.
- Near the top right of the Toolbar, click the Preview button (or hit Cmd–P).
- Scroll up and down to see that the navbar remains at the top of the screen.
- Close the preview window.
- Click in an empty area of the canvas to make sure nothing is selected.
- If you see all the prototyping wires, you can hide them by choosing View > Show Prototyping (to uncheck it).
- Save and close the file.