We create web sliders in Photoshop

In this lesson you will learn how to create multi-colored web sliders for user interface design. We will use vector shapes and layer styles.

The final image.

Step 1

Open Photoshop and click Ctrl + N to create a new document. Enter all the data shown in the screenshot below, and click OK. Turn on the grid in the menu View – Show – Grid (View> Show> Grid) and snap to grid in the menu Preview – Snap To – Grid Lines (View> Snap To Grid>). Now adjust the grid spacing to 1 pix. on the menu Editing – Settings – Guides, Grid, and Fragments (Edit> Preferences> Guides, Grid Slices), settings below in the screenshot. In addition, set the grid color to # 696969. After you have entered all the specified settings, click OK. Now the grid will be visible on your document, but do not worry, it will help you in further work. You also need to open the information palette in the menu. Window – Info (Window> Info) to preview the size and position of your shapes.

Step 2

Go to the layers palette. By default, Photoshop creates a locked layer. Background (Background). Pinch Alt, double click on it and it will unlock the layer immediately. Now set the foreground color to # AAAAAA, select instrument Fill (Paint Bucket) and just click in the document.

Step 3

Select dark gray, activate the tool. Rounded Rectangle(Rounded Rectangle Tool), set the radius to 5 pixels and create a 410 by 12 pixel shape. Double click on the layer with the created shape to bring up the layer style window. Set up the following styles: Shadow (Drop Shadow), Inner shadow (Inner Shadow), Gradient overlay (Gradient Overlay) and Stroke (Stroke). Settings see below in the screenshots.

Step 4

Set foreground color to white, select tool Rounded Rectangle (Rounded Rectangle Tool). Make sure the radius is still set to 5 pixels. Create a 70 by 12 pixel shape and place it as shown in the first screenshot below. Snap to the grid should make your work easier when you move the shape. Now add layer styles: Inner shadow (Inner Shadow), Gradient overlay (Gradient Overlay) and Stroke (Stroke). Settings see below in the screenshots.

Step 5

Set foreground color to # 3c3c3c and activate the tool Rectangle (Rectangle Tool). Create three 1×4 pixel shapes and place them as shown in the first screenshot. Open layer styles and apply a style for the left rectangle. Shadow (Drop Shadow) with the settings as in the screenshot, and for the right the same shadow, but change the angle to 180 degrees.

Step 6

Choose a tool Rounded Rectangle(Rounded Rectangle Tool) and check that the radius is set to 5pix. Create two shapes, 30 by 12 pixels and place them as shown in the following screenshot. Again, Snap to the grid will facilitate your work.

Step 7

Double click on the layer with the left rectangle and apply layer styles: Shadow (Drop Shadow), Inner shadow (Inner Shadow), Gradient overlay (Gradient Overlay) and Stroke (Stroke). Settings see below in the screenshots. Then, for simplicity, let’s do a little trick. Copy layer styles from this rectangle by right-clicking and selecting the option Copy layer style (Copy Layer Style). Now make the layer with the right rectangle active, right-click and select the option Paste style layer (Paste Layers Style). Next, select the two rounded rectangles in the layers palette and drag below the main shape that you created in the third step.

Step 8

Set foreground color to #4b4b4b, activate tool Rectangle(Rectangle Tool) and create a 4×6 pixel shape. Select this layer and switch to the tool. Arrow(Direct Selection Tool). Select the top left anchor point and drag it 3px down. Then select the lower left anchor point and drag it 3px up. As a result, your shape should look like a triangle. Open the layer style window and apply to this shape. Inner shadow (Inner Shadow). See settings below.

Step 9

Position the triangle created in the previous step as shown below and duplicate it. Ctrl + J. Now go to the menu Editing – Transform –Flip horizontally (Edit> Transform> Flip Horizontal) and drag the copy as shown in the screenshot.

Step 10

Select all the vector shapes created so far and group them Ctrl + G. Double-click the group and change its name to Gray slider. Right-click on this group and select Duplicate group (Duplicate Group). Obviously, this command will create a copy of the group. Select copy, change title to Green slider and drag the duplicate several pixels down as shown in the screenshot. Now you need to edit several shapes inside this group. Let’s start with a long rectangle with round corners. Open the layer style settings window and edit Gradient overlay (Gradient Overlay) and Stroke (Stroke). Settings see below in the screenshots.

Step 11

Continue editing the rest of the figures in the group. Green Slider. First, change the colors for the arrows and buttons. Then open the layer style window for the left and right rounded rectangles and edit the settings Strokes (Stroke) as in the second screenshot below. Finally, edit the layer style. Inner shadow (Inner Shadow) on the figures with arrows. See settings on the third screenshot.

Step 12

Duplicate group Green slider, rename copy to Blue slider and drag the duplicate several pixels down as shown in the screenshot. Open the layer style window again for a long rectangle with round corners and edit Gradient overlay (Gradient Overlay) and Stroke (Stroke). Settings see below in the screenshots.

Step 13

We continue editing the rest of the figures in the group, using the settings from the screenshots.

Step 14

Go back to the group Gray slider and duplicate it. Name copy Red slider and drag it a few pixels down, as shown in the screenshot. Open this group and delete the button shape along with three small rectangles. Now edit the left and right rectangles with round corners. Open the layer style window and change the settings for the option Angle (Angle) in the parameter Gradient overlay (Gradient Overlay).

Step 15

