Bus icon
maki:bus
The Bus icon (maki:bus) is a free SVG icon from the Maki set by Mapbox. It is drawn on a 15 × 15 grid. Maki icons are released under the CC0 license, which allows use in personal and commercial projects. Copy it as SVG, JSX, Vue or Svelte code, or download the SVG file.
SVG code
<svg xmlns="http://www.w3.org/2000/svg" width="15" height="15" viewBox="0 0 15 15"><path fill="currentColor" d="M2 3c0-1.1.9-2 2-2h7c1.1 0 2 .9 2 2v8c0 1-1 1-1 1v1c0 .55-.45 1-1 1s-1-.45-1-1v-1H5v1c0 .55-.45 1-1 1s-1-.45-1-1v-1c-1 0-1-1-1-1zm1.5 1c-.28 0-.5.22-.5.5v3c0 .28.22.5.5.5h8c.28 0 .5-.22.5-.5v-3c0-.28-.22-.5-.5-.5zM4 9c-.55 0-1 .45-1 1s.45 1 1 1s1-.45 1-1s-.45-1-1-1m7 0c-.55 0-1 .45-1 1s.45 1 1 1s1-.45 1-1s-.45-1-1-1M4 2.5c0 .28.22.5.5.5h6c.28 0 .5-.22.5-.5s-.22-.5-.5-.5h-6c-.28 0-.5.22-.5.5"/></svg>How to use the Bus icon
React
import { Icon } from "@iconify/react";
<Icon icon="maki:bus" width="24" />Vue
<script setup>
import { Icon } from "@iconify/vue";
</script>
<template>
<Icon icon="maki:bus" width="24" />
</template>Svelte
<script>
import Icon from "@iconify/svelte";
</script>
<Icon icon="maki:bus" width="24" />Tailwind CSS
<!-- @iconify/tailwind plugin -->
<span class="icon-[maki--bus]"></span>UnoCSS
<!-- @unocss/preset-icons + @iconify-json/maki -->
<div class="i-maki:bus"></div>Web component
<script src="https://code.iconify.design/iconify-icon/2.1.0/iconify-icon.min.js"></script>
<iconify-icon icon="maki:bus"></iconify-icon>HTML image
<img src="https://iconyz.com/api/public/svg/maki/bus.svg" alt="Bus icon" width="24" height="24">Bus icon in other icon sets
Bus icon FAQ
Is the Bus icon free for commercial use?
Yes. Maki icons are released under the CC0 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="maki: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/maki/bus.svg" alt="Bus icon">, or paste the SVG code inline to style it with CSS.