Bus icon
roentgen:bus
The Bus icon (roentgen:bus) is a free SVG icon from the Röntgen set by Sergey Vartanov. It is drawn on a 24 × 24 grid. Röntgen icons are released under the CC BY 4.0 license, which allows use in personal and commercial projects as long as you credit the author. Copy it as SVG, JSX, Vue or Svelte code, or download the SVG file.
- Icon set
- Röntgen
- Author
- Sergey Vartanov
- License
- CC-BY-4.0
- 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" d="M4 2a1 1 0 0 0-1 1c-.585 0-1.111.154-1.479.521C1.154 3.889 1 4.416 1 4.999V5.5a.5.5 0 0 0 1 0v-.499c0-.418.097-.64.229-.772C2.361 4.096 2.583 4 3 4v9.5a.5.5 0 0 0 .5.5h1a.5.5 0 0 0 .5-.5V13h6v.5a.5.5 0 0 0 .5.5h1a.5.5 0 0 0 .5-.5V4c.417 0 .639.096.771.229c.132.132.229.354.229.77V5.5a.5.5 0 0 0 1 0v-.499c0-.585-.154-1.112-.521-1.48c-.368-.367-.894-.521-1.476-.521C13 2.448 12.552 2 12 2zm2.499 1H9.5a.5.5 0 0 1 .001 1H6.5a.5.5 0 0 1-.001-1M4 6a1 1 0 0 1 1-1h6a1 1 0 0 1 1 1v2.5a1.5 1.5 0 0 1-1.5 1.5h-5A1.5 1.5 0 0 1 4 8.5zm0 5.5a.5.5 0 0 1 .5-.5h1a.5.5 0 0 1 0 1h-1a.5.5 0 0 1-.5-.5m6 0a.5.5 0 0 1 .5-.5h1a.5.5 0 0 1 0 1h-1a.5.5 0 0 1-.5-.5"/></svg>How to use the Bus icon
React
import { Icon } from "@iconify/react";
<Icon icon="roentgen:bus" width="24" />Vue
<script setup>
import { Icon } from "@iconify/vue";
</script>
<template>
<Icon icon="roentgen:bus" width="24" />
</template>Svelte
<script>
import Icon from "@iconify/svelte";
</script>
<Icon icon="roentgen:bus" width="24" />Tailwind CSS
<!-- @iconify/tailwind plugin -->
<span class="icon-[roentgen--bus]"></span>UnoCSS
<!-- @unocss/preset-icons + @iconify-json/roentgen -->
<div class="i-roentgen:bus"></div>Web component
<script src="https://code.iconify.design/iconify-icon/2.1.0/iconify-icon.min.js"></script>
<iconify-icon icon="roentgen:bus"></iconify-icon>HTML image
<img src="https://iconyz.com/api/public/svg/roentgen/bus.svg" alt="Bus icon" width="24" height="24">Related icons in Röntgen
Bus icon in other icon sets
Bus icon FAQ
Is the Bus icon free for commercial use?
Yes. Röntgen icons are released under the CC BY 4.0 license, which allows use in personal and commercial projects as long as you credit the author.
How do I use the Bus icon in React?
Install @iconify/react and render <Icon icon="roentgen: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/roentgen/bus.svg" alt="Bus icon">, or paste the SVG code inline to style it with CSS.