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
- Open the Elements tab and click Shapes.
- Click a line under Lines to add it.
- Open Stroke style in the toolbar.
- Pick Long dashes for a dashed line.
- Drag the end point to lengthen the line.
Interactive 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
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.
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.
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.
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.
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.
Related guides
Continue with more step-by-step guides for getting work done.
How to add a background in CanvaAdd a solid background colour to any Canva design: select the page, open the colour picker in the toolbar, pick a swatch, and close the panel.
How to add a border to a design in CanvaAdd a border to a Canva design: search Elements for a border, pick a free one, add it to the page, and resize it to frame your design.
How to add a frame in CanvaAdd a frame to a Canva design from the Elements tab, then fill it with a free stock photo using Replace. Steps work on the free plan, no upgrade needed.
How to flip an image in CanvaFlip a photo in Canva with the Flip option in the toolbar. Add a free photo, select it, and choose Flip horizontal to mirror it on your design.
How to group elements in CanvaLearn how to group elements in Canva so a heading and a shape move together as one object, using a selection box and the ⌘ + G shortcut on a free design.
How to highlight words in CanvaLearn how to highlight words in Canva by selecting text, opening Effects, applying the Background effect, and choosing a highlight colour.
Create interactive demos like this one — free, no coding required.
Start for free →