ICONYZ
Português (Brasil)
Ícone Restaurant de BoxIcons v2

Ícone Restaurant

bx:restaurant

O ícone Restaurant (bx:restaurant) é um ícone SVG gratuito da coleção BoxIcons v2 de Boxicons. Ele é desenhado em uma grade de 24 × 24. BoxIcons v2 icons 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 v2
Autor
Boxicons
Licença
MIT
Tamanho
24 × 24
Tags
bx restaurant
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="M12 10h-2V3H8v7H6V3H4v8c0 1.654 1.346 3 3 3h1v7h2v-7h1c1.654 0 3-1.346 3-3V3h-2zm7-7h-1c-1.159 0-2 1.262-2 3v8h2v7h2V4a1 1 0 0 0-1-1"/></svg>

Como usar o ícone Restaurant

React

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

<Icon icon="bx:restaurant" width="24" />

Vue

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

<template>
  <Icon icon="bx:restaurant" width="24" />
</template>

Svelte

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

<Icon icon="bx:restaurant" width="24" />

Tailwind CSS

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

UnoCSS

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

Web component

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

<iconify-icon icon="bx:restaurant"></iconify-icon>

Imagem HTML

<img src="https://iconyz.com/api/public/svg/bx/restaurant.svg" alt="Ícone Restaurant" width="24" height="24">

O ícone Restaurant em outras coleções

Perguntas frequentes sobre Ícone Restaurant

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

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

Como uso o ícone Restaurant no React?

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

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

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

Ver todos os Ícones BoxIcons v2 →