how to draw a dashed line in illustrator

How to Draw a Dashed Line in Illustrator: A Step-by-Step Guide

By Thomas Brown
AD

Ever found yourself in a design project, wishing you could add a dashed line in Adobe Illustrator to give your artwork that extra zing? You're not alone. Dashed lines can bring a touch of uniqueness and visual interest to your illustrations. Here's a step-by-step guide on how to create dashed lines in Illustrator.

Before we dive in, ensure you're using Adobe Illustrator CC or later versions, as older versions might not support this feature. Let's get started!

Creating Dashed Lines Using the Stroke Panel

This method is the most straightforward and beginner-friendly. Here's how to do it:

AD
How to Create a Dashed Line | Adobe Illustrator
How to Create a Dashed Line | Adobe Illustrator
How to Draw Smoother Pencil Lines in Adobe Illustrator | Easy Tips
How to Draw Smoother Pencil Lines in Adobe Illustrator | Easy Tips
How to Create a Dotted or Dashed Line in Adobe Illustrator
How to Create a Dotted or Dashed Line in Adobe Illustrator

First, select the Line Segment Tool (/\) from the Tools panel. Click on your artboard to create a line. Then, select the line and go to the Stroken panel (Window > Stroke).

Dashed Line Pattern

In the Stroke panel, look for the Dash value input box. Currently, it might display something like "10pt". Click and drag inside the input box to reveal a hidden dropdown list. Select "Dashes..." to open the Stroke panel's dialog box.

how do i draw dashed vertical lines on a path in illustrator?
how do i draw dashed vertical lines on a path in illustrator?
How to Draw Smooth Lines in Adobe Illustrator
How to Draw Smooth Lines in Adobe Illustrator

In the dialog box, click on the ' dabala ' button (it looks like a line with dashes above and below it) in the top-right corner. This button allows you to set the dash pattern. A new dialog box will open, labeled 'Pattern Options'.

Customizing the Dash Pattern

In 'Pattern Options', you can customize your dash pattern. The 'Dash 1' field is where you set the length of the first dash, followed by a space the same length (set in 'Gap 1'). Continue this pattern in the 'Dash 2' and 'Gap 2' fields for additional dashes and spaces.

AD

Here's an example to create a simple, 10pt dash and gap pattern: Set 'Dash 1' and 'Gap 1' each to '5pt'. Repeat this pattern in the next fields, leaving the 'Dash 3' and 'Gap 3' fields empty since you're only creating a two-part dash pattern.

Editing Existing Paths for Dashed Lines

Already have a path you want to transform into a dashed line? No problem! Here's how:

Select the line or shape using any of the Selection Tools. Next, make sure you're in Outline mode (View > Outline Mode). Now, click on the 'dabala' button in the Stroke panel and follow the steps from the previous section to add the dash pattern.

AD

Practice creating various dash patterns to add variety to your designs. Don't forget to experiment with colors and line widths to further enhance your artwork's visual appeal. Happy designing!

AD