ICONYZ
日本語

Dashicons

dashicons · 342 個のアイコン · 作者: WordPress · GPL-2.0-or-later · 単色 · 20px グリッド · 更新日

Dashicons は、342 個の SVG アイコンを収録した無料のオープンソースアイコンセットです(作者: WordPress)。GPL ライセンス で公開されています。アイコンは単色で、テキストの色(currentColor)に合わせて表示され、CSS で色を変更できます。20px グリッドでデザインされており、SVG なのできれいに拡大・縮小できます。

Dashicons のデザイン仕様

  • 塗りつぶし
  • モノクロ

SVG ファイルから計測した、このセットの描画ルールです。セットに合う新しいアイコンをデザインする際に使えます。

キャンバス20 × 20
viewBox0 0 20 20
描画領域16 × 16、余白 2
描画スタイル塗りつぶし図形
角の半径4.25
色単色(currentColor)、CSS で色を変更可能
座標小数点以下最大 3 桁
直線水平・垂直 76%、45° 12%
曲線描画コマンドの 42%
対称性アイコンの 33% が左右対称
アイコンあたりの要素数1
アイコンあたりの描画コマンド数20

このセットのアイコン 63 個から計測しました。

AI によるアイコン生成

ライセンス上、このセットをもとにした新しいアイコンを作成できます。

  • オリジナルの作者をクレジット表記してください。
  • 派生アイコンは同じライセンス(GPL-2.0-or-later)で公開してください。

クレジット表記: Based on Dashicons by WordPress, licensed under GPL. https://github.com/WordPress/dashicons/blob/master/gpl.txt

LLM プロンプト用スタイルガイド(英語)

このセットのアイコンをいくつか添えてプロンプトに貼り付け、欲しいアイコンを指定してください。

You draw new icons for the "Dashicons" icon set (Iconify prefix "dashicons") by WordPress.
Style: filled, solid, monochrome.
Iconify describes the set as: Precise Shapes, Has Padding.

Canvas
- Root: <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 20 20">.
- Keep the drawing inside a 16x16 live area: about 2 units of padding on every side (never less than 0).
- A typical icon's bounding box covers 56% of the canvas.

Drawing
- Filled icons: draw closed filled shapes; don't use strokes.
- Round corners with a radius of about 4.25.

Geometry
- Coordinates are free-form; write at most 3 decimals.
- Straight lines: 76% horizontal or vertical, 12% at 45 degrees.
- About 42% of drawing commands are curves or arcs.
- Keep it simple: about 1 element and 20 drawing commands per icon.
- Elements used by the set: path.

Color
- Monochrome: paint with currentColor only, never a fixed color.

Output
- Reply with one complete <svg> element and nothing else: no comments, <title>, ids or scripts.
- Match the examples: reuse their shapes for shared parts (arrow heads, people, documents, badges).
- The result is a derivative of GPL; it must be released under the same license.
1 / 4 ページ

Dashicons について

人気の Dashicons には shortcode、businessperson、editor expand、sort、category、columns などがあります。

アイコンを開くと、SVG・JSX・Vue・Svelte・Solid・Astro・CSS としてコピーしたり、SVG や PNG でダウンロードしたりできます。 Dashicons は GPL ライセンス で公開されており、個人・商用プロジェクトで利用できます。ただし、アイコンファイルを改変した場合は同じライセンスを維持する必要があります。注: このセットは現在、作者によるメンテナンスが行われていません。

Dashicons の使い方

このページのアイコンはどのフレームワークでも使えます。例では dashicons:shortcode を使っています。アイコンを開くと、SVG・JSX・Vue・Svelte・Solid・Astro・CSS の正確なコードをコピーできます。 サイズ、色、アクセシビリティのコツは次のガイドをご覧ください: SVG アイコンの使い方.

React

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

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

Vue

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

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

Svelte

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

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

Tailwind CSS

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

UnoCSS

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

Web コンポーネント

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

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

HTML 画像

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

Dashicons のよくある質問

Dashicons は商用利用できますか?

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

Dashicons にはアイコンがいくつありますか?

Dashicons には 342 個のアイコンがあります。

Dashicons のライセンスは何ですか?

Dashicons のライセンスは GPL です。ライセンスの全文は https://github.com/WordPress/dashicons/blob/master/gpl.txt で確認できます。

Dashicons の作者は?

Dashicons の作者は WordPress です。

Dashicons を React で使うには?

@iconify/react をインストールして <Icon icon="dashicons:shortcode" /> を描画するか、このページのアイコンを開いて単体の React コンポーネントとしてコピーしてください。

Dashicons のサイズは?

Dashicons は 20px グリッドでデザインされています。SVG なので、どのサイズに拡大・縮小しても画質が落ちません。

似ているアイコンセット