It’s been a while since I last did a tutorial here in Graphic Design Free Resources. Few weeks ago while doing a short piece about Apple’s iPhone on my technology and gadget blog. I was looking for a clean generic iPhone mock-up to superimpose different screen displays but couldn’t find one. I ended up using something else. So I thought about creating my own iPhone mockup and feature its tutorial here as well.
This tutorial requires intermediate level skill in Adobe Illustrator. You should already have working knowledge of paths using Pen Tool, creating and manipulating shapes using Pathfinder, gradients, symbols, swatches, and the Mesh Tool. Sorry for newbie Illustrator users. But even if you don’t know much about Illustrator, this tutorial will at least give you an idea how this is done. I’ve seen some basic vector Illustrator tutorial like this around (I saw one from vector tutsplus) but the result is not very impressive, but still gets the job done.
Let’s get it on. Before we get started, let’s take a look at the final image we’ll be creating.
Step 1: The basic frame.
Let’s create the outer frame using the Rounded Rectangle tool. I initially created three rounded rectangles 2mm apart on both sides and 2 points difference on rounded corners. Outer rectangle is 60mm x 113mm 25pt rounded corner, next one is 58mm x 111mm 23pt, third and inner one is 56mm x 109mm 21pt. You can have your own dimensions as long as the proportions are similar to what I’ve done.
Next we need to create a compound path by subtracting the middle panel from the outer one. Select the two rectangles and use the “Minus Front” button from the Pathfinder palette.
Now we need to extract/separate the top and bottom part of the compound path we created. We need to do this to create our chrome shine effect. Create another rectangle similar to the one in the image below (the red one). Using the Pathfinder tool again, separate the top and bottom from the sides of the compound path using the “Divide” button.
You will have a similarly shaped top portion of the frame below.
Now we create mesh gradient as indicated below using the Mesh Tool. You can also use other methods in creating a chrome-like gradient like the blend tool but I prefer the Mesh Tool as you can have more control over your gradient to create a more realistic effect.
For convenience, you can also create a set of swatches ahead which you can just select as needed. For this project, I made a bunch of gray swatches from light to black. For the mesh gradient, you may apply colors on the gradient nodes as indicated in the images above.
Step 2: Buttons, switches and symbols
After we’re done with the chrome frame, let’s move on with the other details of our iPhone. Draw the side controls and the top sleep/wake button using the Pen Tool and apply gray color similar to the adjacent chrome frame. You can use gradient or flat color. I use a subtle gradient as I don’t want to make these buttons too shiny.
Next we create the home button with the shape tool using circles and rectangular oval shapes. The crescent shaped gradation was created using a copy of the outer circle subtracted with a larger circle. Apply the home button colors as indicated in the image below.
Here’s how our home button looks like.
I make it a habit to convert most nitty-gritty elements of my projects to symbols, especially if you see plenty of usage for some elements in your document. Converting to symbols and using them will dramatically reduce file size. So I converted my home button and other iPhone icons like the battery level, signal strength, and lock icon to Illustrator symbols. Again I will not elaborate anymore how to create these icons as they are normally created using various path creation tools available in Illustrator.
To convert to symbols, simply select the graphic element you wish to convert and click the new button from the Symbols palette, and you will be prompted with Symbol Options. Type a name for your symbol, select Graphic and click ok. Your symbol is now added in the symbols palette.
Step 3: Creating the face/front panel
We need to create three elements for the front panel. Let’s create the first two, the inner black strip and the inner panel. The third one is the display window.
You create the inner black strip the same way we created the outer frame. Two rectangular oval shapes joined to create a compound path using Pathfinder tools.
The inner panel’s gradient is illustrated in the image below. Gradient is angled at 45 degrees, with two inner black colors positioned near halfway at 45 and 55. Both sides fade to 80% black.
Part of the front panel is the iPhone speaker. You may do a simpler one since its relatively small, but I like to do everything in good details.
Create 3 rectangular ovals similar to the figure below.
The first and the third oval are measured 11.3mm x 2.5mm with 1.5mm round corners and 9.8mm x 1.2mm with 0.8mm round corners respectively. The middle one need not be measured accurately as long as it covers the third oval. The middle one will be meshed speaker part.
As usual, combine 1st and 3rd oval by subtracting the inner from the outer. While the compound path is selected, select “Flatten Transparency” from the Object Menu to convert the compound path to a whole and flatten shape. Make sure the compound path solid filled and doesn’t have an outline. Please refer to the image on settings applied using this tool.
Now we need to divide the thick oval shape to apply shading and reflection. Create a similar path as illustrated in the image below. Make sure you create a mirror copy of the cutting path then position it symmetrically on the lower right part below. While the cutting path and the oval shape are selected, apply the “Pathfinder Divide” tool. Do the same with the cutting path below.
Select the oval shape, right click and select ungroup to separate the divided shapes. When outlined, you will have a similar shape like the one below.
Now let’s fill up those speaker shapes. The top part of the oval we divided will be solid black. The lower part will be filled with gradient from gray to white angled at 45 degrees with similar positions indicated in the image below. To fill the middle part or the speaker mesh with the dotted pattern, we need to create a pattern similar to the one shown below. Then drag that pattern to the “Swatches Palette” to create a pattern swatch. Then apply that pattern to the middle part to create a speaker mesh look.
Step 4: Display window
Now this is getting long. I hope I’m not getting you bored. Don’t worry, we’re almost there. Let’s create the front display window by creating another rectangular shape object. Create a rectangle measuring 148px by 220px with slightly rounded corners of around 2 pixels. Create another rectangle this time measuring 144px by 216px but this time no rounded corners. Subtract the inner from the outer. Fill it up with 80 to 90% black.
Let’s fill our screen display with some wallpaper. I don’t want to make this tutorial the longest vector tutorial ever, so I’m cutting it short by just grabbing an image from our previous Photoshop tutorial, Creating a Cool Fabric Background Using Reflected Gradient Tool.
Position the image exactly in the middle or you may use a “Clipping Mask” to the exact boundaries of your image by creating or copying the inner rectangle and placing it on top of the image. While both the image and the clipping shape are selected, right click and select “Make Clipping Mask” to clip the wallpaper image. I have slightly lowered the transparency to 75% to give our wallpaper the right blend on the display panel.
Now we will place all the icons from the symbols palette and some text on our display. But before we do that, let us create two rectangular bars as placeholders for our icons and time/date display. The following are measured 144px by 9px and 144px by 43px. The top bar is filled with 80% black while the bottom one is filled with gradient fill of various gradient points.
Gradient settings for the bigger bar below are illustrated in the image below.
Place these bars on top of the display as shown in the image below. Set the top bar transparency blending mode to “Multiply”. Set the bottom bar blending mode also to “Multiply” but give it 80% transparency.
Now we are ready to place all icons and text on our display. Icons and text are filled with 30% black. Also place a copy of the time/date gradient bar at the bottom part of the display area (this should hold the “slide to unlock” button which I’m sure you’ll be able to create once you fully understood everything in this tutorial). See our almost done image below.
One final piece before we do the last step is the reflective triangular part on top of the iPhone to add some highlight to our piece. Draw a triangular shaped object similar to the one shown below, fill it with white and set transparency to 10%.
Step 5: Mirror reflection
Finally, our iPhone piece is done. Let’s do a quick one for mirror reflection. Before we do that, let’s add some shadow below our iPhone by creating two shapes, inner one is dark gray (or black) and outer part is white. Select both objects, go to Objects > Blend > Make. Presto, we have our shadow.
Create a mirror copy of the iPhone and place it underneath. The Mirror Tool is located right below the Rotation Tool in the Tools palette.
Now create a rectangle enough to cover the mirrored image. Fill it with gradient similar to the one in the image below.
The magic trick to make the reflection appear is done by using the “Make Opacity” option inside the Transparency Palette.
While the mask and our mirrored image are selected, click the “Make Opacity” option. Make sure the “New Opacity Masks are Clipping” and “New Opacity Masks are Inverted” are both checked.
Lastly, add some blur to the reflection by applying “Gaussian Blur” from the Effect Menu, and set blur effect radius at 5.0. Then set the reflection image transparency to 50%. DONE!!! I hate doing tutorials. =). Let’s go back to doing more freebie downloads next time, ok?
Once again… the final image of our very own vector iPhone.
Vector source file download link:
GDFR Vector iPhone vector source files (Illustrator ai, EPS and PDF) – 9.47MB
Alternate download link:
GDFR Vector iPhone vector source files (Illustrator ai, EPS and PDF) – 9.47MB