Create a 3D Shipping Package Box Icon in Illustrator

Preview

Preview

Step 1: Draw a 3D Box

Open up a new document in Illustrator. Set it up in the manner you prefer.

Select the Rectangle Tool (M) from the Tools Panel. Draw a square object on the artboard; hold down the Shift key to make a perfect square. Fill the square with gray.

Draw a 3D Box

Next, we will convert the gray box into a 3D shape. Make sure the box is selected (if not, use the Selection Tool) and then go to Effect > 3D > Extrude & Bevel. For the 3D Extrude & Bevel options, use the settings below.

Draw a 3D Box

With the shape still selected, go to Object > Expand Appearance. Now we have a simple 3D box shape.

Draw a 3D Box

Step 2: Draw the Box’s Flaps

Select the top side of the box with the Direct Selection Tool (A). With the top side selected, copy it (Cmd/Ctrl + C) and then paste it in front (Cmd/Ctrl + F).

Draw the Box's Flaps

We want to increase the size of the copied top side proportionally. In order to do that, we can apply an Offset Path (Object > Path > Offset Path) of 25pt. We will end up with two objects, the original top side (inner shape) and the 25pt path surrounding it (outer shape).

Draw the Box's Flaps

Now we want to subtract the inner shape from the outer shape. We will use the Pathfinder Panel (Shift + Cmd/Ctrl + F9) for this. Select the two objects and then click on the Exclude button in the Pathfinder Panel. This will cut out the inner shape.

Draw the Box's Flaps

Make 4 copies of the top side of the box again and then align them with each corner of the shape we just made.

Draw the Box's Flaps

Select all shapes and apply the Divide option in the Pathfinder Panel. Then with the Direct Selection Tool (A), delete all unnecessary objects. Make sure to delete the middle shape because we want to create a box that is open.

Draw the Box's Flaps

Step 3: Add Some Color

Since we are creating a cardboard box, we want to add some cardboard colors. Select each shape and add the colors of your liking. For the lighter sides of the box, I used #c19862 and for the darker shade, #6f431e.

Add Some Color

Step 4: Create an Edge for the Flaps

