ICONYZ
English
Electric Bus 20 icon from Energy Icons

Electric Bus 20 icon

energy-icons:electric-bus-20

The Electric Bus 20 icon (energy-icons:electric-bus-20) is a free SVG icon from the Energy Icons set by Sam Passmore. It is drawn on a 20 × 20 grid. Energy Icons are released under the MIT license, which allows use in personal and commercial projects. Copy it as SVG, JSX, Vue or Svelte code, or download the SVG file.

Icon set
Energy Icons
Author
Sam Passmore
License
MIT
Size
20 × 20
Tags
electricbus
Download SVG

SVG code

<svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 20 20"><path fill="currentColor" d="M17 5c0-.644-.522-1.167-1.167-1.167H4.167C3.522 3.833 3 4.356 3 5v9.167c0 .644.522 1.166 1.167 1.166h11.666c.645 0 1.167-.522 1.167-1.166zm1 9.167c0 1.196-.97 2.166-2.167 2.166H4.167A2.166 2.166 0 0 1 2 14.167V5c0-1.196.97-2.167 2.167-2.167h11.666C17.03 2.833 18 3.804 18 5z"/><path fill="currentColor" d="M17.5 9.5v1h-15v-1zm-7.002-5.08a.501.501 0 0 1 .67.744l-1.114 1.003h1.196a.5.5 0 0 1 .335.872L9.502 8.914a.501.501 0 0 1-.67-.744l1.114-1.003H8.75a.5.5 0 0 1-.335-.872zm-5.165 8.497a.333.333 0 1 0-.667-.001a.333.333 0 0 0 .667.001m1 0a1.333 1.333 0 1 1-2.666 0a1.333 1.333 0 0 1 2.666 0m9 0a.333.333 0 1 0-.667-.001a.333.333 0 0 0 .667.001m1 0a1.333 1.333 0 1 1-2.666 0a1.333 1.333 0 0 1 2.666 0M4.5 17.5v-1.667h1V17.5a.5.5 0 0 1-1 0m10 0v-1.667h1V17.5a.5.5 0 0 1-1 0"/></svg>

How to use the Electric Bus 20 icon

React

import { Icon } from "@iconify/react";

<Icon icon="energy-icons:electric-bus-20" width="24" />

Vue

<script setup>
import { Icon } from "@iconify/vue";
</script>

<template>
  <Icon icon="energy-icons:electric-bus-20" width="24" />
</template>

Svelte

<script>
  import Icon from "@iconify/svelte";
</script>

<Icon icon="energy-icons:electric-bus-20" width="24" />

Tailwind CSS

<!-- @iconify/tailwind plugin -->
<span class="icon-[energy-icons--electric-bus-20]"></span>

UnoCSS

<!-- @unocss/preset-icons + @iconify-json/energy-icons -->
<div class="i-energy-icons:electric-bus-20"></div>

Web component

<script src="https://code.iconify.design/iconify-icon/2.1.0/iconify-icon.min.js"></script>

<iconify-icon icon="energy-icons:electric-bus-20"></iconify-icon>

HTML image

<img src="https://iconyz.com/api/public/svg/energy-icons/electric-bus-20.svg" alt="Electric Bus 20 icon" width="24" height="24">

Related icons in Energy Icons

Electric Bus 20 icon FAQ

Is the Electric Bus 20 icon free for commercial use?

Yes. Energy Icons are released under the MIT license, which allows use in personal and commercial projects.

How do I use the Electric Bus 20 icon in React?

Install @iconify/react and render <Icon icon="energy-icons:electric-bus-20" />, or use “Copy code” on this page to get a standalone React component.

How do I add the Electric Bus 20 icon to a web page?

Link the SVG file in an image tag: <img src="https://iconyz.com/api/public/svg/energy-icons/electric-bus-20.svg" alt="Electric Bus 20 icon">, or paste the SVG code inline to style it with CSS.

Browse all Energy Icons →