ICONYZ
Português (Brasil)
Ícone Bus de Boxicons

Ícone Bus

boxicons:bus

O ícone Bus (boxicons:bus) é um ícone SVG gratuito da coleção Boxicons. Ele é desenhado em uma grade de 24 × 24. Boxicons são publicados sob a licença MIT, que permite o uso em projetos pessoais e comerciais. Copie como código SVG, JSX, Vue ou Svelte, ou baixe o arquivo SVG.

Coleção
Boxicons
Autor
Boxicons
Licença
MIT
Tamanho
24 × 24
Baixar SVG

Código SVG

<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path fill="currentColor" d="M21.5 8H21V6c0-2.21-1.79-4-4-4H7C4.79 2 3 3.79 3 6v2h-.5c-.28 0-.5.22-.5.5v3c0 .28.22.5.5.5H3v6c0 .74.41 1.38 1 1.72v1.78c0 .28.22.5.5.5h2c.28 0 .5-.22.5-.5V20h10v1.5c0 .28.22.5.5.5h2c.28 0 .5-.22.5-.5v-1.78A2 2 0 0 0 21 18v-6h.5c.28 0 .5-.22.5-.5v-3c0-.28-.22-.5-.5-.5M19 18H5v-5h14zM5 11V8h6v3zm8 0V8h6v3zM7 4h10c1.1 0 2 .9 2 2H5c0-1.1.9-2 2-2"/><path fill="currentColor" d="M7.5 14a1.5 1.5 0 1 0 0 3a1.5 1.5 0 1 0 0-3m9 0a1.5 1.5 0 1 0 0 3a1.5 1.5 0 1 0 0-3"/></svg>

Como usar o ícone Bus

React

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

<Icon icon="boxicons:bus" width="24" />

Vue

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

<template>
  <Icon icon="boxicons:bus" width="24" />
</template>

Svelte

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

<Icon icon="boxicons:bus" width="24" />

Tailwind CSS

<!-- @iconify/tailwind plugin -->
<span class="icon-[boxicons--bus]"></span>

UnoCSS

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

Web component

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

<iconify-icon icon="boxicons:bus"></iconify-icon>

Imagem HTML

<img src="https://iconyz.com/api/public/svg/boxicons/bus.svg" alt="Ícone Bus" width="24" height="24">

Ícones relacionados em Boxicons

O ícone Bus em outras coleções

Perguntas frequentes sobre Ícone Bus

O ícone Bus é grátis para uso comercial?

Sim. Boxicons são publicados sob a licença MIT, que permite o uso em projetos pessoais e comerciais.

Como uso o ícone Bus no React?

Instale @iconify/react e renderize <Icon icon="boxicons:bus" />, ou use “Copiar código” nesta página para obter um componente React independente.

Como adiciono o ícone Bus a uma página web?

Vincule o arquivo SVG em uma tag de imagem: <img src="https://iconyz.com/api/public/svg/boxicons/bus.svg" alt="Ícone Bus">, ou cole o código SVG diretamente na página para estilizá-lo com CSS.

Ver todos os Boxicons →