gentleface

Gentleface › Transportation › road

road icon

Road: road, street, highway, motorway. Drawn on the 16 px grid. Free SVG, PNG and code, MIT licensed.

Animated road-run · line-round

The centre dashes run down the road, speeding up and slowing down, and stop after four whole dashes, so the road looks as it was drawn.

Download SVG

Native SVG animation, with no CSS or script. It loops by itself. Inline it to take the text color: in an <img> it draws black. To play it once on hover or click, run 0.3 s to 2.5 s. Examples and helper.

Code line-round

SVG
<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 16 16" fill="currentColor" aria-hidden="true"><path d="M2.856 14.856C2.759 14.952 2.641 15 2.5 15C2.359 15 2.241 14.952 2.144 14.856C2.048 14.759 2 14.641 2 14.5L2 1.5C2 1.359 2.048 1.241 2.144 1.144C2.241 1.048 2.359 1 2.5 1C2.641 1 2.759 1.048 2.856 1.144C2.952 1.241 3 1.359 3 1.5L3 14.5C3 14.641 2.952 14.759 2.856 14.856ZM7.856 3.856C7.759 3.952 7.641 4 7.5 4C7.359 4 7.241 3.952 7.144 3.856C7.048 3.759 7 3.641 7 3.5L7 1.5C7 1.359 7.048 1.241 7.144 1.144C7.241 1.048 7.359 1 7.5 1C7.641 1 7.759 1.048 7.856 1.144C7.952 1.241 8 1.359 8 1.5L8 3.5C8 3.641 7.952 3.759 7.856 3.856ZM12.856 14.856C12.759 14.952 12.641 15 12.5 15C12.359 15 12.241 14.952 12.144 14.856C12.048 14.759 12 14.641 12 14.5L12 1.5C12 1.359 12.048 1.241 12.144 1.144C12.241 1.048 12.359 1 12.5 1C12.641 1 12.759 1.048 12.856 1.144C12.952 1.241 13 1.359 13 1.5L13 14.5C13 14.641 12.952 14.759 12.856 14.856ZM7.856 9.856C7.759 9.952 7.641 10 7.5 10C7.359 10 7.241 9.952 7.144 9.856C7.048 9.759 7 9.641 7 9.5L7 6.5C7 6.359 7.048 6.241 7.144 6.144C7.241 6.048 7.359 6 7.5 6C7.641 6 7.759 6.048 7.856 6.144C7.952 6.241 8 6.359 8 6.5L8 9.5C8 9.641 7.952 9.759 7.856 9.856ZM7.144 12.144C7.241 12.048 7.359 12 7.5 12C7.641 12 7.759 12.048 7.856 12.144C7.952 12.241 8 12.359 8 12.5L8 14.5C8 14.641 7.952 14.759 7.856 14.856C7.759 14.952 7.641 15 7.5 15C7.359 15 7.241 14.952 7.144 14.856C7.048 14.759 7 14.641 7 14.5L7 12.5C7 12.359 7.048 12.241 7.144 12.144Z"/></svg>
React
// Gentleface "road" (line-round), MIT. https://gentleface.com/icons/road
import type { SVGProps } from 'react';

export function RoadIcon(props: SVGProps<SVGSVGElement>) {
  return (
    <svg xmlns="http://www.w3.org/2000/svg" width={16} height={16} viewBox="0 0 16 16" fill="currentColor" aria-hidden="true" {...props}>
      <path d="M2.856 14.856C2.759 14.952 2.641 15 2.5 15C2.359 15 2.241 14.952 2.144 14.856C2.048 14.759 2 14.641 2 14.5L2 1.5C2 1.359 2.048 1.241 2.144 1.144C2.241 1.048 2.359 1 2.5 1C2.641 1 2.759 1.048 2.856 1.144C2.952 1.241 3 1.359 3 1.5L3 14.5C3 14.641 2.952 14.759 2.856 14.856ZM7.856 3.856C7.759 3.952 7.641 4 7.5 4C7.359 4 7.241 3.952 7.144 3.856C7.048 3.759 7 3.641 7 3.5L7 1.5C7 1.359 7.048 1.241 7.144 1.144C7.241 1.048 7.359 1 7.5 1C7.641 1 7.759 1.048 7.856 1.144C7.952 1.241 8 1.359 8 1.5L8 3.5C8 3.641 7.952 3.759 7.856 3.856ZM12.856 14.856C12.759 14.952 12.641 15 12.5 15C12.359 15 12.241 14.952 12.144 14.856C12.048 14.759 12 14.641 12 14.5L12 1.5C12 1.359 12.048 1.241 12.144 1.144C12.241 1.048 12.359 1 12.5 1C12.641 1 12.759 1.048 12.856 1.144C12.952 1.241 13 1.359 13 1.5L13 14.5C13 14.641 12.952 14.759 12.856 14.856ZM7.856 9.856C7.759 9.952 7.641 10 7.5 10C7.359 10 7.241 9.952 7.144 9.856C7.048 9.759 7 9.641 7 9.5L7 6.5C7 6.359 7.048 6.241 7.144 6.144C7.241 6.048 7.359 6 7.5 6C7.641 6 7.759 6.048 7.856 6.144C7.952 6.241 8 6.359 8 6.5L8 9.5C8 9.641 7.952 9.759 7.856 9.856ZM7.144 12.144C7.241 12.048 7.359 12 7.5 12C7.641 12 7.759 12.048 7.856 12.144C7.952 12.241 8 12.359 8 12.5L8 14.5C8 14.641 7.952 14.759 7.856 14.856C7.759 14.952 7.641 15 7.5 15C7.359 15 7.241 14.952 7.144 14.856C7.048 14.759 7 14.641 7 14.5L7 12.5C7 12.359 7.048 12.241 7.144 12.144Z" />
    </svg>
  );
}
Vue
Vue: see /icons/road.md
Svelte
Svelte: see /icons/road.md
HTML img
HTML img: see /icons/road.md
CSS
CSS: see /icons/road.md
Data URL
Data URL: see /icons/road.md
Sprite
Sprite: see /icons/road.md
SwiftUI
SwiftUI: see /icons/road.md
Compose
Compose: see /icons/road.md
Android XML
Android XML: see /icons/road.md
Flutter
Flutter: see /icons/road.md

Each icon is drawn on the 16 px grid, and most also on the 20 and 24 px grids (at 24 in three weights: light 1 px, regular 1.5 px, bold 2 px). Show the drawing made for your size, or an exact multiple of it, on whole pixels: 16 for 16 and 32 px, 20 for 20 and 40, 24 for 24 and 48. A size in between or a fractional position blurs it. The code on each icon page is the 16 px drawing, an SVG with fill="currentColor"; the icon page's downloads follow its Grid switch, and npm has the 20 and 24 px drawings too. The snippets are decorative (aria-hidden). For an icon that carries meaning on its own, such as an icon-only button, label the button, or give the SVG role="img" and an aria-label. More in how to use.

With npm: import { RoadIcon } from '@gentleface/react'; (setup).

Meaning

Use it for
road, street, highway, motorway, freeway
Alternatives
Also fits
  • bridge: a road or street
Tags
road, street, highway, lane, route, drive, traffic, motorway
Category
Transportation
Component name
RoadIcon
History
  • added
  • released in 0.1.0
  • 20 px drawn, 24 px drawn
Since
version 0.1.0

Family 6

More transportation icons

For agents

Metadata: /icons/road.json · Markdown: /icons/road.md · SVG: https://gentleface.com/svg/{style}/16/road.svg · PNG: https://gentleface.com/png/{style}/{16|32|48}/road.png