How to draw a line in Canva

Learn how to draw a line in Canva: add one from Elements, switch it to a dashed stroke, and drag the end point to stretch it across your design.

Quick answer

To draw a line in Canva, open the Elements tab, choose Shapes, and click a line under Lines to add it to your page. Then open Stroke style in the toolbar to pick a dashed pattern, and drag the line's end point to make it longer or shorter.

Steps at a glance

  1. Open the Elements tab and click Shapes.
  2. Click a line under Lines to add it.
  3. Open Stroke style in the toolbar.
  4. Pick Long dashes for a dashed line.
  5. Drag the end point to lengthen the line.

Interactive demo

Loading demo…

Summary

Lines in Canva live in the Shapes section of the Elements panel. Once a line is on the page, its toolbar lets you change the stroke pattern and weight, and you can drag either end to resize it. Lines are useful for dividers, underlines and callouts.

Step-by-step guide

  1. Step 1

    Open Shapes

    With your design open, select the Elements tab in the side panel. Under the browse categories, click Shapes to open the shapes library.

  2. Step 2

    Add a line

    Scroll to the Lines row at the top of the shapes list. Click Add this line to the canvas on the plain line and it appears on your page, selected and ready to edit.

  3. Step 3

    Open the stroke style options

    With the line selected, a toolbar appears above the page. Click Stroke style to open a panel with the stroke pattern options and a Stroke weight control.

  4. Step 4

    Choose a dashed style

    In the Stroke pattern options, pick Long dashes to turn the solid line into a dashed one. You can also choose Short dashes or Dots, or go back to Solid.

  5. Step 5

    Drag the end point to lengthen the line

    Click the page background to close the panel, then select the line again. Drag the circular handle at its right end outward and the line stretches to the new length.

Why this matters

You are laying out a slide or social post and need a divider between sections, or a dashed connector to guide the eye. Knowing how to add and restyle a line lets you do it in seconds without hunting for a graphic.

Frequently asked questions

  • Can I make a line dashed or dotted?

    Yes. Select the line, open Stroke style in the toolbar, and choose Long dashes, Short dashes or Dots.

  • How do I make a line thicker?

    Open Stroke style in the toolbar. The panel includes a Stroke weight control that sets the line's thickness.

Create interactive demos like this one — free, no coding required.

Start for free →