Majesticons
majesticons · 760 個のアイコン · 作者: Gerrit Halfmann · MIT · 単色 · 24px グリッド · 更新日
Majesticons は、760 個の SVG アイコンを収録した無料のオープンソースアイコンセットです(作者: Gerrit Halfmann)。MIT ライセンス で公開されています。アイコンは単色で、テキストの色(currentColor)に合わせて表示され、CSS で色を変更できます。24px グリッドでデザインされており、SVG なのできれいに拡大・縮小できます。
Majesticons のデザイン仕様
- アウトラインと塗り
- モノクロ
- 角丸
SVG ファイルから計測した、このセットの描画ルールです。セットに合う新しいアイコンをデザインする際に使えます。
| キャンバス | 24 × 24 |
|---|---|
| viewBox | 0 0 24 24 |
| 描画領域 | 20 × 20、余白 2 |
| 描画スタイル | アウトラインと塗りの混在 |
| 線幅 | 2 |
| 線端 | 丸 |
| 線の結合 | 丸 |
| 角の半径 | 1 |
| 色 | 単色(currentColor)、CSS で色を変更可能 |
| 座標 | 整数と 0.5 単位 |
| 直線 | 水平・垂直 77%、45° 11% |
| 曲線 | 描画コマンドの 42% |
| 対称性 | アイコンの 27% が左右対称 |
| アイコンあたりの要素数 | 1.3 |
| アイコンあたりの描画コマンド数 | 14 |
このセットのアイコン 62 個から計測しました。
AI によるアイコン生成
ライセンス上、このセットをもとにした新しいアイコンを作成できます。
- オリジナルの作者をクレジット表記してください。
クレジット表記: Based on Majesticons by Gerrit Halfmann, licensed under MIT. https://github.com/halfmage/majesticons/blob/main/LICENSE
LLM プロンプト用スタイルガイド(英語)
このセットのアイコンをいくつか添えてプロンプトに貼り付け、欲しいアイコンを指定してください。
You draw new icons for the "Majesticons" icon set (Iconify prefix "majesticons") by Gerrit Halfmann.
Style: mixed outline and fill, 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 24 24">.
- Keep the drawing inside a 20x20 live area: about 2 units of padding on every side (never less than 1).
- A typical icon's bounding box covers 59% of the canvas.
Drawing
- Icons mix strokes and filled shapes (stroke 69%, fill 19%, mixed 11%).
- stroke-width="2".
- stroke-linecap="round", stroke-linejoin="round".
- Use fill-rule="evenodd" for holes.
- Round corners with a radius of about 1.
Geometry
- Put coordinates on whole or half units (78% integers, 3% halves).
- Straight lines: 77% horizontal or vertical, 11% at 45 degrees.
- About 42% of drawing commands are curves or arcs.
- Keep it simple: about 1 element and 14 drawing commands per icon.
- Elements used by the set: path, g, circle, clippath, defs.
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).Majesticons について
人気の Majesticons には chats line、home、edit pen 4 line、pulse、send line、lightning bolt などがあります。
アイコンを開くと、SVG・JSX・Vue・Svelte・Solid・Astro・CSS としてコピーしたり、SVG や PNG でダウンロードしたりできます。 Majesticons は MIT ライセンス で公開されており、個人・商用プロジェクトで利用できます。
Majesticons の使い方
このページのアイコンはどのフレームワークでも使えます。例では majesticons:chats-line を使っています。アイコンを開くと、SVG・JSX・Vue・Svelte・Solid・Astro・CSS の正確なコードをコピーできます。 サイズ、色、アクセシビリティのコツは次のガイドをご覧ください: SVG アイコンの使い方.
React
import { Icon } from "@iconify/react";
<Icon icon="majesticons:chats-line" width="24" />Vue
<script setup>
import { Icon } from "@iconify/vue";
</script>
<template>
<Icon icon="majesticons:chats-line" width="24" />
</template>Svelte
<script>
import Icon from "@iconify/svelte";
</script>
<Icon icon="majesticons:chats-line" width="24" />Tailwind CSS
<!-- @iconify/tailwind plugin -->
<span class="icon-[majesticons--chats-line]"></span>UnoCSS
<!-- @unocss/preset-icons + @iconify-json/majesticons -->
<div class="i-majesticons:chats-line"></div>Web コンポーネント
<script src="https://code.iconify.design/iconify-icon/2.1.0/iconify-icon.min.js"></script>
<iconify-icon icon="majesticons:chats-line"></iconify-icon>HTML 画像
<img src="https://iconyz.com/api/public/svg/majesticons/chats-line.svg" alt="Chats Line アイコン" width="24" height="24">Majesticons のよくある質問
Majesticons は商用利用できますか?
はい。Majesticons は MIT ライセンス で公開されており、個人・商用プロジェクトで利用できます。
Majesticons にはアイコンがいくつありますか?
Majesticons には 760 個のアイコンがあります。
Majesticons のライセンスは何ですか?
Majesticons のライセンスは MIT です。ライセンスの全文は https://github.com/halfmage/majesticons/blob/main/LICENSE で確認できます。
Majesticons の作者は?
Majesticons の作者は Gerrit Halfmann です。
Majesticons を React で使うには?
@iconify/react をインストールして <Icon icon="majesticons:chats-line" /> を描画するか、このページのアイコンを開いて単体の React コンポーネントとしてコピーしてください。
Majesticons のサイズは?
Majesticons は 24px グリッドでデザインされています。SVG なので、どのサイズに拡大・縮小しても画質が落ちません。