Create an Image Slider UI

In the following tutorial you will learn how to create an image slider element using iDraw's tools and effects.

Step 1

For this tutorial we'll create a new 600 x 500 pixel document. Choose File > New (Command + N) to bring up the New Document pane. Select the Grid document style, set the document units to pixels, and set the document dimensions to 600 pixels wide by 500 pixels high.
Next, we'll set up the document grid. Switch to the Grid pane in the Properties pane. If the Properties pane is not currently visible, you can click on the orange ruler icon above the Layers pane to show and hide the pane. Change the grid X Spacing and Y Spacing to 5px, set the Subdivisions to 0px, and enable Snap to Grid (Command + Shift + ').

Step 2

Focus on the Toolbar and you will notice that by default the fill color is set to white while the stroke color is set to black. Click on the fill color well and set the fill color to R=235 G=235 B=235. Next, click on the stroke color well and drag the Alpha slider to 0%, which will simply make the stroke invisible. Pick the Rounded Rectangle Tool (Shift + M), focus on the Titlebar and drag the Corner Radius slider at 5pt. Move to your canvas and simply create a 370x 220px shape.

Step 3

Make sure that your rounded rectangle stays selected and focus on the Effects section from the Appearance pane. If the Appearance pane is not currently visible, you can click on the blue icon above the Layers pane to show and hide the pane. Select the existing Stroke, drag the Width slider to 2pt, select Inside from the Position drop-down menu and Soft Light from the Blend drop-down menu and then simply click on the color box that stands for your Stroke. Drag the Alpha slider at 100% and replace the existing color with a simple white (R=255 G=255 B=255).

Step 4

Make sure that your rounded rectangle stays selected, keep focusing on the Effects section from the Appearance pane and add a second Stroke using the plus button located in the bottom, left corner of your pane. Select the new stroke and simply replace the existing attributes with the ones shown in the following image.

Step 5

Make sure that your rounded rectangle stays selected, keep focusing on the Effects section from the Appearance pane and add a third Stroke using that same plus button. Select the new stroke and simply replace the existing attributes with the ones shown in the following image.

Step 6

Make sure that your rounded rectangle stays selected, keep focusing on the Effects section from the Appearance pane and simply check the little box that stands for the existing Drop Shadow to activate it. Enter 0 in the X box and 2 in the Y box, drag the Size slider at 8 and then click on the color box that stands for this effect. Drag the Alpha slider at 15% and replace the existing color with a simple black (R=0 G=0 B=0). Finally, drag this effect right above the bottom stroke as shown in the following image.

Step 7

Make sure that your rounded rectangle stays selected, keep focusing on the Effects section from the Appearance pane and activate the existing Inner Shadow. Select this new effect, drag it right below the Fill and then enter the attributes shown in the following image.

Step 8

Make sure that your rounded rectangle stays selected, keep focusing on the Effects section from the Appearance pane and add a second Inner Shadow using that same plus button. Select this new effect, make sure that it lies below the existing Inner Shadow and then enter the attributes shown in the following image.

Step 9

Make sure that your rounded rectangle stays selected, keep focusing on the Effects section from the Appearance pane and add a new Inner Shadow using that same plus button. Select this new effect, make sure that it lies above the existing Drop Shadow and then enter the attributes shown in the following image.

Step 10

Make sure that your rounded rectangle stays selected, keep focusing on the Effects section from the Appearance pane and activate the existing Inner Glow. Select this effect, drag it above the existing Drop Shadow and then enter the attributes shown in the following image.

Step 11

Return to your Toolbar, make sure that the Stroke is invisible then set the Fill color at R=235 G=235 B=235. Grab the Rounded Rectangle Tool (Shift + M), make sure that the Corner Radius is still set at 5pt, move to your canvas, create a 390 x 200px shape and place it exactly as shown in the following image. The grid and the Snap to Grid feature should ease your work.

Step 12

