Using shape tools in Sketch is fairly easy, but what if you want to create your own custom shapes? In this video, Renata walks through how to create and combine shapes together to create the shapes you want.
- [Instructor] Now we're going to go ahead and make a Golden Gate icon. Now you're probably wondering what we're going to do with the other elements we've already created. Don't worry about it, it's all going to come together towards the end. So if you're not familiar with the Golden Gate, it is a bridge located in San Francisco, California, in the United States. It is probably one of the most iconic bridges in the United States, if not in the world. And it's in an absolutely beautiful location, I highly recommend Googling it.
All right, to get started, let's go ahead and go insert, shape, rounded rectangle, or U. So again, if we escape out of that, and just press the U, we can also get into that mode. And we'll go ahead and create a rounded rectangle that's 10 by 110. And if you're finding like it's hard to get exactly that, then usually what's easiest is just to go to our properties, and put in 10 for width, tab over, 110 for height.
Perfect. Now let's go ahead and select it, copy, and paste. Move it out by 30. And we can hold down the ALT key, and you see that's telling us where we're at. Sometimes it'll snap to the grid that's within Sketch, so we'll just have to move it back with our arrow keys. Great. Now let's go ahead and zoom in, 'cause the next part gets a little trickier.
We're going to go ahead and create a rectangle shape, and then we're going to go ahead and create the points that connect the two pillars. And really quick, if you notice from our image, they're rounded here, so they need to be rounded here in our icon. So we'll go ahead and go into edit mode, and with the upper left anchor selected, we'll change to disconnected, then we'll move that bottom anchor to be straight, at 90 degrees, and this top one we'll move towards the center, and you notice Sketch is telling us where we're at, and then we'll just very gently pull it in, just a bit, to get that rounded look.
Now we'll select that bottom right anchor, choose disconnected, top handle at 90 degrees, bottom handle in towards center, up very gently. Now we've got those rounded elements that we want within our section that holds the two pillars together. So let's go ahead and do COMMAND C, COMMAND V, and then holding the SHIFT key down, and the ALT key down, see, it's telling us where things are at, we're keeping our mouse on that other one, we'll go ahead and we go out a couple times and we're at nine pixels apart at the moment.
So let's ahead and lift off of the SHIFT key, and just go one more, and now we're at 10. Perfect. Now, we'll take that bottom one, do COMMAND C, COMMAND V, and do the same thing, with our mouse still sitting over the top of the first one, SHIFT and ALT, mouse key down. Now normally this would move it by 10 pixels. And so we're currently at nine pixels, so let's take off the SHIFT, go down one, now we have it at 10 pixels.
Now our two pillars look a little long, so let's go ahead and select both of them and move them up to 90. Now you probably notice that it's not quite a pixel, it's at 90.23. When we have problems like this, we can just select our round to pixel. Now if you don't have that available to you at the moment, Go to customize toolbar, and you'll see there's a lot more options, and so we can just drag and drop it up.
And that's how you get those elements on to your toolbar. All right, now we'll go ahead and create the cables. So if we go ahead and COMMAND -, and zoom back out a little bit, you'll see the cables here on the bridge. So we want to go insert, shape, line, and just create a line here. And then we want our line to be at two for thickness.
Now it looks a little bit small, but as we move it into our map pinpoint, you'll see that it's actually the right size. So now we're going to select edit, and you'll see that we've already automatically gone into vector mode. So we'll want to go into edit mode, and then we need to have disconnected chosen, because what we're going to do is it's current looking to add more to his line, as you can see it's following us around right now, so if we actually clicked, we'd create another line.
And we don't actually want to do that. If we'd left it at straight, it would just move the line with us any time we tried to drag out, so as you go over that anchor point, hold your mouse key down and drag out, and you'll see that it's giving us a handle. We want just a little bit of a curve on this line. And then escape out of that. Now we have our first cable, and we can use our mouse key to just put it right at the top of that top pillar. And then do COMMAND C, COMMAND V, and we can go over here to our properties and flip it, and just move it into place with he mouse and our arrow keys.
Now the last thing we want to do is insert shape, oval, now we're creating our pinpoint, and we want this to be 40 by 40. So again, if you're struggling to get quite to 40 by 40, you can always do it in the properties. Let's do COMMAND C, COMMAND V to make a duplicate of that, and we want the second one to be 30. Now, if you don't already know, there's a lock here. If I unlock this, then we'll end up with 30 width and 40 height.
But if I keep it locked and hit return, now I have a perfectly symmetrical 30 by 30 circle. In order to get them centered on each other, we're going to use our align tools here, so we're going to align horizontally, align vertically, and then the last thing we want to do is take this bottom circle, click edit, take our bottom anchor point here, pull it out into a straight point. Perfect. And now, we'll go ahead and subtract the inner circle out, and we have our map pinpoint.
All right, one last thing we need to do is to combine our shapes to create our bridge pillar. So let's go ahead and select our rectangles here, utilizing the mouse and the SHIFT key to make sure we select them all together, and then go ahead and select union. And now we have our bridge. Awesome, now we're ready to go.
In this course, discover how to create icons with Sketch. Renata Phillippi takes you through each stage of the process, explaining how to set up a file, create and combine shapes, add color and depth to your artwork, and finally, export your design. Upon wrapping up this course, you'll have created several simple icons, and have the knowledge you need to start bringing more of your design ideas to life.
- Conceiving the design
- Setting up the file
- Building initial shapes and outlines
- Adding color and shadows
- Manipulating type
- Preparing and exporting your icon for developers to integrate