bus icon
bus from BoxIcons v2 by Boxicons · Regular · MIT Free for personal and commercial use.
- Name
- bus
- Set
- BoxIcons v2
- Style
- Regular
- Viewbox
- 24×24
- License
- MIT
- Aliases
- bx-bus
The same icon in other sets
busBoxIcons v2 SolidbusCarbonbusEmoji One (Colored)busFont Awesome 6 SolidbusFluent EmojibusFluent Emoji FlatbusFluent Emoji High ContrastbusIconoirbusIonIconsbusJam IconsbusLine AwesomebusLucidebusMajesticonsbusMaterial Design Iconsbus-fillMingCute IconbusNoto EmojibusOpenMojibusPhosphorbusPixelarticonsbus-fillRemix Iconbus-boldSolarbusStreamline EmojisbusTabler IconsbusTwitter Emoji
Related icons in BoxIcons v2
Use the bus icon
SVG
<svg xmlns="http://www.w3.org/2000/svg" width="1em" height="1em" viewBox="0 0 24 24"><path fill="currentColor" d="M21.004 7.975V6c0-2.206-1.794-4-4-4h-10c-2.206 0-4 1.794-4 4v1.998l-.076.004A1 1 0 0 0 2 9v2a1 1 0 0 0 1 1h.004v6c0 .735.403 1.372.996 1.72V21a1 1 0 0 0 1 1h1a1 1 0 0 0 1-1v-1h10v1a1 1 0 0 0 1 1h1a1 1 0 0 0 1-1v-1.276A2 2 0 0 0 21.004 18v-6a1 1 0 0 0 1-1V9.062a1 1 0 0 0-.072-.455c-.203-.487-.635-.604-.928-.632M19.006 18H5.004v-5h14.001zM11.004 7v4h-6V7zm8 0v4h-6V7zm-12-3h10c.736 0 1.375.405 1.722 1H5.282c.347-.595.986-1 1.722-1"/><circle cx="7.5" cy="15.5" r="1.5" fill="currentColor"/><circle cx="16.5" cy="15.5" r="1.5" fill="currentColor"/></svg>
React
import type { SVGProps } from "react";
export function BxBus(props: SVGProps<SVGSVGElement>) {
return (
<svg {...props} xmlns="http://www.w3.org/2000/svg" width="1em" height="1em" viewBox="0 0 24 24"><path fill="currentColor" d="M21.004 7.975V6c0-2.206-1.794-4-4-4h-10c-2.206 0-4 1.794-4 4v1.998l-.076.004A1 1 0 0 0 2 9v2a1 1 0 0 0 1 1h.004v6c0 .735.403 1.372.996 1.72V21a1 1 0 0 0 1 1h1a1 1 0 0 0 1-1v-1h10v1a1 1 0 0 0 1 1h1a1 1 0 0 0 1-1v-1.276A2 2 0 0 0 21.004 18v-6a1 1 0 0 0 1-1V9.062a1 1 0 0 0-.072-.455c-.203-.487-.635-.604-.928-.632M19.006 18H5.004v-5h14.001zM11.004 7v4h-6V7zm8 0v4h-6V7zm-12-3h10c.736 0 1.375.405 1.722 1H5.282c.347-.595.986-1 1.722-1"/><circle cx="7.5" cy="15.5" r="1.5" fill="currentColor"/><circle cx="16.5" cy="15.5" r="1.5" fill="currentColor"/></svg>
);
}
Vue
<template> <svg xmlns="http://www.w3.org/2000/svg" width="1em" height="1em" viewBox="0 0 24 24"><path fill="currentColor" d="M21.004 7.975V6c0-2.206-1.794-4-4-4h-10c-2.206 0-4 1.794-4 4v1.998l-.076.004A1 1 0 0 0 2 9v2a1 1 0 0 0 1 1h.004v6c0 .735.403 1.372.996 1.72V21a1 1 0 0 0 1 1h1a1 1 0 0 0 1-1v-1h10v1a1 1 0 0 0 1 1h1a1 1 0 0 0 1-1v-1.276A2 2 0 0 0 21.004 18v-6a1 1 0 0 0 1-1V9.062a1 1 0 0 0-.072-.455c-.203-.487-.635-.604-.928-.632M19.006 18H5.004v-5h14.001zM11.004 7v4h-6V7zm8 0v4h-6V7zm-12-3h10c.736 0 1.375.405 1.722 1H5.282c.347-.595.986-1 1.722-1"/><circle cx="7.5" cy="15.5" r="1.5" fill="currentColor"/><circle cx="16.5" cy="15.5" r="1.5" fill="currentColor"/></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%2024%2024%22%3E%3Cpath%20fill%3D%22currentColor%22%20d%3D%22M21.004%207.975V6c0-2.206-1.794-4-4-4h-10c-2.206%200-4%201.794-4%204v1.998l-.076.004A1%201%200%200%200%202%209v2a1%201%200%200%200%201%201h.004v6c0%20.735.403%201.372.996%201.72V21a1%201%200%200%200%201%201h1a1%201%200%200%200%201-1v-1h10v1a1%201%200%200%200%201%201h1a1%201%200%200%200%201-1v-1.276A2%202%200%200%200%2021.004%2018v-6a1%201%200%200%200%201-1V9.062a1%201%200%200%200-.072-.455c-.203-.487-.635-.604-.928-.632M19.006%2018H5.004v-5h14.001zM11.004%207v4h-6V7zm8%200v4h-6V7zm-12-3h10c.736%200%201.375.405%201.722%201H5.282c.347-.595.986-1%201.722-1%22%2F%3E%3Ccircle%20cx%3D%227.5%22%20cy%3D%2215.5%22%20r%3D%221.5%22%20fill%3D%22currentColor%22%2F%3E%3Ccircle%20cx%3D%2216.5%22%20cy%3D%2215.5%22%20r%3D%221.5%22%20fill%3D%22currentColor%22%2F%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%2024%2024%22%3E%3Cpath%20fill%3D%22currentColor%22%20d%3D%22M21.004%207.975V6c0-2.206-1.794-4-4-4h-10c-2.206%200-4%201.794-4%204v1.998l-.076.004A1%201%200%200%200%202%209v2a1%201%200%200%200%201%201h.004v6c0%20.735.403%201.372.996%201.72V21a1%201%200%200%200%201%201h1a1%201%200%200%200%201-1v-1h10v1a1%201%200%200%200%201%201h1a1%201%200%200%200%201-1v-1.276A2%202%200%200%200%2021.004%2018v-6a1%201%200%200%200%201-1V9.062a1%201%200%200%200-.072-.455c-.203-.487-.635-.604-.928-.632M19.006%2018H5.004v-5h14.001zM11.004%207v4h-6V7zm8%200v4h-6V7zm-12-3h10c.736%200%201.375.405%201.722%201H5.282c.347-.595.986-1%201.722-1%22%2F%3E%3Ccircle%20cx%3D%227.5%22%20cy%3D%2215.5%22%20r%3D%221.5%22%20fill%3D%22currentColor%22%2F%3E%3Ccircle%20cx%3D%2216.5%22%20cy%3D%2215.5%22%20r%3D%221.5%22%20fill%3D%22currentColor%22%2F%3E%3C%2Fsvg%3E") no-repeat center / contain;
}Direct links: SVG · download · JSON · https://iconsdb.app/api/v1/icon/bx/bus.svg?color=%231a73e8&size=48