IonIcons
ion · 1,357 icons · by Ben Sperry · MIT · single-color · 32px grid · Updated
IonIcons is a free, open source icon set with 1,357 SVG icons by Ben Sperry, released under the MIT license. The icons are single-color: they follow your text color (currentColor) and can be recolored with CSS. They are designed on a 32px grid and scale cleanly as SVG.
IonIcons design specs
- outline and filled
- monochrome
- rounded
The drawing rules of this set, measured from its SVG files. Use them to design new icons that match it.
| Canvas | 512 × 512 |
|---|---|
| viewBox | 0 0 512 512 |
| Drawing area | 448 × 448, 32 padding |
| Drawing style | Mixed outline and fill |
| Stroke width | 32 |
| Line ends | Round |
| Line joins | Round |
| Corner radius | 16 |
| Colors | One color (currentColor), recolorable with CSS |
| Coordinates | Up to 2 decimals |
| Straight lines | 66% horizontal or vertical, 16% at 45° |
| Curves | 49% of drawing commands |
| Symmetry | 39% of icons are left-right symmetric |
| Elements per icon | 1.8 |
| Drawing commands per icon | 15 |
Measured from 64 icons of this set.
AI icon generation
The license allows new icons derived from this set.
- Credit the original authors.
Credit line: Based on IonIcons by Ben Sperry, licensed under MIT. https://github.com/ionic-team/ionicons/blob/main/LICENSE
Style guide for an LLM prompt (English)
Paste it into a prompt with a few icons from this set, then name the icon you want.
You draw new icons for the "IonIcons" icon set (Iconify prefix "ion") by Ben Sperry.
Style: mixed outline and fill, monochrome, rounded.
Iconify describes the set as: Precise Shapes, Has Padding.
Canvas
- Root: <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512">.
- Keep the drawing inside a 448x448 live area: about 32 units of padding on every side (never less than 11).
- A typical icon's bounding box covers 66% of the canvas.
Drawing
- Icons mix strokes and filled shapes (stroke 52%, fill 47%, mixed 2%).
- stroke-width="32" (widths used: 32 48%, 48 3%, 42 2%).
- stroke-linecap="round", stroke-linejoin="round".
- Round corners with a radius of about 16.
Geometry
- Coordinates are free-form; write at most 2 decimals.
- Straight lines: 66% horizontal or vertical, 16% at 45 degrees.
- About 49% of drawing commands are curves or arcs.
- Keep it simple: about 2 elements and 15 drawing commands per icon.
- Elements used by the set: path, rect, circle.
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).About IonIcons
Popular IonIcons include code download sharp, contrast outline, checkmark done, navigate sharp, arrow redo outline and bookmark sharp.
Open any icon to copy it as SVG, JSX, Vue, Svelte, Solid, Astro or CSS, or download it as SVG or PNG. IonIcons are released under the MIT license, which allows use in personal and commercial projects.
How to use IonIcons
Every icon on this page works in any framework. Examples use ion:code-download-sharp; open an icon to copy its exact SVG, JSX, Vue, Svelte, Solid, Astro or CSS code. For sizing, color and accessibility tips, read how to use SVG icons.
React
import { Icon } from "@iconify/react";
<Icon icon="ion:code-download-sharp" width="24" />Vue
<script setup>
import { Icon } from "@iconify/vue";
</script>
<template>
<Icon icon="ion:code-download-sharp" width="24" />
</template>Svelte
<script>
import Icon from "@iconify/svelte";
</script>
<Icon icon="ion:code-download-sharp" width="24" />Tailwind CSS
<!-- @iconify/tailwind plugin -->
<span class="icon-[ion--code-download-sharp]"></span>UnoCSS
<!-- @unocss/preset-icons + @iconify-json/ion -->
<div class="i-ion:code-download-sharp"></div>Web component
<script src="https://code.iconify.design/iconify-icon/2.1.0/iconify-icon.min.js"></script>
<iconify-icon icon="ion:code-download-sharp"></iconify-icon>HTML image
<img src="https://iconyz.com/api/public/svg/ion/code-download-sharp.svg" alt="Code Download Sharp icon" width="24" height="24">IonIcons FAQ
Are IonIcons free for commercial use?
Yes. IonIcons are released under the MIT license, which allows use in personal and commercial projects.
How many icons are in IonIcons?
IonIcons contains 1,357 icons.
What license do IonIcons use?
IonIcons are licensed under MIT. The full license text is available at https://github.com/ionic-team/ionicons/blob/main/LICENSE.
Who made IonIcons?
IonIcons are created by Ben Sperry.
How do I use IonIcons in React?
Install @iconify/react and render <Icon icon="ion:code-download-sharp" />, or open any icon on this page and copy it as a standalone React component.
What size are IonIcons?
IonIcons are designed on a 32px grid. As SVGs they scale to any size without losing quality.