car from Humbleicons by Jiří Zralý · Regular · MIT Free for personal and commercial use.

Name
car
Set
Humbleicons
Style
Regular
Viewbox
24×24
License
MIT

The same icon in other sets

Use the car icon

SVG

<svg xmlns="http://www.w3.org/2000/svg" width="1em" height="1em" viewBox="0 0 24 24"><path fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M17 11h2a2 2 0 0 1 2 2v2a1 1 0 0 1-1 1h-1.5M17 11H5m12 0l-2.417-4.029A2 2 0 0 0 12.868 6H8.736a2 2 0 0 0-1.789 1.106L5 11m.5 5H4a1 1 0 0 1-1-1v-2a2 2 0 0 1 2-2m.5 5a2 2 0 1 0 4 0m-4 0a2 2 0 1 1 4 0m0 0h5m0 0a2 2 0 1 0 4 0m-4 0a2 2 0 1 1 4 0"/></svg>

React

import type { SVGProps } from "react";

export function HumbleiconsCar(props: SVGProps<SVGSVGElement>) {
  return (
    <svg {...props} xmlns="http://www.w3.org/2000/svg" width="1em" height="1em" viewBox="0 0 24 24"><path fill="none" stroke="currentColor" strokeLinecap="round" strokeLinejoin="round" strokeWidth="2" d="M17 11h2a2 2 0 0 1 2 2v2a1 1 0 0 1-1 1h-1.5M17 11H5m12 0l-2.417-4.029A2 2 0 0 0 12.868 6H8.736a2 2 0 0 0-1.789 1.106L5 11m.5 5H4a1 1 0 0 1-1-1v-2a2 2 0 0 1 2-2m.5 5a2 2 0 1 0 4 0m-4 0a2 2 0 1 1 4 0m0 0h5m0 0a2 2 0 1 0 4 0m-4 0a2 2 0 1 1 4 0"/></svg>
  );
}

Vue

<template>
  <svg xmlns="http://www.w3.org/2000/svg" width="1em" height="1em" viewBox="0 0 24 24"><path fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M17 11h2a2 2 0 0 1 2 2v2a1 1 0 0 1-1 1h-1.5M17 11H5m12 0l-2.417-4.029A2 2 0 0 0 12.868 6H8.736a2 2 0 0 0-1.789 1.106L5 11m.5 5H4a1 1 0 0 1-1-1v-2a2 2 0 0 1 2-2m.5 5a2 2 0 1 0 4 0m-4 0a2 2 0 1 1 4 0m0 0h5m0 0a2 2 0 1 0 4 0m-4 0a2 2 0 1 1 4 0"/></svg>
</template>

CSS

.icon-car {
  width: 24px;
  height: 24px;
  background-color: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%221em%22%20height%3D%221em%22%20viewBox%3D%220%200%2024%2024%22%3E%3Cpath%20fill%3D%22none%22%20stroke%3D%22currentColor%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%20stroke-width%3D%222%22%20d%3D%22M17%2011h2a2%202%200%200%201%202%202v2a1%201%200%200%201-1%201h-1.5M17%2011H5m12%200l-2.417-4.029A2%202%200%200%200%2012.868%206H8.736a2%202%200%200%200-1.789%201.106L5%2011m.5%205H4a1%201%200%200%201-1-1v-2a2%202%200%200%201%202-2m.5%205a2%202%200%201%200%204%200m-4%200a2%202%200%201%201%204%200m0%200h5m0%200a2%202%200%201%200%204%200m-4%200a2%202%200%201%201%204%200%22%2F%3E%3C%2Fsvg%3E") no-repeat center / contain;
  mask: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%221em%22%20height%3D%221em%22%20viewBox%3D%220%200%2024%2024%22%3E%3Cpath%20fill%3D%22none%22%20stroke%3D%22currentColor%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%20stroke-width%3D%222%22%20d%3D%22M17%2011h2a2%202%200%200%201%202%202v2a1%201%200%200%201-1%201h-1.5M17%2011H5m12%200l-2.417-4.029A2%202%200%200%200%2012.868%206H8.736a2%202%200%200%200-1.789%201.106L5%2011m.5%205H4a1%201%200%200%201-1-1v-2a2%202%200%200%201%202-2m.5%205a2%202%200%201%200%204%200m-4%200a2%202%200%201%201%204%200m0%200h5m0%200a2%202%200%201%200%204%200m-4%200a2%202%200%201%201%204%200%22%2F%3E%3C%2Fsvg%3E") no-repeat center / contain;
}

Direct links: SVG · download · JSON · https://iconsdb.app/api/v1/icon/humbleicons/car.svg?color=%231a73e8&size=48