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