Bus icon
griddy-icons:bus
The Bus icon (griddy-icons:bus) is a free SVG icon from the Griddy Icons set by Zuzana Benova. It is drawn on a 24 × 24 grid. Griddy 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
- Griddy Icons
- Author
- Zuzana Benova
- License
- MIT
- Size
- 24 × 24
SVG code
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path fill="currentColor" fill-rule="evenodd" d="M17.25 2H6.75A2.755 2.755 0 0 0 4 4.75v14.5c0 .69.56 1.25 1.25 1.25H6.5V22H8v-1.5h8V22h1.5v-1.5h1.25c.69 0 1.25-.56 1.25-1.25V4.75A2.755 2.755 0 0 0 17.25 2M6.75 3.5h10.5c.69 0 1.25.56 1.25 1.25v.75h-13v-.75c0-.69.56-1.25 1.25-1.25M5.5 7h13v6.5h-13zm0 12v-4h13v4zM8 18a1 1 0 1 0 0-2a1 1 0 0 0 0 2m9-1a1 1 0 1 1-2 0a1 1 0 0 1 2 0m5.5-7H21v3h1.5zm-21 0H3v3H1.5z" clip-rule="evenodd"/></svg>How to use the Bus icon
React
import { Icon } from "@iconify/react";
<Icon icon="griddy-icons:bus" width="24" />Vue
<script setup>
import { Icon } from "@iconify/vue";
</script>
<template>
<Icon icon="griddy-icons:bus" width="24" />
</template>Svelte
<script>
import Icon from "@iconify/svelte";
</script>
<Icon icon="griddy-icons:bus" width="24" />Tailwind CSS
<!-- @iconify/tailwind plugin -->
<span class="icon-[griddy-icons--bus]"></span>UnoCSS
<!-- @unocss/preset-icons + @iconify-json/griddy-icons -->
<div class="i-griddy-icons:bus"></div>Web component
<script src="https://code.iconify.design/iconify-icon/2.1.0/iconify-icon.min.js"></script>
<iconify-icon icon="griddy-icons:bus"></iconify-icon>HTML image
<img src="https://iconyz.com/api/public/svg/griddy-icons/bus.svg" alt="Bus icon" width="24" height="24">Related icons in Griddy Icons
Bus icon in other icon sets
Bus icon FAQ
Is the Bus icon free for commercial use?
Yes. Griddy Icons are released under the MIT license, which allows use in personal and commercial projects.
How do I use the Bus icon in React?
Install @iconify/react and render <Icon icon="griddy-icons:bus" />, or use “Copy code” on this page to get a standalone React component.
How do I add the Bus icon to a web page?
Link the SVG file in an image tag: <img src="https://iconyz.com/api/public/svg/griddy-icons/bus.svg" alt="Bus icon">, or paste the SVG code inline to style it with CSS.