Aug 13
Creating pins in Illustrator
2007 at 08.47 am posted by Veerle
Pins are popular these days, so I thought why not write a tutorial on how to create these in Adobe Illustrator. If you’ve ever wondered how to simulate this realistic looking pin or button effect, here’s your chance to learn.
Draw the pin shape

Draw a circle by choosing the Ellipse tool and holding down the shift key while dragging the mouse.
Fill with a gradient

To the left of the circle is my Geeky Dog that I want to use for the pin, but just for demonstration purpose we'll create an actual pin first and then at the end we'll wrap it with this illustration. Add a radial gradient fill to the circle. I've used orange yellow in my example here. Now change the position of the radial gradient by selecting the Gradient tool in the Toolbox and click-drag while holding down the shift key from the center bottom of the circle towards somewhere above the center point of the circle.
Draw the shiny highlight shape

Create a new layer by clicking the Add New Layer icon at the bottom of the Layers palette. Double click the new layer and give it the name 'shiny highlight'. Press 'd' on the keyboard to set white as fill color and black as stroke color. Set the stroke to no fill by clicking on the Stroke icon in the Toolbox or Color palette and selecting the 'None' fill option at the bottom of the Toolbox or Color palette (the white square with the red diagonal line). Select the Ellipse tool again and draw a circle (holding down the shift key) that is slightly smaller then the pin's circle. The circle should have a white fill now and no border. Deselect the circle and draw a wider ellipse (with a white fill) on top of this white circle a bit as shown in the image above. Select both the pin's circle and the white ellipse and circle. Click the vertical center alignment in the Option bar (or Align palette) to align everything nicely.

Deselect the pin's circle. Use the (black arrow) selection tool and click the gradient/pin's circle holding down the shift key. Now only the white ellipse and circle are selected. Click the Subtract from Shape area in the Pathfinder palette and click the Expand button.
Add the shiny highlight effect

Select the Rectangle shape tool in the Toolbox and draw a rectangle on top of the highlight shape. Make sure the rectangle covers the entire highlight shape. Fill the rectangle with the default white to black linear gradient enter -90° as angle value or use the Gradient tool again like you did for the radial gradient for the pin's background. Only now you need to move downwards with the mouse holding down the shift key. Now select both the gradient rectangle and the white highlight shape. Now selecting the highlight shape might be a bit tricky. You can make it yourself very easy by using the Layers palette's "Click to target's" option. I'm referring to the small circle buttons you see on the right of each layer. Click on the arrow to the left of the layer thumbnail of the 'shiny highlight' Layer to reveal all sub-layers. Now click the sub-layer that holds the white highlight shape, hold down the shift key and click the sub-layer that holds the gradient rectangle.

This gradient rectangle will be used as masking effect for our highlight. Now that we have both shapes selected, all we need to do is go to the Transparency palette and choose 'Make Opacity Mask' in the palette's dropdown menu.
Add the image on the pin

Select the gradient circle and copy the shape. Now select the image you want to put on the pin. Make sure the image is one group (command/control + g). To make it easy on yourself, make sure this image is in a separate layer on top of the gradient circle. Drag the image on top of the pin now. Make sure the pin is nicely covered and things are nicely centered etc. Now hit command/control + f (to paste the gradient circle on right on top). Give this circle no fill. Now click the target circle icon again in its layer to select the entire layer. Hit command/control + 7. This way the circle is used as a mask for the image. Hey, it looks like you have almost a pin now :) Almost yes, exactly, because we're not there yet. We need to make it perfect.
Add more depth to make it perfect

I think it could use a bit more depth. Create a new layer on top of the image but below the shiny highlight layer. Double click it and call it 'depth effect'. Paste the circle in front again by pressing command/control + f. Change the colors of the gradient fill to white and black as shown in the image and drag the gradient slider all the way to the right.

Change the Layer mode to Multiply to make the white transparent. Change the transparency to 20% or higher if you believe higher is better. This depends a bit on the color of the image. 'Et voilà', you have your pin :)
Gravatastic desktop illustration

