Quick Tip: How to Create a Simple Web Button Set Using the Appearance Panel
basix

Quick Tip: How to Create a Simple Web Button Set Using the Appearance Panel

Tutorial Details
  • Program: Adobe Illustrator CS5
  • Difficulty: Beginner
  • Estimated Completion Time: 30 minutes

Final Product What You'll Be Creating

In the following tutorial you will learn how to create your own web buttons set. First, using the Rectangle Tool along with some Pathfinder and Offset options plus a Rounded Corners effect you will create the three starting shapes. Next, a linear gradient plus some Film Grain and Drop Shadow effects will complete the overall button. Finally, some text and a new Drop Shadow effect will help you finish the work. Let’s get started!


Step 1

Pick the Rectangle Tool (M) and click on your artboard. Enter 93 in the width box and 32 in the height box then click OK. This will create a 93 by 32px shape. Fill it with R=0 G=182 B=241 then go to Effect > Stylize > Rounded Corners. Enter a 17px radius then click OK.

Now, your shape should look like the following image. Select it and hit Control + C then hit Control + F. This will add a copy in front. Have a quick look in your Layers panel (Window > Layers) and make sure that you have the two shapes created so far.


Step 2

Select the copy made in the previous step and go to Object > Expand Appearance. Select the resulting shape and go to Object > Path > Offset Path. Enter a -1px Offset then click OK. Fill the resulting shape with white then reselect the expanded, blue shape and delete it.


Step 3

Go to Edit > Preferences > General and enter 0.5 in the Keyboard Increment box. Reselect the white shape and make a copy in front (Control + C > Control + F). Select this fresh copy and hit the down arrow once (to move it 0.5px down). Reselect both shapes and click on the Minus Front button from the Pathfinder panel. The resulting shape should look like the third image below.


Step 4

Return to the blue shape. First, replace the flat blue with the linear gradient shown below then add a 1pt stroke. Align it to inside, set its color at R=0 G=149 B=218 then make sure that the Rounded Corners effect is in the top of the Appearance panel as shown in the following image.


Step 5

Reselect the rounded rectangle and go to the Appearance panel. Open the fly-out menu and click on Add New Fill. Obviously, this will add a second fill for your shape. Select it from the Appearance panel and make it black then lower its opacity to 2% and go to Effect > Artistic > Film Grain. Enter the data shown below then click OK.


Step 6

Add a third fill for your rounded rectangle. Select it from the Appearance panel, lower its opacity to 10% then use the linear gradient shown in the following image. The yellow numbers from the gradient image stand for opacity percentage while the white numbers stand for location percentage. This means that you have to select each gradient slider and set the location/opacity percentage as shown below. Pay extra attention to the middle section of the gradient . You should have two overlapping sliders. One has the opacity set at 0% and the location at 50% while the other one has the opacity set at 100% and the location at 50%.


Step 7

Reselect the rounded rectangle and go to the Appearance panel. Select the bottom fill (the one with the linear gradient) and go to Effect > Stylize > Drop Shadow. Enter the data shown below then click OK.


Step 8

Finally, add some white text. Use the Calibri font with a size of 15px then go to Effect > Stylize > Drop Shadow. Enter the data shown below then click OK. For the pressed version of the button you can set the style at Bold and the tracking set at 50. It should look like the second image below.


Step 9

Some of you might not like the pixilated look of the drop shadow effect. Here is how you can improve it. Go to Effect > Document Raster Effect Settings. By default your resolutions should be set at 72 ppi. Set it at a higher value and click OK. Choose 300ppi and your button will look smooth like the following image.


Step 10

Here are some other colors that you can use for your button. In the following image you can find the color properties that you must replace. The linear gradient is for the rounded rectangle while the flat color is for the stroke and the drop shadow effect applied to the text. Naturally, you can add your own set of colors. There are countless possibilities.


Step 11

Finally, here is how you can create that patterned background from the final image. Pick the Rectangle Tool (M), create a shape the size of your artborad and fill it with R=241 G=242 B=242. Make sure that this new shape is selected, go to the Appearance panel and add a second fill. You will need a build-in pattern for this new fill. You can find it through the fly-out menu of the Swatches Panel. Simply go to Open Swatch Library > Patterns > Basic Graphics > Basic Graphics_Textures and a new window with a bunch of nice pattern will open.

