Boxicons
boxicons · 3,768 個のアイコン · 作者: Boxicons · MIT · 単色 · 24px グリッド · 更新日
Boxicons は、3,768 個の SVG アイコンを収録した無料のオープンソースアイコンセットです(作者: Boxicons)。MIT ライセンス で公開されています。アイコンは単色で、テキストの色(currentColor)に合わせて表示され、CSS で色を変更できます。24px グリッドでデザインされており、SVG なのできれいに拡大・縮小できます。
Boxicons のデザイン仕様
- 塗りつぶし
- モノクロ
SVG ファイルから計測した、このセットの描画ルールです。セットに合う新しいアイコンをデザインする際に使えます。
| キャンバス | 24 × 24 |
|---|---|
| viewBox | 0 0 24 24 |
| 描画領域 | 20 × 20、余白 2 |
| 描画スタイル | 塗りつぶし図形 |
| 角の半径 | 1 |
| 色 | 単色(currentColor)、CSS で色を変更可能 |
| 座標 | 小数点以下最大 3 桁 |
| 直線 | 水平・垂直 73%、45° 8% |
| 曲線 | 描画コマンドの 45% |
| 対称性 | アイコンの 38% が左右対称 |
| アイコンあたりの要素数 | 1.3 |
| アイコンあたりの描画コマンド数 | 24 |
このセットのアイコン 64 個から計測しました。
AI によるアイコン生成
ライセンス上、このセットをもとにした新しいアイコンを作成できます。
- オリジナルの作者をクレジット表記してください。
クレジット表記: Based on Boxicons by Boxicons, licensed under MIT. https://github.com/box-icons/boxicons-core/blob/main/LICENSE
LLM プロンプト用スタイルガイド(英語)
このセットのアイコンをいくつか添えてプロンプトに貼り付け、欲しいアイコンを指定してください。
You draw new icons for the "Boxicons" icon set (Iconify prefix "boxicons") by Boxicons.
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 24 24">.
- Keep the drawing inside a 20x20 live area: about 2 units of padding on every side (never less than 1.29).
- A typical icon's bounding box covers 69% 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: 73% horizontal or vertical, 8% at 45 degrees.
- About 45% of drawing commands are curves or arcs.
- Keep it simple: about 1 element and 24 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).Boxicons について
人気の Boxicons には clock 2 filled、desk、battery filled、crop、crypto coin filled、scan などがあります。
アイコンを開くと、SVG・JSX・Vue・Svelte・Solid・Astro・CSS としてコピーしたり、SVG や PNG でダウンロードしたりできます。 Boxicons は MIT ライセンス で公開されており、個人・商用プロジェクトで利用できます。
Boxicons の使い方
このページのアイコンはどのフレームワークでも使えます。例では boxicons:clock-2-filled を使っています。アイコンを開くと、SVG・JSX・Vue・Svelte・Solid・Astro・CSS の正確なコードをコピーできます。 サイズ、色、アクセシビリティのコツは次のガイドをご覧ください: SVG アイコンの使い方.
React
import { Icon } from "@iconify/react";
<Icon icon="boxicons:clock-2-filled" width="24" />Vue
<script setup>
import { Icon } from "@iconify/vue";
</script>
<template>
<Icon icon="boxicons:clock-2-filled" width="24" />
</template>Svelte
<script>
import Icon from "@iconify/svelte";
</script>
<Icon icon="boxicons:clock-2-filled" width="24" />Tailwind CSS
<!-- @iconify/tailwind plugin -->
<span class="icon-[boxicons--clock-2-filled]"></span>UnoCSS
<!-- @unocss/preset-icons + @iconify-json/boxicons -->
<div class="i-boxicons:clock-2-filled"></div>Web コンポーネント
<script src="https://code.iconify.design/iconify-icon/2.1.0/iconify-icon.min.js"></script>
<iconify-icon icon="boxicons:clock-2-filled"></iconify-icon>HTML 画像
<img src="https://iconyz.com/api/public/svg/boxicons/clock-2-filled.svg" alt="Clock 2 Filled アイコン" width="24" height="24">Boxicons のよくある質問
Boxicons は商用利用できますか?
はい。Boxicons は MIT ライセンス で公開されており、個人・商用プロジェクトで利用できます。
Boxicons にはアイコンがいくつありますか?
Boxicons には 3,768 個のアイコンがあります。
Boxicons のライセンスは何ですか?
Boxicons のライセンスは MIT です。ライセンスの全文は https://github.com/box-icons/boxicons-core/blob/main/LICENSE で確認できます。
Boxicons の作者は?
Boxicons の作者は Boxicons です。
Boxicons を React で使うには?
@iconify/react をインストールして <Icon icon="boxicons:clock-2-filled" /> を描画するか、このページのアイコンを開いて単体の React コンポーネントとしてコピーしてください。
Boxicons のサイズは?
Boxicons は 24px グリッドでデザインされています。SVG なので、どのサイズに拡大・縮小しても画質が落ちません。