In this tutorial, you will learn how to create a vector iPhone 12 template in Adobe Illustrator with various tools, such as 3D effects, Gradients, and Gradient Mesh! We will also be using the Pathfinder panel and playing around with some Transparency settings to get a sleek and realistic result.
Check out Envato Elements if you'd like to skip this tutorial and use similar, ready-to-go iPhone mockups in your work! Alternatively, head on over to Placeit to use mockups which don't require any software and can be created in your browser with the iPhone mockup generator.
What You'll Learn in This iPhone Mockup Tutorial
- How to apply 3D effects in Illustrator
- How to use the Pathfinder panel
- How to use Linear and Radial Gradients in Illustrator
- How to apply a Gradient to Strokes
- How to use Gradient Mesh in Illustrator
1. How to Draw the Frame
Begin by creating a rounded rectangle with the Rounded Rectangle Tool. You can use my measurements below or choose your own!
- Width: 258 px
- Height: 530 px
- Corner Radius: 40 px
Next, select the rectangle and continue to Effect > 3D > Extrude and Bevel. Select a Depth of 25 pt and these rotation angles:
- Perspective: 40°
You can also play around with the angles to rotate the frame differently! After you're happy with the result, select the element and go to Object > Expand Appearance.
Ungroup the object until you are able to individually select each part of the frame. Next, select the three elements that make up the left side, open the Pathfinder panel and click Unite, fusing them all into one path.
Use Object > Path > Simplify to "clean up" the path a little, inputting 100% for Curve Precision.
Use a Linear Gradient to emulate the metallic shine of the frame of our iPhone mockup. Use a -74° angle and these colors, aligned according to the screenshot below (in order from left to right):
Next, select the side we just colored and the "screen" of our iPhone mockup and drag both elements away. You can delete any of the leftover parts—we will not be using them in this tutorial.
Select the screen and color it black. Create a copy of it and remove the copy's fill color, instead leaving it with a 3 pt wide Stroke. Apply this Linear Gradient to the Stroke:
Create a copy of the last element we made and change its Gradient, this time using these colors:
Change the last element's Transparency Mode to Multiply.
Place both of the strokes back on top of our frame to complete the look!
2. How to Create the Screen
Let's add a colorful screen to our iPhone mockup! Begin by drawing a rounded rectangle with the Rounded Rectangle Tool, just as we did in Step 1 of the previous section. This time, the size will be a bit smaller—use these measurements:
- Width: 245 px
- Height: 513 px
- Corner Radius: 36 px
Add a much smaller rounded square with the same tool:
- Width: 70 px
- Height: 70 px
- Corner Radius: 8 px
Place the square on the upper edge of the rectangle, as shown below. Next, select both elements and use Minus Front in the Pathfinder panel.
Fill the object with a placeholder color, like blue.
Let's "rotate" our screen just like we did with the frame in the previous section, using Effect > 3D > Extrude and Bevel. Use these values with a 0 pt Depth:
- Perspective: 42°
After using the 3D effect, go to Object > Expand Appearance, and then Ungroup the element until you can no longer see the option to do it.
Next, apply a Radial Gradient to change the color of the screen, using these colors:
Place the screen onto the iPhone template!
Let's add a highlight to showcase the reflectiveness of the screen. Draw a rectangle with the Rectangle Tool (M) and fill it with a Linear Gradient just like the one shown below. Use
#BEBFC2 for the gray and
#EEEFF0 for the off-white color.
Create a copy of the black screen we've been using as a backdrop to our colorful one and place the highlight on top of it. Select both items and use the Intersect function in the Pathfinder panel.
Change the element's Opacity to 40% and its Transparency mode to Screen, and then place it on top of our iPhone mockup vector.
3. How to Add More Details
Our iPhone mockup vector is almost done—we just need to add a couple more details, like the buttons, the receiver, and the camera.
Let's begin with the buttons! Create a grey rounded rectangle, using the dimensions below:
- Width: 7.5 px
- Height: 23.5 px
- Corner Radius: 36 px
Use Effect > 3D > Extrude and Bevel with these values and a 4 pt Depth:
- Perspective: 42°
Next, Expand Appearance of the result. Ungroup the object until you can see all of the individual elements, and then select the parts that make up the right side of the button and use Unite in the Pathfinder panel.
Color the left side of the button with a black to white Linear Gradient.
Color the right side with a gradient that's a little more complicated. Use these colors in order:
Use the Object > Transform > Scale function to create a slightly smaller button. Input a value of 70%, and click Copy.
Place the buttons on the side of the iPhone template, as shown below.
Create yet another rounded rectangle—this time for the receiver. Use the values below:
- Width: 35 px
- Height: 7 px
- Corner Radius: 4 px
Rotate the rectangle with Effect > 3D > Extrude and Bevel, using a 0 pt Depth:
- Perspective: 0°
Color the object with a Linear Gradient from black to white and lower its Opacity to 80%.
Create a 90 px by 90 px circle using the Ellipse Tool (L).
Use Effect > 3D > Extrude and Bevel for one last rotation with these settings:
- Perspective: 40°
Expand Appearance of the object.
Using the Mesh Tool (U), try to recreate the Mesh Grid below, and then color the selected nodes with the corresponding colors:
Place both the receiver and the camera in the designated area on the iPhone mockup vector. Make sure the highlight still stays on top!
We're missing just one thing: the shadow! Let's create it with Gradient Mesh.
Begin with a white rectangle, and then reshape it with the Mesh Tool as shown below. Color the middle nodes with
#939393, and then add some
#DCDCDC nodes on the left side.
Change the object's Transparency mode to Multiply.
Finally, place the shadow behind the iPhone template!
Awesome Work, You're Now Done!
Today we created a photo-realistic vector iPhone mockup in Adobe Illustrator. Hopefully, you learned something new about Adobe Illustrator's functions and will be able to use those in your future work—but even if not, at least you've been left with a fully editable and scalable template you can use in your designs. Just swap out the colorful background for whatever you want!
I hope you enjoyed the tutorial, and I would be super happy to see any results in the comments below!
iPhone 12 Mockup (PSD)
This presentation contains five PSD files, providing you with 6k templates in all official colors! The mockup files are highly detailed and easily customizable due to the inclusion of the Smart Object feature.
iPhone 12 Pro Mockup (PSD, PDF)
This advanced, easy-to-edit pack of mockups contains everything you need for your project, and it looks great on both light and dark backgrounds.
iPhone 12 PSD Mockup (PSD)
Looking for landscape displays? Then this pack of high-resolution PSD mockups is perfect for you, offering multiple templates with well-organized layers.
iPhone 12 Pro Max Mockup (PSD)
Create an elegant presentation for your designs with this fully customizable collection of mockups. It includes smart-objects and masks, allowing you to easily showcase your own design.
Check out this concept iPhone template, which boasts an impressive resolution of 5k and includes a realistic, removable shadow!
Check out some other tutorials of mine!
- VectorHow to Create a Vector Medical Face Mask Mockup in Adobe IllustratorVladimir Galantsev
- Gradient Mesh ToolHow to Create a Vector T-Shirt Mockup Template in Adobe IllustratorVladimir Galantsev
- DeconstructionHow to Create a Christmas Winter Background Design With Mesh in Adobe IllustratorVladimir Galantsev
- Gradient Mesh ToolHow to Create a Holiday Retro Background With Champagne Glasses Design in IllustratorVladimir Galantsev
Subscribe below and we’ll send you a weekly email summary of all new Design & Illustration tutorials. Never miss out on learning about the next big thing.Update me weekly
Envato Tuts+ tutorials are translated into other languages by our community members—you can be involved too!Translate this post