Flag Icons
flag · 542 個のアイコン · 作者: Panayiotis Lipiridis · MIT · マルチカラー · 更新日
Flag Icons は、542 個の SVG アイコンを収録した無料のオープンソースアイコンセットです(作者: Panayiotis Lipiridis)。MIT ライセンス で公開されています。アイコンはマルチカラーで、どのサイズでも元の色が保たれます。
Flag Icons のデザイン仕様
- 塗りつぶし
- マルチカラー
SVG ファイルから計測した、このセットの描画ルールです。セットに合う新しいアイコンをデザインする際に使えます。
| キャンバス | 512 × 512 · アイコンの 52% |
|---|---|
| viewBox | 0 0 512 512 |
| 描画領域 | キャンバス全体(余白なし) |
| 描画スタイル | 塗りつぶし図形 |
| 角の半径 | 9 |
| 色 | アイコンあたり約 4 色 |
| 座標 | 小数点以下最大 1 桁 |
| 直線 | 水平・垂直 39%、45° 5% |
| 曲線 | 描画コマンドの 41% |
| 対称性 | アイコンの 52% が左右対称 |
| アイコンあたりの要素数 | 19.5 |
| アイコンあたりの描画コマンド数 | 287 |
このセットのアイコン 63 個から計測しました。
AI によるアイコン生成
ライセンス上、このセットをもとにした新しいアイコンを作成できます。
- オリジナルの作者をクレジット表記してください。
クレジット表記: Based on Flag Icons by Panayiotis Lipiridis, licensed under MIT. https://github.com/lipis/flag-icons/blob/main/LICENSE
LLM プロンプト用スタイルガイド(英語)
このセットのアイコンをいくつか添えてプロンプトに貼り付け、欲しいアイコンを指定してください。
You draw new icons for the "Flag Icons" icon set (Iconify prefix "flag") by Panayiotis Lipiridis.
Style: filled, solid, multicolor.
Iconify describes the set as: Uses Stroke.
Canvas
- Root: <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512">.
- Draw edge to edge: icons use the full canvas with no padding.
- A typical icon's bounding box covers 100% of the canvas.
Drawing
- Filled icons: draw closed filled shapes; don't use strokes.
- Round corners with a radius of about 9.
Geometry
- Coordinates are free-form; write at most 1 decimal.
- Straight lines: 39% horizontal or vertical, 5% at 45 degrees.
- About 41% of drawing commands are curves or arcs.
- Prefer left-right symmetric shapes (52% of icons are symmetric).
- Keep it simple: about 19 elements and 287 drawing commands per icon.
- Elements used by the set: path, g, use, clippath, defs, circle, ellipse.
- 25% of icons cut or clip shapes with <mask> or <clipPath>.
Color
- Multicolor, about 4 colors per icon. Use this palette: #ffffff, #000001, #000000, #ce1126, red, #000091, #d21034, #e1000f, #fcd116, #ffff00, #002d62, #0053a5.
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).Flag Icons について
人気の Flag Icons には fr 1x1、de 1x1、bh 1x1、kr 1x1、ee 1x1、bg 1x1 などがあります。
アイコンを開くと、SVG・JSX・Vue・Svelte・Solid・Astro・CSS としてコピーしたり、SVG や PNG でダウンロードしたりできます。 Flag Icons は MIT ライセンス で公開されており、個人・商用プロジェクトで利用できます。
Flag Icons の使い方
このページのアイコンはどのフレームワークでも使えます。例では flag:fr-1x1 を使っています。アイコンを開くと、SVG・JSX・Vue・Svelte・Solid・Astro・CSS の正確なコードをコピーできます。 サイズ、色、アクセシビリティのコツは次のガイドをご覧ください: SVG アイコンの使い方.
React
import { Icon } from "@iconify/react";
<Icon icon="flag:fr-1x1" width="24" />Vue
<script setup>
import { Icon } from "@iconify/vue";
</script>
<template>
<Icon icon="flag:fr-1x1" width="24" />
</template>Svelte
<script>
import Icon from "@iconify/svelte";
</script>
<Icon icon="flag:fr-1x1" width="24" />Tailwind CSS
<!-- @iconify/tailwind plugin -->
<span class="icon-[flag--fr-1x1]"></span>UnoCSS
<!-- @unocss/preset-icons + @iconify-json/flag -->
<div class="i-flag:fr-1x1"></div>Web コンポーネント
<script src="https://code.iconify.design/iconify-icon/2.1.0/iconify-icon.min.js"></script>
<iconify-icon icon="flag:fr-1x1"></iconify-icon>HTML 画像
<img src="https://iconyz.com/api/public/svg/flag/fr-1x1.svg" alt="Fr 1x1 アイコン" width="24" height="24">Flag Icons のよくある質問
Flag Icons は商用利用できますか?
はい。Flag Icons は MIT ライセンス で公開されており、個人・商用プロジェクトで利用できます。
Flag Icons にはアイコンがいくつありますか?
Flag Icons には 542 個のアイコンがあります。
Flag Icons のライセンスは何ですか?
Flag Icons のライセンスは MIT です。ライセンスの全文は https://github.com/lipis/flag-icons/blob/main/LICENSE で確認できます。
Flag Icons の作者は?
Flag Icons の作者は Panayiotis Lipiridis です。
Flag Icons を React で使うには?
@iconify/react をインストールして <Icon icon="flag:fr-1x1" /> を描画するか、このページのアイコンを開いて単体の React コンポーネントとしてコピーしてください。