ICONYZ
日本語

Duoicons

duo-icons · 91 個のアイコン · 作者: fernandcf · MIT · 単色 · 24px グリッド · 更新日

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

Duoicons のデザイン仕様

  • 塗りつぶし
  • デュオトーン
  • モノクロ

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

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

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

AI によるアイコン生成

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

  • オリジナルの作者をクレジット表記してください。

クレジット表記: Based on Duoicons by fernandcf, licensed under MIT. https://github.com/fazdiu/duo-icons/blob/master/LICENSE

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

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

You draw new icons for the "Duoicons" icon set (Iconify prefix "duo-icons") by fernandcf.
Style: filled, solid, duotone, monochrome.
Iconify describes the set as: Precise Shapes, Has Padding.

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

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

Geometry
- Coordinates are free-form; write at most 3 decimals.
- Straight lines: 58% horizontal or vertical, 14% at 45 degrees.
- About 55% of drawing commands are curves or arcs.
- Keep it simple: about 2 elements and 28 drawing commands per icon.
- Elements used by the set: path.

Color
- Monochrome: paint with currentColor only, never a fixed color.
- Duotone: add a second layer of the same color at opacity .3 to .4 (100% of icons).

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).
1 / 1 ページ

Duoicons について

人気の Duoicons には credit card、check circle、box、folder open、clapperboard、message 2 などがあります。

アイコンを開くと、SVG・JSX・Vue・Svelte・Solid・Astro・CSS としてコピーしたり、SVG や PNG でダウンロードしたりできます。 Duoicons は MIT ライセンス で公開されており、個人・商用プロジェクトで利用できます。

Duoicons の使い方

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

React

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

<Icon icon="duo-icons:credit-card" width="24" />

Vue

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

<template>
  <Icon icon="duo-icons:credit-card" width="24" />
</template>

Svelte

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

<Icon icon="duo-icons:credit-card" width="24" />

Tailwind CSS

<!-- @iconify/tailwind plugin -->
<span class="icon-[duo-icons--credit-card]"></span>

UnoCSS

<!-- @unocss/preset-icons + @iconify-json/duo-icons -->
<div class="i-duo-icons:credit-card"></div>

Web コンポーネント

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

<iconify-icon icon="duo-icons:credit-card"></iconify-icon>

HTML 画像

<img src="https://iconyz.com/api/public/svg/duo-icons/credit-card.svg" alt="Credit Card アイコン" width="24" height="24">

Duoicons のよくある質問

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

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

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

Duoicons には 91 個のアイコンがあります。

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

Duoicons のライセンスは MIT です。ライセンスの全文は https://github.com/fazdiu/duo-icons/blob/master/LICENSE で確認できます。

Duoicons の作者は?

Duoicons の作者は fernandcf です。

Duoicons を React で使うには?

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

Duoicons のサイズは?

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

似ているアイコンセット