Here are my Illustrator pins placed as Smart Objects in Photoshop. You can download this as a desktop if you like. For those who wonder how to create this pin in Photoshop, sit tight I'll tell you this in my next tutorial. Meanwhile I hope you all enjoyed this tutorial and have learned something fun and useful.
Want to learn more?
Layers magazine is the only magazine that covers the entire Adobe® Creative Suite and everything it has to offer. In addition to in-depth tutorials, each issue is packed with tips, Q&A, product reviews, industry news, and feature articles covering the gamut of digital photography, graphic design, Web authoring, motion graphics, and more.
33served
1
Nice technique! Like it! THNX!!!
2
Just when I needed it! Thank you!
3
Very interesting and nice final effect :) (huh, my first comment made after months of reading :D)
4
Boo ! Illustrator ! Boo !
(Can I have the same with Inkscape ? k thx bye) :)
Anyway, it is a VERY nice technique.
5
very cool tutorial
6
How about releasing the source file, i’d love to make a t-shirt with those badges.
7
One more great backgound!
As usual, simple and elegant. Just the way I like it!
8
Nice tutorial! I’ve always wondered how to create the sun burst effect behind the pins in the image above. Do you have a tutorial on that?
9
simple but useful tricks as always :)
Badges are cute, and the graphics inside the badges is great too.
i would like to know how u make those relief like effect on the text of the wallpaper and how to make it warp like that? :) Thanks.
10
great technique, can’t wait to try it with a picture in the background.
I must say the ‘V’ in the final image looks more like a ‘Y’ to me. must be the warping or something?
11
Hey Veerle… another amazing tutorial. For some reason I got a bit stuck in the section about Subtracting from the shape. I must have selected the circles in the wrong order or something.
Turned out nice in the end. I made a badge out of the logo for the NHS (who I work for). I want to print it now and buy one of those actual badge making kits that we used to get to play with in school. :)
12
I’m not very proficient in Illustrator yet and really enjoyed following your tutorial. I rebuilt a button I just recently made in “real life” for our film festival durchgedreht 24, here’s my result:
Thank you!
13
Nice! You have been great inspiration for me, thanks! (Now i have DeLurked)
14
Can’t wait for the Photoshop version!
@Deron: Veerle covers the sun burst technique in this article on transform again in Photoshop, there’s a companion article for Illustrator too if you search the archives.
15
@Stephanie: Thanks a lot! :-)
16
I can do it in photoshop but didn’t try it in Illustrator. Thanks for taking time to write this tutorial.
17
Nice tutorial Veerle. I will run Illustrator and do some pins asap.
18
Very cool, Veerle - thanks for posting this. I’m just trying to think of something cool to put on the button to try this out :)
19
New RSS suscriber here, came in through the “page curl” tutorial, though I remember happening across one or two other tutorials from here in the past. I love the blog, smart and fun tips and howto’s. Great work, and thanks.
20
Your tutorials are the best, thanks.
21
Thanks for the comments and for showing me the pins you’ve made. This is so cool :)
Erlend said:
I’m sorry my friend but I can’t, because what you are referring to is what I have in mind as well (but a bit different) :-/
Deron Sizemore said:
It’s indeed the Transform Again in Photoshop article where I explain this. Thanks Stephanie :)
jayhan said:
I created the text in Illustrator: typed the text, converted the text into outlines: Type > Create Outlines (or hit command/control + shift + o) and added a mesh to it: Object > Envelope Distort > Make with Mesh. I used 1 row and 2 columns. After that you need to drag the points to achieve the effect. I expanded the text (Object > Expand) so it becomes a path again and then I pasted it in Photoshop as a shape layer.
The relief is done pretty fast and easy. I duplicated the layer, moved the layer below the original one, I filled it with a lighter color and moved it 2 pixels downwards and 2 pixels to the right (using the arrow keys).
guy gerber said:
I’ve noticed this myself, it’s a’ V’ though not an ‘Y’. It’s a rather heavy typeface and I was looking for a more elegant one in the same style. If I had more time I would have tweaked this ‘V’ a little bit and I would have tried to make it look a bit lighter as well.
22
Amazing tutorial. Thank you for sharing it!
23
Nice :) could you tell me what typeface that is? Thanks :)
24
That is awesome. Thanks
25
This is very useful. Very inspirational in fact - gonna use it in my next work. Thanks again! :)
26
You know… you have a great blog here. These tutorials are quite interesting. Where do you find the time? You are obviously a mentor to many a young designer! Keep up the good work. Being at an interactive agency, I hear your name come up often. I admire you!
27
I want that black kitty pin....
28
Ben said:
The typeface is called Mohair, but unfortunately I didn’t find any link for you to buy this font :-\
29
Cool tutorial, I may open up Illustrator just to give this a try.
Thanks Veerle!
30
I really like Your work, Your Illustrator tutorial is great the “Gravatastic desktop illustration” looks fantastic! I will try to do it. Regards
31
Cool! Great tips here. How do you go about making the background for the Gravastatic image?
32
Love the result, thnx!
33
That is really awesome. Thanks for the great work I study graphic for more then a year but You really inspire me.