Look for the "Diamond" pattern (first row, column ten). Reselect that second fill, add the Diamond pattern, lower its opacity to 7% and go to Effect > Artistic > Film Grain. Enter the data shown in the final image and click OK.


Step 12

Reselect the shape created in the previous step and add a third fill. Select it from the Appearance panel, change its blending mode to Multiply and use the radial gradient shown below.


Conclusion

Now your buttons set is done. Here is how it should look. I hope you’ve enjoyed this tut.

Andrei Marius is VforVectors on Graphicriver
  • Morgan Bailey

    The font you’re using for the RGB values is sometimes hard to read, especially in smaller images. I don’t think the bevel and outline is functional in such small sizes. There, I said it.

  • http://gautch.com Josh

    This looks good! Though you can actually do this with JUST a text line. Making it even easier to edit.
    See here: http://gautch.wordpress.com/2007/07/19/convert-to-shape-tutorial-and-freebie/

  • http://vforvectors.com/ Andrei Marius
    Author

    Hi Morgan,
    You’re right. Especially in this case.
    The original images were 700px wide. I was planning to publish this tutorial on my own website.
    Kate liked it more that I expected and she accepted as a quick tip.
    Sometimes I’m a bit lazy, so I simply resized the images. The overall image quality seemed ok to me.
    I took a closer look at the numbers and I understand your complain.
    Have a look at my previous quick tip and you’ll notice the difference. However, there are still some numbers that you might find hard to read. I must admit that I had some doubts about this font, but I thought that it’s only in my head.
    I will definitely change it. Unfortunately, you will have to stand it for a few more tutorials. Sorry.
    Thanks for your comment and let me know if you have any questions regarding the tutorial.
    All the best,
    Andrei Marius | VforVectors

    • Morgan Bailey

      No sweat. I always wanted to learn Illustrator (old Corel user) but never found anything helpful on the net. Your quality, detailed tutorials finally did it for me, so I can certainly put up with a little more squinting :)

  • an70nio

    Thanks for this tutorial.

    Images of steps 3 and 4 are not seen, can you arrange it?

  • http://creativeduck.blogspot.com Mikey

    Love the appearance panel!

    But I make web buttons in reverse to this, start with text, add new fill, convert to shape etc etc :)

    This way you can edit the text and the button expands/contracts with the text.

  • http://lucasmoral.es Lucas

    I can’t make the 0.5px adjustment on the firs steps …
    I do it in the pannel, but it keeps as 1px when I try to adjust something :/

    • http://vforvectors.com/ Andrei Marius
      Author

      Go to View and make sure that the Snap to Grid is disabled or go to Window > Transform and uncheck the Align to Pixel Grid box.

  • Harry Young

    Yea, I got lost on steps 3 and 4. There was no expanded image to delete. Oh well, onward we go. Thanks anyway.

  • Dwight

    I recolored the button using Edit > Edit Colors > Recolor Artwork. In the dialogue box click on Edit to bring-up the color wheel and click on the small icon on the far right and lock the color harmonies and then move around the wheel. The way you did a type of “glass” look could be used in other illustrations.

    • opik074

      Great!! this so much more simple

  • http://sd cholthi

    i have always wished to learn illustrator but unfortunately it requires me to get familiar first with illustrator terms and their locations which is a bit hard to me.please help1!.

  • http://www.amberddesign.com graphic design la

    great tut. thanks for sharing.

  • http://www.tabletsquare.com/ Krishna Kiran

    Its a good tutorial, quite easy buddy… But I have a small request as a beginner.. Can you mention this process in Photoshop or GIMP.. its lot more easier there… BTW your simple style of texting is impressive!

  • Bree

    I thought at first it might have just been me, now I realize I am not the only one who had a difficult time with more than one of the steps. If it wasn’t for the fact that I knew some basic Illustrator effects I would not have been able to finish the tutorial. Also, this tutorial does not seem to be Mac friendly.

  • http://www.edvisual.com EDVISUAL.COM

    You have a great voice tutorial here: http://www.youtube.com/watch?v=cz22W7BL81I&hd=1

  • THE MAN

    GREAT JOB!

    THANKS ALOT FOR GREAT EFFORT YOU PUT ON THIS TUTORIAL