Select the flaps shape and make a copy of it underneath (Edit > Copy and then Edit > Paste in Back). Fill the duplicated shape with a darker brown (#6f431e).

Create an Edge for the Flaps

Step 5: Add the Inner Walls

Use the Pen Tool (P) to draw the inside walls of the box. Draw the paths below all the other objects to hide any awkward seams. Make sure that each shape has a different brown color so that we can distinguish each shape and make our shipping box look three-dimensional.

Add the Inner Walls

Since the box will have some shadows falling into it, we need to simulate that sort of lighting with some simple shapes.

Add the Inner Walls

Add the Inner Walls

Step 5: Correcting and Enhancing the Box’s Flaps

In a previous step, we made a copy of the flaps and placed it underneath to support the 3D shape of our box. However, the corners don’t look right. We need to fix that.

Correcting and Enhancing the Box's Flaps

With the Direct Selection Tool (A), select the corner anchor of the bottom flap and drag it inwards so that it’s vertically aligned. Repeat this with each corner where it’s necessary.

Correcting and Enhancing the Box's Flaps

On the front-facing parts of the flap edge, we need to add some rectangle shapes so we get the thickness of the cardboard. Simply makes some rectangle shapes (shown in red) with the Pen Tool (P) and fill them with a darker brown color.

Correcting and Enhancing the Box's Flaps

Step 6: Add Surface Highlights and Packing Tape

Let’s give our box surface a touch of detail. More specifically, we will give the left side a highlight that will help us keep our lighting consistent. Create a triangular shape and place it underneath the flap, and then fill it with a darker brown color.

We will tweak the transparency of the triangular shape using the Transparency Panel (Shift + Cmd/Ctrl + F10). In the Transparency Panel, set the Blending Mode to Multiply and reduce the Opacity to 30%.

Add Highlights and Packaging Tape

Shipping boxes will usually have tape on it to seal it up. Let’s make a simple packing tape detail that goes vertically down the front of the box. Add a rectangle as a tape strip to the front.

Add Highlights and Packaging Tape

Step 7: Create the Box’s Shadow

We will now cast a shadow on the floor. Use the Pen Tool (P) to create a rectangular path at the front of the box (below where we placed the packing tape). We will use the Gradient Panel (Cmd/Ctrl + F9) to fill the path with a linear black-to-transparent gradient angled in such a way as to match the perspective of the box. Notice that since our light source comes from the top left, the shadow is slightly bigger on the right.

Create the Box's Shadow

Step 8: Add Torn Packing Tape on the Flaps

Let’s reinforce the realism of our icon by having packing tape hanging off the flap to make it look like an opened box. Create a rectangular shape with the Pen Tool (P) that is aligned with the box’s flap on the left. Add some extra anchor points to the end so it looks like the tape is ripped off and dangling off the flap. Then fill the packing tape’s path with a beige color. Make sure that you placed the shape underneath the flap; you can move it down by pressing Cmd/Ctrl + [ if you drew it on top.

Add Torn Packing Tape on the Flaps

Step 9: Creating a "Fragile" Stamp

For an extra added bit of detail, let’s add a red stamp that says "Fragile." Often, you’ll see this in situations where the contents of a parcel are easily breakable, such as computer parts or dishware (e.g. porcelain plates).

We’ll create a stamp from scratch quickly and easily. I picked a font called Portago ITC TT. Any stenciled font should work well. All you want to do is use the Type Tool (T) to type out the text in all caps. Set the color to a red color.

Afterwards, just use the Rounded Rectangle Tool with a red stroke to draw a border around the "Fragile" text.

Creating a "Fragile" Stamp

Then create outlines for the text (Type > Create Outlines or Shift + Cmd/Ctrl + O), select the text and the rounded rectangle, and then group them together (Object > Group or Cmd/Ctrl + G).

Place the "Fragile" stamp on the side of the box. Match the perspective/angle of our box by using Effect > Distort & Transform > Free Distort.

Creating a "Fragile" Stamp

Step 10: Finishing Details

I thought the shipping box would look great on a beige background, so I just created a rectangle to serve as the background below the box and filled it with beige (#e4d0b5).

Finishing Details

Feel free to add more details to the box. For example, I added a barcode that was created using black vertical lines set on top of a beige rectangle (drawn with the Rectangle Tool). I used the same method (Effect > Distort & Transform > Free Distort) to match the angle and perspective of the box.

Creating a "Fragile" Stamp

Tutorial Summary

This tutorial involved producing a 3D shipping box icon in Illustrator. We used the 3D Extrude & Bevel effect to create the base shape. We used a nifty technique to draw the flaps using the Offset Path command. We detailed our box with things like packing tape, a red "Fragile" stamp, highlights and shadows.

Below, I grouped all the shapes of the box, duplicated the group, and scaled them down in a variety of popular icon sizes.

I hope you enjoyed this tutorial.

Download Source Files

Tags: conversion optimization, leads from website, website conversion optimization, website conversions, website leads

  • Very simple. Nice technique.

    When draw icon for smaller size, 16×16 or 32×32, in Illustrator, you just resize it? That’s all?

    In Photoshop, we need to check each pixel to keep it sharp. Should we do that in Illustrator?

  • of course not. Illustrator for vector grafics, Photoshop for rastr. grafics. Vector you can resize withuot lussing any quality that’s the point of vector

  • I know for sure Supratim, who does icons in Photoshop, creates the icons in various sizes instead of just resizing it (i.e. Image > Image Size). That’s what he had to do for his most recent icon pack release here on Design Instruct.

    I know that doesn’t directly answer your question, but I’m confirming that, yes, in Photoshop when you make icons, you should redraw icons for smaller sizes.

    In Illustrator, theoretically, you shouldn’t have to because it’s vector graphics. But, just like with Photoshop, when you get to smaller sizes, details get indistinguishable.

    So, I guess, my answer is that for finely-detailed icons, you should optimize it/redraw it for smaller sizes.

    But the sample sizes that Simona presented above was just for example, ideas, and visuals. I know it gets hairy at 16×16, but at 32×32, it still looks great and you can see the details like the red stamp and the packing tape and the drop shadow.

  • I tried a little experiment using Illustrator. I create a 9x9px box, place it on the center of a 10×10 canvas. When I render it as a transparent PNG, its edges are blurred, because they are antialised. You can see it here, http://dl.dropbox.com/u/7116487/icon-illustrator.png. Try to zoom it to maximum in Photoshop. This is the AI file, http://dl.dropbox.com/u/7116487/9×9-box.ai.

    I think the vector is okay, nothing’s wrong. But when we render it, we still need to make sure that all pixel is perfect, no 1/2 pixel or 3/4 pixel. I think, just like in Photoshop, in Illustrator we should zoom in and fix every pixel.

    I think there are many misconception about raster (Ps) and vector (Ai). Inside Illustrator, we are working with vector, we can resize it freely. But finally we need to render it to pixel. Icon (transparent PNG) is pixel, not vector anymore.

    Drawing icon in Photoshop and Illustrator, both will end up in pixel.

  • You can see two transparent box below.
    http://dl.dropbox.com/u/7116487/9×9-box-unaliashed.png
    http://dl.dropbox.com/u/7116487/icon-illustrator.png

    Try to open it in Photoshop and zoom it at maximum view. The first is sharp and the second is blurred. Both created in Illustrator. The canvas size is same, 10×10 px. You still loose quality if you don’t refine the pixel in right place.

    This a good tutorial, however I’d love too see more detail on working with small size icon (16×16 especially).

  • @Jeprie: I completely agree with you about the misconceptions. That’s why I said “theoretically” you shouldn’t have to, but that when you get to smaller sizes and have fine details on an icon, you should redraw it.

    And Photoshop (CS and up), though a raster, if you draw using shapes, layer style, and paths, when you scale it down, you’re effectively scaling it down like a vector graphic.

    So definitely a misconception there, at least when we’re talking about the latest versions of the software (because it didn’t used to be like that in older versions).

    Anyways, Jeprie, you *are* the master of detail. When I look at your pieces and your tutorials, it boggles my mind how you catch the smallest intricacies and nuances of the stuff you do; a hallmark of a natural artist.

  • …step Two – really good technique – very clever !

  • paulo

    Yeah! I was just writing the same thing. Step two, really good technique!

  • dengjiaqiang

    ?????????????????????

    Translated by Google Translate: “Foreign tutorial is really good! ! Thank you such a good tutorial!”