ICONYZ
日本語
Dashicons の Button アイコン

Button アイコン

dashicons:button

Button アイコン(dashicons:button)は、Dashicons セットの無料 SVG アイコンです(作者: WordPress)。 20 × 20 のグリッドで描かれています。 Dashicons は GPL ライセンス で公開されており、個人・商用プロジェクトで利用できます。ただし、アイコンファイルを改変した場合は同じライセンスを維持する必要があります。 SVG・JSX・Vue・Svelte のコードとしてコピーするか、SVG ファイルをダウンロードできます。

アイコンセット
Dashicons
作者
WordPress
ライセンス
GPL-2.0-or-later
サイズ
20 × 20
SVG をダウンロード

SVG コード

<svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 20 20"><path fill="currentColor" d="M17 5H3c-1.1 0-2 .9-2 2v6c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V7c0-1.1-.9-2-2-2m1 7c0 .6-.4 1-1 1H3c-.6 0-1-.4-1-1V7c0-.6.4-1 1-1h14c.6 0 1 .4 1 1z"/></svg>

Button アイコンの使い方

React

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

<Icon icon="dashicons:button" width="24" />

Vue

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

<template>
  <Icon icon="dashicons:button" width="24" />
</template>

Svelte

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

<Icon icon="dashicons:button" width="24" />

Tailwind CSS

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

UnoCSS

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

Web コンポーネント

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

<iconify-icon icon="dashicons:button"></iconify-icon>

HTML 画像

<img src="https://iconyz.com/api/public/svg/dashicons/button.svg" alt="Button アイコン" width="24" height="24">

他のアイコンセットの Button アイコン

Button アイコン のよくある質問

Button アイコンは商用利用でも無料ですか?

はい。Dashicons は GPL ライセンス で公開されており、個人・商用プロジェクトで利用できます。ただし、アイコンファイルを改変した場合は同じライセンスを維持する必要があります。

React で Button アイコンを使うには?

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

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

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

Dashicons をすべて見る →