Sub topic 3
Line weight, direction, and character
This chapter assumes you know what a line is as a basic mark, and that you can draw or place lines in a design tool, on paper or on screen. Here you will learn the three properties that change how a line looks and feels: weight, direction, and character.
Weight
Weight is the thickness of a line. It controls how much attention a line gets.
- Heavy lines look strong, close, and important. They suit outlines, headlines, and dividers that must be noticed.
- Light lines look delicate, distant, and secondary. They suit grids, captions, and background detail.
- Contrast in weight creates hierarchy. If every line has the same weight, the eye has no clear place to start.
A common working pattern is to use two or three weights in one design and keep them consistent. Outer shapes get the heaviest weight, inner details get a medium weight, and guides get the lightest.
Direction
Direction is the angle at which a line runs. Each direction carries a typical reading.
| Direction | Typical feeling | Common use |
|---|---|---|
| Horizontal | Calm, stable, restful | Horizons, footers, dividers |
| Vertical | Tall, formal, strong | Columns, skyscrapers, sidebars |
| Diagonal | Energy, motion, tension | Dynamic layouts, action scenes |
| Curved | Soft, flowing, natural | Organic logos, friendly interfaces |
Diagonals are the most active. A diagonal line looks as if it is rising or falling, so it pulls the eye along its path. Use one strong diagonal to direct attention. Many competing diagonals make a layout feel chaotic.
Character
Character is the quality of the line itself. It includes the end style, the smoothness, and whether the line is solid, dashed, or dotted.
- A smooth, solid line looks clean and technical.
- A dashed line suggests something hidden, planned, or optional. Maps and diagrams use it for routes and boundaries.
- A rounded end looks friendly. A square end looks precise.
- A wobbly, hand-drawn line looks personal and informal.
Seeing the three in code
The SVG below draws three horizontal lines. All three have the same direction, yet they feel different. Only weight, end style, and dash pattern change.
<svg xmlns="http://www.w3.org/2000/svg" width="200" height="60">
<line x1="10" y1="10" x2="190" y2="10" stroke="black" stroke-width="1"/>
<line x1="10" y1="30" x2="190" y2="30" stroke="black" stroke-width="6" stroke-linecap="round"/>
<line x1="10" y1="50" x2="190" y2="50" stroke="black" stroke-width="3" stroke-dasharray="8 6"/>
</svg>The stroke-width attribute sets weight. The stroke-linecap="round" attribute rounds the ends. The stroke-dasharray="8 6" attribute draws 8 units of line and then leaves a 6-unit gap.
Common errors
- Too many weights. Five or six different thicknesses look random. Pick a small set and reuse it.
- Weights that are too close. A 2 px line next to a 3 px line looks like a mistake, not a choice. Make differences clear.
- Direction that fights the content. Steep diagonals behind a calm, formal message send a mixed signal.
- Mixed character. A rough hand-drawn line beside a perfect geometric one looks accidental unless you plan the contrast.
Exercise
A poster uses thin, perfectly horizontal lines for its borders, and one thick, slanted line that runs through the headline. Which properties are being varied, and what effect does the slanted line have?
Show answer
Weight (thin versus thick) and direction (horizontal versus diagonal) are varied. The thick diagonal stands out against the calm horizontals, so it adds energy and draws the eye to the headline.
Exercise
In the SVG above, which attribute would you change to make the bottom line look like a series of dots instead of dashes?
Show answer
Change stroke-dasharray to a short dash with a gap, such as 1 6, and add stroke-linecap="round" so each short dash renders as a dot.