Reselect the rounded rectangle made in the beginning of the tutorial, simply right click on your canvas and go to Copy Style. Next, select the rounded rectangle made in the previous step, right click on your canvas and this time go to Paste Style. In the end things should look like in the first image. Finally, you need to send this shape to the back, simply hit Command + Shift + [ .

Step 13

Get back to your Toolbar, make sure that the Stroke is still invisible then set the Fill color at R=74 G=196 B=237. Grab the Rectangle Tool (M), create a 350 x 200px shape and place it exactly as shown in the following image.

Step 14

For this step you need to download this free image. Reselect your blue rectangle and focus on the Effects section from the Appearance pane. Select the existing Fill, select Image from the Type drop-down menu and simply add the downloaded image. You will probably notice that the image doesn't cover your entire rectangle, but this little issue can be solved pretty fast. Make sure that your rectangle stays selected, return to the Effects section from the Appearance pane and simply drag the Scale slider at around 110%.

Step 15

Make sure that your rectangle stays selected and focus on the Effects section from the Appearance pane. Select the existing Stroke, drag the Width slider at 2pt, select Outside from the Position drop-down menu and **** then simply click on the color box that stands for your Stroke. Drag the Alpha slider at 50% and replace the existing color with a simple white.

Step 16

Make sure that your rectangle stays selected and focus on the Effects section from the Appearance pane. Add a second Stroke, make sure that it lies below the existing one and then enter the attributes shown in the following image.

Step 17

Make sure that your rectangle stays selected and focus on the Effects section from the Appearance pane. Add a third Stroke, make sure that it lies below the existing ones and then enter the attributes shown in the following image.

Step 18

Make sure that your rectangle stays selected and focus on the Effects section from the Appearance pane. Add a fourth Stroke, make sure that it lies below the existing ones and then enter the attributes shown in the following image.

Step 19

Make sure that your rectangle stays selected and focus on the Effects section from the Appearance pane. Activate the existing Inner Glow, drag it right below the Fill and then enter the attributes shown in the following image.

Step 20

Get back to your Toolbar, make sure that the Stroke is invisible then set the Fill color at R=0 G=174 B=15. Using the Ellipse Tool (O), create a 10px circle. Make sure that this new shape is selected, make four copies (Command + C > Command + V) and spread them exactly as shown in the second image.

Step 21

Reselect the five circle made in the previous step, focus on the Path Tools section from the Properties pane and simply click the Make Compound Path button. Make sure that this new compound path stays selected and place it as shown in the following image.

Step 22

Make sure that your compound path stays selected and focus on the Effects section from the Appearance pane. First, click the Fill color box, drag the Alpha slider at 10% and replace the existing fill color with a simple black. Next, select the existing Stroke and simply add the attributes shown in the following image.

Step 23

Make sure that your compound path stays selected and focus on the Effects section from the Appearance pane. Add a second Stroke, make sure that it lies beow the existing one and then enter the attributes shown in the following image.

Step 24

Make sure that your compound path stays selected and keep focusing on the Effects section from the Appearance pane. Activate the existing Inner Shadow, drag it between the Strokes and then enter the attributes shown in the following image.

Step 25

Make sure that your compound path stays selected and keep focusing on the Effects section from the Appearance pane. Activate the existing Inner Glow, drag it below that Inner Shadow effect and then enter the attributes shown in the following image.

Step 26

Return to your Toolbar, make sure that the Stroke is invisible then set the Fill color at R=235 G=235 B=235. Using the Ellipse Tool (O), create a 10px circle and place it as shown in the first image. Make sure that this new shape stays selected and focus on the Effects section from the Appearance pane. Select the existing Stroke and simply replace the existing attributes with the ones shown in the following image.

Step 27

Make sure that your circle stays selected and keep focusing on the Effects section from the Appearance pane. Add a second Stroke, make sure that it lies below the existing one and then add the attributes shown in the following image.

Step 28

Make sure that your circle stays selected and keep focusing on the Effects section from the Appearance pane. Activate the existing Inner Shadow, drag it above the Strokes and then enter the attributes shown in the following image.

Step 29

Make sure that your circle stays selected and keep focusing on the Effects section from the Apperance pane. Add a second Inner Shadow, make sure that it lies below the existing one and then add the attributes shown in the following image.

Step 30

Make sure that your circle stays selected and keep focusing on the Effects section from the Appearance pane. Activate the existing Drop Shadow, drag it between the Strokes and then enter the attributes shown in the following image.

Step 31

Make sure that your circle stays selected and keep focusing on the Effects section from the Appearance pane. Add a second Drop Shadow, make sure that it lies below the existing one and then add the attributes shown in the following image.

Step 32

Make sure that your circle stays selected and keep focusing on the Effects section from the Appearance pane. Add a third Drop Shadow, make sure that it lies below the existing ones and then add the attributes shown in the following image.

Step 33

Make sure that your circle stays selected and keep focusing on the Effects section from the Appearance pane. Add a fourth Drop Shadow, make sure that it lies below the existing ones and then add the attributes shown in the following image.

Step 34

Make sure that your circle stays selected and keep focusing on the Effects section from the Appearance pane. Activate the existing Inner Glow, drag it right below the top Stroke and then enter the attributes shown in the following image.

Step 35

Get back to your Toolbar, make sure that the Stroke is invisible then add a simple yellow (R=255 G=185 B=2) for the Fill. Grab the Rounded Rectangle Tool (Shift + M), focus on the Titlebar and drag that Corner Radius slider at 2pt. Move to your canvas, create a 50 x 20px shape and place it exactly as shown in the following image.

Step 36

You will need a grid every 1px which simply means that you need to return to the Grid section from the Properties pane and enter 1px in both Spacing boxes. Focus on the left side of your yellow shape and grab the Rectangle Tool (M). Create a 3 x 20px shape and place it exactly as shown in the first image. Select this new rectangle along with your yellow, rounded rectangle, focus on the Path Tools section from the Properties pane and simply click the Subtract button. In the end things should look like in the following image.

Step 37

Make sure that your yellow shape is still selected and grab the Rotate Tool (R). Focus on the Titlebar, enter a 180 degrees angle and then simply hit the Copy button which will create a horizontally flipped copy of your yellow shape. Select this copy, drag it to the right and make sure that you place it exactly as shown in the third image.

Step 38

Select your left, yellow shape and focus on the Effects section from the Appearance pane. Replace the existing Fill color with R=235 G=235 B=235 and then activate the Drop Shadow. Simply replace the existing attributes with the ones shown in the following image.

Step 39

Make sure that the shape edited in the previous step is still selected and keep focusing on the Effects section from the Appearance pane. Activate the existing Inner Shadow and enter the attributes shown in the following image.

Step 40

Make sure that the shape edited in the previous step is still selected, copy its attributes and paste them onto the remaining yellow shape. Select this second shape, focus on Effects section from the Appearance pane and simply inverse the values used in the X section for the existing Inner Shadow and Drop Shadow effects.

Step 41

Grab the Text Tool (T) and focus on the Text section from the Appearance pane. Select the Arial Rounded MT Bold font, set the Size at 8pt and the Fill color at R=175 G=175 B=175 then simply click on your canvas. Add the "NEXT" piece of text and place it as shown in the following image. Using the same tool and attributes, add the "PREV" piece of text and place it as shown below.

Finished Design

Congratulations, you've finished the tutorial!

iDraw File:
ImageSlider.idraw