ICONYZ
日本語
Fluent UI System Icons の Diamond 20 Regular アイコン

Diamond 20 Regular アイコン

fluent:diamond-20-regular

Diamond 20 Regular アイコン(fluent:diamond-20-regular)は、Fluent UI System Icons セットの無料 SVG アイコンです(作者: Microsoft Corporation)。 20 × 20 のグリッドで描かれています。 Fluent UI System Icons は MIT ライセンス で公開されており、個人・商用プロジェクトで利用できます。 SVG・JSX・Vue・Svelte のコードとしてコピーするか、SVG ファイルをダウンロードできます。

アイコンセット
Fluent UI System Icons
作者
Microsoft Corporation
ライセンス
MIT
サイズ
20 × 20
タグ
diamondregular
SVG をダウンロード

SVG コード

<svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 20 20"><path fill="currentColor" d="M7.876 1.878a3 3 0 0 1 4.243 0l5.999 5.998a3 3 0 0 1 0 4.244l-5.999 5.998a3 3 0 0 1-4.243 0L1.878 12.12a3 3 0 0 1 0-4.244zm3.536.707a2 2 0 0 0-2.829 0L2.585 8.583a2.004 2.004 0 0 0 0 2.83l5.998 5.998c.781.78 2.048.78 2.83 0l5.997-5.999a2 2 0 0 0 0-2.829z"/></svg>

Diamond 20 Regular アイコンの使い方

React

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

<Icon icon="fluent:diamond-20-regular" width="24" />

Vue

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

<template>
  <Icon icon="fluent:diamond-20-regular" width="24" />
</template>

Svelte

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

<Icon icon="fluent:diamond-20-regular" width="24" />

Tailwind CSS

<!-- @iconify/tailwind plugin -->
<span class="icon-[fluent--diamond-20-regular]"></span>

UnoCSS

<!-- @unocss/preset-icons + @iconify-json/fluent -->
<div class="i-fluent:diamond-20-regular"></div>

Web コンポーネント

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

<iconify-icon icon="fluent:diamond-20-regular"></iconify-icon>

HTML 画像

<img src="https://iconyz.com/api/public/svg/fluent/diamond-20-regular.svg" alt="Diamond 20 Regular アイコン" width="24" height="24">

Fluent UI System Icons の関連アイコン

Diamond 20 Regular アイコン のよくある質問

Diamond 20 Regular アイコンは商用利用でも無料ですか?

はい。Fluent UI System Icons は MIT ライセンス で公開されており、個人・商用プロジェクトで利用できます。

React で Diamond 20 Regular アイコンを使うには?

@iconify/react をインストールして <Icon icon="fluent:diamond-20-regular" /> を描画するか、このページの「コードをコピー」で単体の React コンポーネントを取得します。

Diamond 20 Regular アイコンをウェブページに追加するには?

画像タグで SVG ファイルを読み込みます: <img src="https://iconyz.com/api/public/svg/fluent/diamond-20-regular.svg" alt="Diamond 20 Regular アイコン">。CSS でスタイルを付けたい場合は SVG コードをページに直接貼り付けます。

Fluent UI System Icons をすべて見る →