Illustrator Tutorial: How to make a Vector Glass Button

by Jay Hilgert
on February 13, 2007

If you are a regular BittBox reader, this is the post you’ve been waiting for! Not only will this tutorial help you make your own vector glass buttons, bars and who knows what else; it will help you to understand the structure of my free files a little better, and how to customize them easier. This tutorial covers how to create a basic vector glass style button in illustrator CS. Basic knowledge of Illustrator is required, but I tried to make it as strait-forward as possible.

Illustrator Vector Glass Button Tutorial 26

Make a new (blank) Illustrator file, name it, and save it to your desktop. Select the “Rounded Rectangle” tool.

Illustrator Vector Glass Button Tutorial

Click once on the artboard, without dragging, to bring up the Rounded Rectangle tool options dialogue box. From here you can set the exact width, height, and corner radius of your button.

Illustrator Vector Glass Button Tutorial 1

Click “OK” or hit enter to create your basic button shape.

Illustrator Vector Glass Button Tutorial 2

Next, apply a drop shadow, by going to the “Effect” menu and select > Stylize > Drop Shadow.

Illustrator Vector Glass Button Tutorial 3

Choose your drop shadow settings. Note: Click “Preview” to see the settings live.

Illustrator Vector Glass Button Tutorial 4

Now we have our basic button shape with a drop shadow.

Illustrator Vector Glass Button Tutorial 6

Select your fill and apply the default black-to-white gradient from your swatches palette. In the Gradient palette, with your fill selected, click on the left white box to select the left gradient color. Now in your color palette, use the sliders to change that left color to a gray, instead of white. (or you can enter the values in the text fields, but they all need to be the same value to be a gray in RGB. i.e. 210, 210, 210, or 190, 190, 190. Also, in the gradient palette, change the angle to 90.

Illustrator Vector Glass Button Tutorial 7

Next, open your Illustrator “Preferences > General” and make sure your keyboard (Nudge) increment is set to 1 px (1 pixel).

Illustrator Vector Glass Button Tutorial 8
Illustrator Vector Glass Button Tutorial 9

Now, using the Select Tool (black arrow), select your button shape, and copy and paste it. Then you need to get rid of the effects that it copied, so in the Appearance palette, drag the drop shadow of the newly pasted shape to the trash. Also, fill the newly pasted shape with white.

Illustrator Vector Glass Button Tutorial 27

Use the Direct select tool (white arrow) to make your 2nd shape smaller than your original by selecting the points and moving them with your keyboard arrows. (Nudging) I usually do this in 3 steps as follows:

Illustrator Vector Glass Button Tutorial 10
Illustrator Vector Glass Button Tutorial 11
Illustrator Vector Glass Button Tutorial 12

Now use the Delete Point tool and get rid of the bottom 2 points in your 2nd shape.

Illustrator Vector Glass Button Tutorial 16

Use the Convert Anchor Point tool to get rid of the curves on the bottom 2 remaining points. Then select those same 2 points and Nudge them up 4 pixels.

Illustrator Vector Glass Button Tutorial 17

Your second shape should now look like this:

Illustrator Vector Glass Button Tutorial 29

Select both shapes like this:

Illustrator Vector Glass Button Tutorial 14

We are going to align these shapes together, but first make sure your align palette is not set to align to the artboard.

Illustrator Vector Glass Button Tutorial 28

Align your 2 shapes to each other horizontally and vertically by hitting these 2 buttons in the Align palette. (doesn’t matter what order)

Illustrator Vector Glass Button Tutorial 15

Now both shapes should be aligned like below. Select the original shape and lock it’s position by hitting “Command + 2″ Mac, or “Ctrl + 2″ PC.

Illustrator Vector Glass Button Tutorial 21

Use the Rectangle tool to make a rectangle that completely covers your second shape. (the reflection shape)

Illustrator Vector Glass Button Tutorial 22
Illustrator Vector Glass Button Tutorial 23

Fill that shape with the default white-to-black gradient with an angle of -90

Illustrator Vector Glass Button Tutorial 24

Select the top rectangle with the gradient and the reflection shape at the same time. Once selected, in the Transparency palette, click on the little arrow in the upper right. Select “Make Opacity Mask.” This creates a mask out of the top shape. White being visible, and black being invisible. Play around with the color values of your gradient to get your desired effect. It works kind of like a clipping mask, but you have to apply it through the transparency palette. There is no right click for this.

Illustrator Vector Glass Button Tutorial 25

And presto! A glassy – completely vector image using only 3 shapes in illustrator. You can play with transparencies and all kinds of other options. I’m not going to give away ALL of my secrets, but I think this is a pretty generous post none-the-less. NOW! Go out there and make the UglyNet a little easier on the ol’ eye-socket, will ya?

Illustrator Vector Glass Button Tutorial 26

Download the file I used for this tutorial:

Download

Includes: – AI (1) EPS (1) SVG (1) PNG (1)

About Jay Hilgert

Formally trained at Oklahoma State, Jay Hilgert is a graphic and web designer, font designer (Link), software developer (Brush Pilotâ„¢), and the founder of BittBox.

Top