Charm Icons
charm · 261 icons · by Jay Newey · MIT · single-color · 16px grid · Updated
Charm Icons is a free, open source icon set with 261 SVG icons by Jay Newey, 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 16px grid and scale cleanly as SVG.
Charm Icons design specs
- outline
- monochrome
- rounded
The drawing rules of this set, measured from its SVG files. Use them to design new icons that match it.
| Canvas | 24 × 24 |
|---|---|
| viewBox | 0 0 24 24 |
| Drawing area | 22 × 22, 1 padding |
| Drawing style | Outline (strokes) |
| Stroke width | 1.5 |
| Line ends | Round |
| Line joins | Round |
| Colors | One color (currentColor), recolorable with CSS |
| Coordinates | Up to 3 decimals |
| Straight lines | 55% horizontal or vertical, 15% at 45° |
| Curves | 18% of drawing commands |
| Symmetry | 55% of icons are left-right symmetric |
| Elements per icon | 2 |
| Drawing commands per icon | 7 |
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 Charm Icons by Jay Newey, licensed under MIT. https://github.com/jaynewey/charm-icons/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 "Charm Icons" icon set (Iconify prefix "charm") by Jay Newey.
Style: outline, line, monochrome, rounded.
Iconify describes the set as: Has Padding, Uses Stroke.
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.5).
- A typical icon's bounding box covers 30% of the canvas.
Drawing
- Outline icons: draw with strokes only and fill="none"; solid shapes are the exception.
- stroke-width="1.5".
- stroke-linecap="round", stroke-linejoin="round".
- Wrap the shapes in <g fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="1.5">, as 69% of the set does.
Geometry
- Coordinates are free-form; write at most 3 decimals.
- Straight lines: 55% horizontal or vertical, 15% at 45 degrees.
- About 18% of drawing commands are curves or arcs.
- Prefer left-right symmetric shapes (55% of icons are symmetric).
- Keep it simple: about 2 elements and 7 drawing commands per icon.
- Elements used by the set: path, g, circle, rect, polygon, polyline, line.
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 Charm Icons
Popular Charm Icons include chart line, image, thumb up, diamond, diff and tick.
Open any icon to copy it as SVG, JSX, Vue, Svelte, Solid, Astro or CSS, or download it as SVG or PNG. Charm Icons are released under the MIT license, which allows use in personal and commercial projects.
How to use Charm Icons
Every icon on this page works in any framework. Examples use charm:chart-line; 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="charm:chart-line" width="24" />Vue
<script setup>
import { Icon } from "@iconify/vue";
</script>
<template>
<Icon icon="charm:chart-line" width="24" />
</template>Svelte
<script>
import Icon from "@iconify/svelte";
</script>
<Icon icon="charm:chart-line" width="24" />Tailwind CSS
<!-- @iconify/tailwind plugin -->
<span class="icon-[charm--chart-line]"></span>UnoCSS
<!-- @unocss/preset-icons + @iconify-json/charm -->
<div class="i-charm:chart-line"></div>Web component
<script src="https://code.iconify.design/iconify-icon/2.1.0/iconify-icon.min.js"></script>
<iconify-icon icon="charm:chart-line"></iconify-icon>HTML image
<img src="https://iconyz.com/api/public/svg/charm/chart-line.svg" alt="Chart Line icon" width="24" height="24">Charm Icons FAQ
Are Charm Icons free for commercial use?
Yes. Charm Icons are released under the MIT license, which allows use in personal and commercial projects.
How many icons are in Charm Icons?
Charm Icons contains 261 icons.
What license do Charm Icons use?
Charm Icons are licensed under MIT. The full license text is available at https://github.com/jaynewey/charm-icons/blob/main/LICENSE.
Who made Charm Icons?
Charm Icons are created by Jay Newey.
How do I use Charm Icons in React?
Install @iconify/react and render <Icon icon="charm:chart-line" />, or open any icon on this page and copy it as a standalone React component.
What size are Charm Icons?
Charm Icons are designed on a 16px grid. As SVGs they scale to any size without losing quality.