Restaurant アイコン
bx:restaurant
Restaurant アイコン(bx:restaurant)は、BoxIcons v2 セットの無料 SVG アイコンです(作者: Boxicons)。 24 × 24 のグリッドで描かれています。 BoxIcons v2 icons は MIT ライセンス で公開されており、個人・商用プロジェクトで利用できます。 SVG・JSX・Vue・Svelte のコードとしてコピーするか、SVG ファイルをダウンロードできます。
- アイコンセット
- BoxIcons v2
- 作者
- Boxicons
- ライセンス
- MIT
- サイズ
- 24 × 24
- タグ
- bx restaurant
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>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 コンポーネント
<script src="https://code.iconify.design/iconify-icon/2.1.0/iconify-icon.min.js"></script>
<iconify-icon icon="bx:restaurant"></iconify-icon>HTML 画像
<img src="https://iconyz.com/api/public/svg/bx/restaurant.svg" alt="Restaurant アイコン" width="24" height="24">他のアイコンセットの Restaurant アイコン
Restaurant アイコン のよくある質問
Restaurant アイコンは商用利用でも無料ですか?
はい。BoxIcons v2 icons は MIT ライセンス で公開されており、個人・商用プロジェクトで利用できます。
React で Restaurant アイコンを使うには?
@iconify/react をインストールして <Icon icon="bx:restaurant" /> を描画するか、このページの「コードをコピー」で単体の React コンポーネントを取得します。
Restaurant アイコンをウェブページに追加するには?
画像タグで SVG ファイルを読み込みます: <img src="https://iconyz.com/api/public/svg/bx/restaurant.svg" alt="Restaurant アイコン">。CSS でスタイルを付けたい場合は SVG コードをページに直接貼り付けます。