bus from IconPark Solid by ByteDance · Solid · Hardware · Apache-2.0 Free for personal and commercial use.

Name
bus
Set
IconPark Solid
Style
Solid
Category
Hardware
Viewbox
48×48
License
Apache 2.0

The same icon in other sets

More hardware icons from IconPark Solid

Use the bus icon

SVG

<svg xmlns="http://www.w3.org/2000/svg" width="1em" height="1em" viewBox="0 0 48 48"><g fill="none" stroke="currentColor" stroke-linejoin="round" stroke-width="4"><path d="M6.012 34.005V8.036a2 2 0 0 1 2-2H40a2 2 0 0 1 2 2v25.969a3 3 0 0 1-3 3h-1.995V38a4 4 0 1 1-8 0v-.995h-9.997v.997a3.998 3.998 0 0 1-7.997 0v-.997H9.012a3 3 0 0 1-3-3Z"/><path stroke-linecap="round" d="M42 23H6"/><path fill="currentColor" stroke-linecap="round" d="M34 13H14v10h20z"/><path stroke-linecap="round" d="M14 30h2m16 0h2"/></g></svg>

React

import type { SVGProps } from "react";

export function IconParkSolidBus(props: SVGProps<SVGSVGElement>) {
  return (
    <svg {...props} xmlns="http://www.w3.org/2000/svg" width="1em" height="1em" viewBox="0 0 48 48"><g fill="none" stroke="currentColor" strokeLinejoin="round" strokeWidth="4"><path d="M6.012 34.005V8.036a2 2 0 0 1 2-2H40a2 2 0 0 1 2 2v25.969a3 3 0 0 1-3 3h-1.995V38a4 4 0 1 1-8 0v-.995h-9.997v.997a3.998 3.998 0 0 1-7.997 0v-.997H9.012a3 3 0 0 1-3-3Z"/><path strokeLinecap="round" d="M42 23H6"/><path fill="currentColor" strokeLinecap="round" d="M34 13H14v10h20z"/><path strokeLinecap="round" d="M14 30h2m16 0h2"/></g></svg>
  );
}

Vue

<template>
  <svg xmlns="http://www.w3.org/2000/svg" width="1em" height="1em" viewBox="0 0 48 48"><g fill="none" stroke="currentColor" stroke-linejoin="round" stroke-width="4"><path d="M6.012 34.005V8.036a2 2 0 0 1 2-2H40a2 2 0 0 1 2 2v25.969a3 3 0 0 1-3 3h-1.995V38a4 4 0 1 1-8 0v-.995h-9.997v.997a3.998 3.998 0 0 1-7.997 0v-.997H9.012a3 3 0 0 1-3-3Z"/><path stroke-linecap="round" d="M42 23H6"/><path fill="currentColor" stroke-linecap="round" d="M34 13H14v10h20z"/><path stroke-linecap="round" d="M14 30h2m16 0h2"/></g></svg>
</template>

CSS

.icon-bus {
  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%2048%2048%22%3E%3Cg%20fill%3D%22none%22%20stroke%3D%22currentColor%22%20stroke-linejoin%3D%22round%22%20stroke-width%3D%224%22%3E%3Cpath%20d%3D%22M6.012%2034.005V8.036a2%202%200%200%201%202-2H40a2%202%200%200%201%202%202v25.969a3%203%200%200%201-3%203h-1.995V38a4%204%200%201%201-8%200v-.995h-9.997v.997a3.998%203.998%200%200%201-7.997%200v-.997H9.012a3%203%200%200%201-3-3Z%22%2F%3E%3Cpath%20stroke-linecap%3D%22round%22%20d%3D%22M42%2023H6%22%2F%3E%3Cpath%20fill%3D%22currentColor%22%20stroke-linecap%3D%22round%22%20d%3D%22M34%2013H14v10h20z%22%2F%3E%3Cpath%20stroke-linecap%3D%22round%22%20d%3D%22M14%2030h2m16%200h2%22%2F%3E%3C%2Fg%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%2048%2048%22%3E%3Cg%20fill%3D%22none%22%20stroke%3D%22currentColor%22%20stroke-linejoin%3D%22round%22%20stroke-width%3D%224%22%3E%3Cpath%20d%3D%22M6.012%2034.005V8.036a2%202%200%200%201%202-2H40a2%202%200%200%201%202%202v25.969a3%203%200%200%201-3%203h-1.995V38a4%204%200%201%201-8%200v-.995h-9.997v.997a3.998%203.998%200%200%201-7.997%200v-.997H9.012a3%203%200%200%201-3-3Z%22%2F%3E%3Cpath%20stroke-linecap%3D%22round%22%20d%3D%22M42%2023H6%22%2F%3E%3Cpath%20fill%3D%22currentColor%22%20stroke-linecap%3D%22round%22%20d%3D%22M34%2013H14v10h20z%22%2F%3E%3Cpath%20stroke-linecap%3D%22round%22%20d%3D%22M14%2030h2m16%200h2%22%2F%3E%3C%2Fg%3E%3C%2Fsvg%3E") no-repeat center / contain;
}

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