Intuitive Tools for Digital Artists

How to Create Web Interface Sliders Using Adobe Illustrator

How to Create Web User Sliders Using Adobe Illustrator

This tutorial is the next in the exclusive series covering the topic of user interface design in vector.

Today we will learn how to create a web interface slider which will represent a fully dynamic interface element. In other words, you will be able to change its appearance in a few seconds resulting in new design variation. Yes — today we will create a slider-transformer, with the help of Illustrator’s Appearance panel and the VectorScribe plugin

Step 1

Start creating a pixel background. These backgrounds provide with a good texture for interfaces. In order for the objects to be accurately placed in the pixel grid, go to the Pixel Preview mode (View > Pixel Preview) and zoom in the artboard, so that the pixel grid is visible and its cells are large enough.

How to Create Web User Sliders Using Adobe Illustrator

Turn on Snap to Pixel mode (View > Snap to Pixel), take the Rectangle Tool (M) and create two squares 2 by 2 px in size, so that they are exactly located in the cell of the pixel grid.

How to Create Web User Sliders Using Adobe Illustrator

Now create two more squares and fill them with a lighter shade of gray color.

How to Create Web User Sliders Using Adobe Illustrator

Step 2

Select all the squares and go to Edit > Define Pattern… and save a new pattern in the Swatches panel.

How to Create Web User Sliders Using Adobe Illustrator

Create a rectangle whose size corresponds with the size of the background, and apply the created pattern.

How to Create Web User Sliders Using Adobe Illustrator

Step 3

Proceed to the creation of a slider. The shape of a slider is a Rounded Rectangle. There are several ways to create an object of this shape. Let’s take a look at the advantages and disadvantages of each of them.

We can create a Rounded Rectangle with the help of the Round Rectangle Tool. We can control the rounding corner radius in the process of its creation using the arrow keys.

How to Create Web User Sliders Using Adobe Illustrator

We can also enter the necessary parameters in the dialog window of the tool by clicking on the artboard.

How to Create Web User Sliders Using Adobe Illustrator

However, after the creation of the shape you won’t be able to control the rounding radius. This means that if you change the size of the Round Rectangle, the rounding will get distorted.

How to Create Web User Sliders Using Adobe Illustrator

I do not think this is the best way to create these shapes.

We can round the corners of a rectangle with the help of the Round Corners effect (Effect > Stylize > Round Corners…)

How to Create Web User Sliders Using Adobe Illustrator

In this case, you can always change the rounding radius by opening a dialog window of the effect in the Appearance panel.

How to Create Web User Sliders Using Adobe Illustrator

Changing the sizes of the shape does not distort the rounding.

How to Create Web User Sliders Using Adobe Illustrator

This is a fairly easy method as you can quickly edit the shape and create complex graphic styles that contain Round Corners effect. The disadvantages of this method are the inability to apply different rounding radii to different corners and the fact that in the case with complex shapes the effect does not just round the corners but distorts its shape.

How to Create Web User Sliders Using Adobe Illustrator

A more flexible tool for creating shapes with rounded corners is the Dynamic Shapes Tool, part of theVectorScribe Studio plugin. When applying this tool you have the ability to control all the parameters of the shape from the panel.

Note: if you attempt to apply the Align to Pixel Grid tick option found in the Transform panel on dynamic shape and corner elements, the dynamic nature will be lost. Therefore it’s best to avoid for these object types.

How to Create Web User Sliders Using Adobe Illustrator

In addition, you can control the rounding radius by dragging the corner points.

How to Create Web User Sliders Using Adobe Illustrator

If you need to use different rounding radii to different corners, then use the Dynamic Corners Tool, again part of the VectorScribe Studio plugin.

How to Create Web User Sliders Using Adobe Illustrator

To create a Round Rectangle I used the Dynamic Shapes Tool.

How to Create Web User Sliders Using Adobe Illustrator

Fill the shape with dark gray color.

How to Create Web User Sliders Using Adobe Illustrator

Step 4

To create light and shadow, we will be using the Appearance panel (Window > Appearance). Duplicate the fill, and fill the bottom one with another shade of gray.

How to Create Web User Sliders Using Adobe Illustrator

Now, keeping the object and fill selected, go to Effect > Transform & Distort > Transform… and set the vertical offset value.

How to Create Web User Sliders Using Adobe Illustrator

Set the Screen Blending mode in the Appearance panel for this fill.

How to Create Web User Sliders Using Adobe Illustrator

Step 5

Add a new fill in the Appearance panel. Apply a linear gradient that includes white and gray colors, and set the Multiply Blending mode .

How to Create Web User Sliders Using Adobe Illustrator

Set a black stroke for the object.

How to Create Web User Sliders Using Adobe Illustrator

Now, the object looks like this…

How to Create Web User Sliders Using Adobe Illustrator

Step 6

Create another Rounded Rectangle with a black fill with the help of the Dynamic Shapes Tool.

How to Create Web User Sliders Using Adobe Illustrator

Using the Appearance panel’s live effect technique, transform the shape to the one shown in the picture below.

How to Create Web User Sliders Using Adobe Illustrator

Create the active part of the slider also with the help of the Appearance panel. All the applied fills are shown in the picture below.

How to Create Web User Sliders Using Adobe Illustrator

How to Create Web User Sliders Using Adobe Illustrator

I created a new pattern for the bottom fill, which is exactly the same as the one created in the first step, except for that two of its squares have lighter fill.

Step 7

Proceed to the creation of the slider’s handle. Its fill should represent a conic gradient. You can read detailed instructions on how to create such fill by clicking on the following link.

How to Create Web User Sliders Using Adobe Illustrator

Let’s create the shape of the handle with the help of the Dynamic Shapes Tool. This will allow us to quickly change the shape by making sliders of different types.

How to Create Web User Sliders Using Adobe Illustrator

Step 8

Select the object and the dynamic shape with a conic fill, then go to Object > Clipping Mask > Make (Cmd / Ctrl + 7)

How to Create Web User Sliders Using Adobe Illustrator

As a result, we have a Clipping Mask which represents a dynamic object. Now, any changes in the Dynamic Shapes panel will immediately change the shape of the slider’s handle.

How to Create Web User Sliders Using Adobe Illustrator

Step 9

Create the drop shadow from the handle using an ellipse which is filled with an elliptical gradient from gray to white color. Apply the Multiply Blending mode to the ellipse.

How to Create Web User Sliders Using Adobe Illustrator

Readjusting the dynamic shapes of the slider’s handles and changing the gradient fill of the active part of the slider in the Appearance panel, I quickly got these collection of sliders.

How to Create Web User Sliders Using Adobe Illustrator

Download the dynamic user interface original artwork

Click here for the Illustrator CS3/CS4 version…

Click here for the Illustrator CS5 version…


About the author

My name is Iaroslav Lazunov, I am a graphic designer from Zhytomyr, Ukraine. I am glad that I finally found the job in my life that I can share my knowledge and experiments with you in my tutorials.

Follow me on Twitter, Facebook or visit my blog Vectorboom.

Leave a Reply