Choose a tool Rounded Rectangle(Rounded Rectangle Tool) and make sure the radius is set to 5pix. Create a 200×10 pixel shape and place it as shown in the screenshot. Open the layer style window for this shape and enter the settings for the styles: Shadow (Drop Shadow), Inner shadow (Inner Shadow), Gradient overlay (Gradient Overlay) and Stroke (Stroke). Settings see below in the screenshots. Then move this shape to the group. Red slider.

Step 16

Now we need to create our own pattern.. Click Ctrl + N to create a new document. Enter a width and height of 100 pixels and click OK. Turn on the grid in the menu View – Show – Grid (View> Show> Grid) and snap to grid in the menu Preview – Snap To – Grid Lines (View> Snap To Grid>). Now go to the menu Editing – Settings – Guides, Grid, and Fragments (Edit> Preferences> Guides, Grid Slices). In the settings in the upper field we set 10 pixels, in the lower one we leave 1. Then go to the layers palette and delete the background layer. Set the foreground color to # 323232, select instrument Pen(Pen Tool) and create two shapes as shown below. Snap to the grid should facilitate your work. To determine the pattern go to the menu. Editing – Define a pattern (Edit> Define Patter). Enter the name of the pattern and click OK. Now you can close this document.

Step 17

Go back to the grid settings and again change the grid spacing to 1 pix. on the menu Editing – Settings – Guides, Grid, and Fragments (Edit> Preferences> Guides, Grid Slices), as was done in the first step. Duplicate group Red slider and move the copy a few pixels down. Open the duplicated group, select the red rounded rectangle and copy it Ctrl + J. Standing on the copy, right-click and select Clear layer style (Clear Layer Style). Now put for this figure Fill (Fill) at 0%. Open layer styles and set the parameter Pattern overlay (PatternOverlay). See settings below.

Step 18

Duplicate group again Red slider and move the copy down. Choose a tool Ellipse(Ellipse Tool), draw a figure with a size of 22 pixels and place it as shown in the screenshot. Open the layer style window and enter these settings for theat Shadow (Drop Shadow), Inner shadow (Inner Shadow), Gradient overlay (Gradient Overlay) and Stroke (Stroke). Settings see below in the screenshots. The gradient you apply is useful in future steps, so in the gradient editor, don’t forget to click New (New) to save this gradient. Now make sure that the figure with the ellipse is in the group created at the beginning of this step.

Step 19

Duplicate the group created in the previous step. Drag this new group a few pixels down and open it. Select the circle shape and activate the tool. Ellipse(Ellipse Tool). In the upper ellipse settings panel, click the mode button Subtract the figure area (Subtract), put an ellipse size of 8 pixels and click the tool on the finished circle. Add a small, round hole.

Step 20

Again we duplicate the group created in the previous step and drag the copy a few pixels down. Set the foreground color to # 191919, select instrument Ellipse(Ellipse Tool), create a 6 pixel circle and place it as shown below. Open the layer style window for this new shape and customize Inner shadow (Inner Shadow) and Stroke (Stroke). Settings see below in the screenshots. Now make sure that the shape with the small ellipse is in the group created at the beginning of this step.

Step 21

Duplicate the original group Red slider and move the copy down. Activate the tool Rounded Rectangle(Rounded Rectangle Tool), set the radius to 3 pixels and create a 26 by 12 pixel shape. Place it as shown in the screenshot. Open the layer style window for this new rectangular shape and customize the styles. Shadow (Drop Shadow), Inner shadow (Inner Shadow), Gradient overlay (Gradient Overlay) and Stroke (Stroke). Settings see below in the screenshots. In the blend gradient option, use the gradient that you saved in step 18. Now make sure that the shape with the rectangle is in the group created at the beginning of this step.

Step 22

Copy two shapes with arrows and place them as shown in the screenshot. Replace the existing arrow color with #858585. Open the layer style window and set up styles for these shapes. Shadow (Drop Shadow) and Inner shadow (Inner Shadow).

Step 23

Duplicate the original group again. Red slider and move the copy down. Activate the tool Rectangle(Rectangle Tool), create a 12×20 pixel shape and place it as shown in the screenshot. Check that the shape is in the group copied at the beginning of this step.

Step 24

Select the vector shape created in the previous step and the tool Pen +(Add Anchor Point Tool) add two reference points to its contour. Switch to the tool Arrow(Direct Selection Tool). Select the lower, left point of the rectangle and move it 6 pixels to the right, then select the lower right anchor point and move it 6 pixels to the left. Now select the tool Angle(Convert Point Tool) and click on the two anchor points as in the screenshot. As a result, you get a bottom, sharp corner.

Step 25

Now adjust the layer styles for the created shape in the previous step. These will be styles.Shadow (Drop Shadow), Inner shadow (Inner Shadow), Gradient overlay (Gradient Overlay) and Stroke (Stroke). Settings see below in the screenshots.

Step 26

Set foreground color to # 3c3c3c, select instrument Rectangle(Rectangle Tool) and create two 4×1 pixel shapes. Place them as shown in the screenshot. In layer styles add Shadow (Drop Shadow). Make sure these pieces are part of the group created in step 23.

Step 27

Make a copy of the group created in step 23, move it down a few pixels and open it. Select the layer with the button shape and delete it. Choose a tool Rounded Rectangle(Rounded Rectangle Tool), set the radius to 3 pixels and create a 16 by 16 pixel shape. Arrange this square, as shown in the screenshot. Drag this layer inside the created group below two thin rectangles. Apply layer styles to a square shape. These will be the same styles as for the shape in step 25.

That’s all! The final result.

Like this post? Please share to your friends: