Gravity UI Icons
gravity-ui · 809 個のアイコン · 作者: YANDEX LLC · MIT · 単色 · 16px グリッド · 更新日
Gravity UI Icons は、809 個の SVG アイコンを収録した無料のオープンソースアイコンセットです(作者: YANDEX LLC)。MIT ライセンス で公開されています。アイコンは単色で、テキストの色(currentColor)に合わせて表示され、CSS で色を変更できます。16px グリッドでデザインされており、SVG なのできれいに拡大・縮小できます。
Gravity UI Icons のデザイン仕様
- 塗りつぶし
- モノクロ
SVG ファイルから計測した、このセットの描画ルールです。セットに合う新しいアイコンをデザインする際に使えます。
| キャンバス | 24 × 24 |
|---|---|
| viewBox | 0 0 24 24 |
| 描画領域 | 22 × 22、余白 1 |
| 描画スタイル | 塗りつぶし図形 |
| 角の半径 | 0.75 |
| 色 | 単色(currentColor)、CSS で色を変更可能 |
| 座標 | 小数点以下最大 3 桁 |
| 直線 | 水平・垂直 65%、45° 8% |
| 曲線 | 描画コマンドの 59% |
| 対称性 | アイコンの 43% が左右対称 |
| アイコンあたりの要素数 | 1.1 |
| アイコンあたりの描画コマンド数 | 25 |
このセットのアイコン 63 個から計測しました。
AI によるアイコン生成
ライセンス上、このセットをもとにした新しいアイコンを作成できます。
- オリジナルの作者をクレジット表記してください。
クレジット表記: Based on Gravity UI Icons by YANDEX LLC, licensed under MIT. https://github.com/gravity-ui/icons/blob/main/LICENSE
LLM プロンプト用スタイルガイド(英語)
このセットのアイコンをいくつか添えてプロンプトに貼り付け、欲しいアイコンを指定してください。
You draw new icons for the "Gravity UI Icons" icon set (Iconify prefix "gravity-ui") by YANDEX LLC.
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 22x22 live area: about 1 unit of padding on every side (never less than 0).
- A typical icon's bounding box covers 33% of the canvas.
Drawing
- Filled icons: draw closed filled shapes; don't use strokes.
- Use fill-rule="evenodd" for holes.
- Round corners with a radius of about 0.75.
Geometry
- Coordinates are free-form; write at most 3 decimals.
- Straight lines: 65% horizontal or vertical, 8% at 45 degrees.
- About 59% of drawing commands are curves or arcs.
- Prefer left-right symmetric shapes (43% of icons are symmetric).
- Keep it simple: about 1 element and 25 drawing commands per icon.
- Elements used by the set: path, clippath, defs, g.
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).Gravity UI Icons について
人気の Gravity UI Icons には magnifier、bookmark fill、display、italic、caret down、ban などがあります。
アイコンを開くと、SVG・JSX・Vue・Svelte・Solid・Astro・CSS としてコピーしたり、SVG や PNG でダウンロードしたりできます。 Gravity UI Icons は MIT ライセンス で公開されており、個人・商用プロジェクトで利用できます。
Gravity UI Icons の使い方
このページのアイコンはどのフレームワークでも使えます。例では gravity-ui:magnifier を使っています。アイコンを開くと、SVG・JSX・Vue・Svelte・Solid・Astro・CSS の正確なコードをコピーできます。 サイズ、色、アクセシビリティのコツは次のガイドをご覧ください: SVG アイコンの使い方.
React
import { Icon } from "@iconify/react";
<Icon icon="gravity-ui:magnifier" width="24" />Vue
<script setup>
import { Icon } from "@iconify/vue";
</script>
<template>
<Icon icon="gravity-ui:magnifier" width="24" />
</template>Svelte
<script>
import Icon from "@iconify/svelte";
</script>
<Icon icon="gravity-ui:magnifier" width="24" />Tailwind CSS
<!-- @iconify/tailwind plugin -->
<span class="icon-[gravity-ui--magnifier]"></span>UnoCSS
<!-- @unocss/preset-icons + @iconify-json/gravity-ui -->
<div class="i-gravity-ui:magnifier"></div>Web コンポーネント
<script src="https://code.iconify.design/iconify-icon/2.1.0/iconify-icon.min.js"></script>
<iconify-icon icon="gravity-ui:magnifier"></iconify-icon>HTML 画像
<img src="https://iconyz.com/api/public/svg/gravity-ui/magnifier.svg" alt="Magnifier アイコン" width="24" height="24">Gravity UI Icons のよくある質問
Gravity UI Icons は商用利用できますか?
はい。Gravity UI Icons は MIT ライセンス で公開されており、個人・商用プロジェクトで利用できます。
Gravity UI Icons にはアイコンがいくつありますか?
Gravity UI Icons には 809 個のアイコンがあります。
Gravity UI Icons のライセンスは何ですか?
Gravity UI Icons のライセンスは MIT です。ライセンスの全文は https://github.com/gravity-ui/icons/blob/main/LICENSE で確認できます。
Gravity UI Icons の作者は?
Gravity UI Icons の作者は YANDEX LLC です。
Gravity UI Icons を React で使うには?
@iconify/react をインストールして <Icon icon="gravity-ui:magnifier" /> を描画するか、このページのアイコンを開いて単体の React コンポーネントとしてコピーしてください。
Gravity UI Icons のサイズは?
Gravity UI Icons は 16px グリッドでデザインされています。SVG なので、どのサイズに拡大・縮小しても画質が落ちません。