Bytesize Icons
bytesize · 101 個のアイコン · 作者: Dan Klammer · MIT · 単色 · 32px グリッド · 更新日
Bytesize Icons は、101 個の SVG アイコンを収録した無料のオープンソースアイコンセットです(作者: Dan Klammer)。MIT ライセンス で公開されています。アイコンは単色で、テキストの色(currentColor)に合わせて表示され、CSS で色を変更できます。32px グリッドでデザインされており、SVG なのできれいに拡大・縮小できます。
Bytesize Icons のデザイン仕様
- アウトライン
- モノクロ
- 角丸
SVG ファイルから計測した、このセットの描画ルールです。セットに合う新しいアイコンをデザインする際に使えます。
| キャンバス | 32 × 32 |
|---|---|
| viewBox | 0 0 32 32 |
| 描画領域 | 30 × 30、余白 1 |
| 描画スタイル | アウトライン(ストローク) |
| 線幅 | 2 |
| 線端 | 丸 |
| 線の結合 | 丸 |
| 色 | 単色(currentColor)、CSS で色を変更可能 |
| 座標 | 整数単位 |
| 直線 | 水平・垂直 59%、45° 17% |
| 曲線 | 描画コマンドの 29% |
| 対称性 | アイコンの 42% が左右対称 |
| アイコンあたりの要素数 | 1.3 |
| アイコンあたりの描画コマンド数 | 6 |
このセットのアイコン 64 個から計測しました。
AI によるアイコン生成
ライセンス上、このセットをもとにした新しいアイコンを作成できます。
- オリジナルの作者をクレジット表記してください。
クレジット表記: Based on Bytesize Icons by Dan Klammer, licensed under MIT. https://github.com/danklammer/bytesize-icons/blob/master/LICENSE.md
LLM プロンプト用スタイルガイド(英語)
このセットのアイコンをいくつか添えてプロンプトに貼り付け、欲しいアイコンを指定してください。
You draw new icons for the "Bytesize Icons" icon set (Iconify prefix "bytesize") by Dan Klammer.
Style: outline, line, monochrome, rounded.
Iconify describes the set as: Precise Shapes, Has Padding, Uses Stroke.
Canvas
- Root: <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 32 32">.
- Keep the drawing inside a 30x30 live area: about 1 unit of padding on every side (never less than 0).
- A typical icon's bounding box covers 71% of the canvas.
Drawing
- Outline icons: draw with strokes only and fill="none"; solid shapes are the exception.
- stroke-width="2".
- stroke-linecap="round", stroke-linejoin="round".
Geometry
- Put coordinates on whole units (100% are integers).
- Straight lines: 59% horizontal or vertical, 17% at 45 degrees.
- About 29% of drawing commands are curves or arcs.
- Prefer left-right symmetric shapes (42% of icons are symmetric).
- Keep it simple: about 1 element and 6 drawing commands per icon.
- Elements used by the set: path, g, circle, 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).Bytesize Icons について
人気の Bytesize Icons には desktop、code、sign out、checkmark、bookmark、activity などがあります。
アイコンを開くと、SVG・JSX・Vue・Svelte・Solid・Astro・CSS としてコピーしたり、SVG や PNG でダウンロードしたりできます。 Bytesize Icons は MIT ライセンス で公開されており、個人・商用プロジェクトで利用できます。
Bytesize Icons の使い方
このページのアイコンはどのフレームワークでも使えます。例では bytesize:desktop を使っています。アイコンを開くと、SVG・JSX・Vue・Svelte・Solid・Astro・CSS の正確なコードをコピーできます。 サイズ、色、アクセシビリティのコツは次のガイドをご覧ください: SVG アイコンの使い方.
React
import { Icon } from "@iconify/react";
<Icon icon="bytesize:desktop" width="24" />Vue
<script setup>
import { Icon } from "@iconify/vue";
</script>
<template>
<Icon icon="bytesize:desktop" width="24" />
</template>Svelte
<script>
import Icon from "@iconify/svelte";
</script>
<Icon icon="bytesize:desktop" width="24" />Tailwind CSS
<!-- @iconify/tailwind plugin -->
<span class="icon-[bytesize--desktop]"></span>UnoCSS
<!-- @unocss/preset-icons + @iconify-json/bytesize -->
<div class="i-bytesize:desktop"></div>Web コンポーネント
<script src="https://code.iconify.design/iconify-icon/2.1.0/iconify-icon.min.js"></script>
<iconify-icon icon="bytesize:desktop"></iconify-icon>HTML 画像
<img src="https://iconyz.com/api/public/svg/bytesize/desktop.svg" alt="Desktop アイコン" width="24" height="24">Bytesize Icons のよくある質問
Bytesize Icons は商用利用できますか?
はい。Bytesize Icons は MIT ライセンス で公開されており、個人・商用プロジェクトで利用できます。
Bytesize Icons にはアイコンがいくつありますか?
Bytesize Icons には 101 個のアイコンがあります。
Bytesize Icons のライセンスは何ですか?
Bytesize Icons のライセンスは MIT です。ライセンスの全文は https://github.com/danklammer/bytesize-icons/blob/master/LICENSE.md で確認できます。
Bytesize Icons の作者は?
Bytesize Icons の作者は Dan Klammer です。
Bytesize Icons を React で使うには?
@iconify/react をインストールして <Icon icon="bytesize:desktop" /> を描画するか、このページのアイコンを開いて単体の React コンポーネントとしてコピーしてください。
Bytesize Icons のサイズは?
Bytesize Icons は 32px グリッドでデザインされています。SVG なので、どのサイズに拡大・縮小しても画質が落ちません。