Design Fundamentals

Line in Design: Types & Examples [Infographics Included]

A line is an element of design whose length always exceeds its thickness. Lines divide space, connect elements, carry the eye along a path and imply shapes that are never drawn. They are the most versatile element and the one doing the most work in an interface.

Line in Design: Types & Examples [Infographics Included]

What is a Line in the Principle of Design?

A line is a start for artistic and creative pieces of work where the length is always more than its thickness. They are the most fundamental elements of design.

line in a co-ordinate, how two points in a coordinate is used to create a line

A line is formed by connecting two points at different coordinates. They are all around us in real-life used in daily products.

Products have dashed or dotted lines to guide you to tear packaging through the line. Take this Harney & Sons packet for an example.

example of line in design where packaging uses dotted lines to indicate tearing spot

Roads have lines as dividers for lanes.

Example of line in roads where dividers are painted to separate lanes
Photo by Diego Jimenez on Unsplash

Navigation systems like maps guide you through lines so you can reach your destination.

example of line in navigation apps where line is used to show direction
Photo by Caleb Oquendo from Pexels

What are the 4 Types of Lines? Definitions & Examples

The 4 types of line are:

  1. Vertical Lines: Straight lines from top to bottom perpendicular to X-axis/parallel to Y-axis
  2. Horizontal Lines: Straight lines from left to right perpendicular to Y-axis/parallel to X-axis
  3. Diagonal Lines: Straight lines that make an angle with axes such that they are not parallel to any of the axes
  4. Curved Lines: Wavy lines or lines that bend

4 types of lines mini infographics

The fundamental types are vertical, horizontal, diagonal, and curved lines. Any other types of lines are extensions of these 4 types of lines.

Zigzagged lines for example are connections of multiple diagonal lines.


What are the 4 Variations of Lines?

The 4 variations of lines are:

  1. Lengths and Thicknesses: They may be short, long, or vary in thickness.
  2. Edges: The lines may have multiple edges or they may have none and hence be smooth.
  3. Dotted or Dashed: Lines may be formatted such that they are made with dots or dashes.
  4. Wavy: The lines may have curves and create arcs.

4 variations of line mini infographic

Also note, combinations of the variations are capable of creating new variations of lines.


What is the Function of Line in Design?

In design, lines are used to create patterns and are also the foundations for creating shapes. This is just the tip of the iceberg when we consider the creative ways it could be used by professionals.

Designers may use them to highlight or outline designs, guide users, or contrast arts or statements. Lines could be used in a stylistic approach or to organize elements to be comprehensible.

Line in UI Design

This is a bank app concept I made a while ago. This is something I wanted to make because I wanted to make more colorful UIs with a mix of minimalism. Here let’s dissect the UI and see how the line element is implemented.

example of line in UI - Bank app concept
Bank App Concept by Shirish Shikhrakar

On the left-most screen, I used curvy lines to create visually interesting patterns. Then, on the middle screen lines are used to separate different UI elements. For example, you can observe that line is used as a separator to separate Cashback and Safe deposit. For a more general example, lines are used in data tables to separate rows and columns (commonly known as borders).

Now looking at the right-most screen, we can see that combination of vertical, horizontal, and curved lines are used to create a spending graph.

If you are interested to experiment more with my design, you can download my source file from the dribbble link.


Summing Up

Let’s summarize the article: A line is formed by connecting two points at different coordinates. They can have different types from vertical or horizontal to diagonal or wavy or combinations of other types.

Line is one of the basic elements of design and is considered as a building block of any design. If you want to learn about more elements of design, read my article on the 7 Elements of design.

Frequently asked questions

What is a line in design?

A line is an element whose length is always greater than its thickness. It can be drawn or implied by the alignment of other elements.

What are lines used for in design?

To separate sections, connect related elements, direct the eye along a path, imply a shape without drawing it, and set the underlying grid of a layout.

What is an implied line?

An implied line is one the eye completes itself, created by a row of aligned elements or by the direction a subject in a photograph is looking.

Studying design? Take the next step with the free UX Foundation Course: 4 chapters on how people use what you design. No sign-up.

Portrait of Shirish Shikhrakar

Written by

Shirish Shikhrakar

Shirish is a Google-certified UX designer and UX engineer based in Kathmandu, Nepal. He started as a software developer, moved into product design for Silicon Valley startups, and has taught UX foundations to hundreds of designers since 2019.