ICONYZ
日本語

CodeX Icons

codex · 78 個のアイコン · 作者: CodeX · MIT · 単色 · 更新日

CodeX Icons は、78 個の SVG アイコンを収録した無料のオープンソースアイコンセットです(作者: CodeX)。MIT ライセンス で公開されています。アイコンは単色で、テキストの色(currentColor)に合わせて表示され、CSS で色を変更できます。

CodeX Icons のデザイン仕様

  • アウトライン
  • モノクロ
  • 角丸

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

キャンバス24 × 24
viewBox0 0 24 24
描画領域16 × 16、余白 4
描画スタイルアウトライン(ストローク)
線幅2
線端丸
線の結合角
角の半径4
色単色(currentColor)、CSS で色を変更可能
座標小数点以下最大 3 桁
直線水平・垂直 63%、45° 20%
曲線描画コマンドの 37%
対称性アイコンの 41% が左右対称
アイコンあたりの要素数1.5
アイコンあたりの描画コマンド数8

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

AI によるアイコン生成

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

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

クレジット表記: Based on CodeX Icons by CodeX, licensed under MIT. https://github.com/codex-team/icons/blob/master/LICENSE

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

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

You draw new icons for the "CodeX Icons" icon set (Iconify prefix "codex") by CodeX.
Style: outline, line, monochrome, rounded.
Iconify describes the set as: Has Padding, Uses Stroke.

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

Drawing
- Outline icons: draw with strokes only and fill="none"; solid shapes are the exception.
- stroke-width="2" (widths used: 2 92%, 2.6 6%, 1.6 2%).
- stroke-linecap="round", stroke-linejoin="miter".
- Round corners with a radius of about 4.

Geometry
- Coordinates are free-form; write at most 3 decimals.
- Straight lines: 63% horizontal or vertical, 20% at 45 degrees.
- About 37% of drawing commands are curves or arcs.
- Prefer left-right symmetric shapes (41% of icons are symmetric).
- Keep it simple: about 1 element and 8 drawing commands per icon.
- Elements used by the set: path, g, rect, circle, animatetransform, ellipse.

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

CodeX Icons について

人気の CodeX Icons には align left、table with headings、heading、delimiter、dot circle、plus などがあります。

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

CodeX Icons の使い方

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

React

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

<Icon icon="codex:align-left" width="24" />

Vue

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

<template>
  <Icon icon="codex:align-left" width="24" />
</template>

Svelte

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

<Icon icon="codex:align-left" width="24" />

Tailwind CSS

<!-- @iconify/tailwind plugin -->
<span class="icon-[codex--align-left]"></span>

UnoCSS

<!-- @unocss/preset-icons + @iconify-json/codex -->
<div class="i-codex:align-left"></div>

Web コンポーネント

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

<iconify-icon icon="codex:align-left"></iconify-icon>

HTML 画像

<img src="https://iconyz.com/api/public/svg/codex/align-left.svg" alt="Align Left アイコン" width="24" height="24">

CodeX Icons のよくある質問

CodeX Icons は商用利用できますか?

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

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

CodeX Icons には 78 個のアイコンがあります。

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

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

CodeX Icons の作者は?

CodeX Icons の作者は CodeX です。

CodeX Icons を React で使うには?

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

似ているアイコンセット