HeroIcons v1 Outline icons
heroicons-outline · 230 icons · by Refactoring UI Inc · MIT · single-color · 24px grid · Updated
HeroIcons v1 Outline icons is a free, open source icon set with 230 SVG icons by Refactoring UI Inc, 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 24px grid and scale cleanly as SVG.
HeroIcons v1 Outline 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 | 20 × 20, 2 padding |
| Drawing style | Outline (strokes) |
| Stroke width | 2 |
| Line ends | Round |
| Line joins | Round |
| Corner radius | 2 |
| Colors | One color (currentColor), recolorable with CSS |
| Coordinates | Whole units |
| Straight lines | 71% horizontal or vertical, 17% at 45° |
| Curves | 40% of drawing commands |
| Symmetry | 48% of icons are left-right symmetric |
| Elements per icon | 1.1 |
| Drawing commands per icon | 11 |
Measured from 62 icons of this set.
AI icon generation
The license allows new icons derived from this set.
- Credit the original authors.
Credit line: Based on HeroIcons v1 Outline by Refactoring UI Inc, licensed under MIT. https://github.com/tailwindlabs/heroicons/blob/master/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 "HeroIcons v1 Outline" icon set (Iconify prefix "heroicons-outline") by Refactoring UI Inc.
Style: outline, line, 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.15).
- A typical icon's bounding box covers 63% of the canvas.
Drawing
- Outline icons: draw with strokes only and fill="none"; solid shapes are the exception.
- stroke-width="2".
- stroke-linecap="round", stroke-linejoin="round".
- Round corners with a radius of about 2.
Geometry
- Put coordinates on whole units (85% are integers).
- Straight lines: 71% horizontal or vertical, 17% at 45 degrees.
- About 40% of drawing commands are curves or arcs.
- Prefer left-right symmetric shapes (48% of icons are symmetric).
- Keep it simple: about 1 element and 11 drawing commands per icon.
- Elements used by the set: path, 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).About HeroIcons v1 Outline icons
Popular HeroIcons v1 Outline icons include color swatch, library, receipt refund, bookmark, cloud and folder.
Open any icon to copy it as SVG, JSX, Vue, Svelte, Solid, Astro or CSS, or download it as SVG or PNG. HeroIcons v1 Outline icons are released under the MIT license, which allows use in personal and commercial projects. Note: this set is no longer actively maintained upstream.
How to use HeroIcons v1 Outline icons
Every icon on this page works in any framework. Examples use heroicons-outline:color-swatch; 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="heroicons-outline:color-swatch" width="24" />Vue
<script setup>
import { Icon } from "@iconify/vue";
</script>
<template>
<Icon icon="heroicons-outline:color-swatch" width="24" />
</template>Svelte
<script>
import Icon from "@iconify/svelte";
</script>
<Icon icon="heroicons-outline:color-swatch" width="24" />Tailwind CSS
<!-- @iconify/tailwind plugin -->
<span class="icon-[heroicons-outline--color-swatch]"></span>UnoCSS
<!-- @unocss/preset-icons + @iconify-json/heroicons-outline -->
<div class="i-heroicons-outline:color-swatch"></div>Web component
<script src="https://code.iconify.design/iconify-icon/2.1.0/iconify-icon.min.js"></script>
<iconify-icon icon="heroicons-outline:color-swatch"></iconify-icon>HTML image
<img src="https://iconyz.com/api/public/svg/heroicons-outline/color-swatch.svg" alt="Color Swatch icon" width="24" height="24">HeroIcons v1 Outline icons FAQ
Are HeroIcons v1 Outline icons free for commercial use?
Yes. HeroIcons v1 Outline icons are released under the MIT license, which allows use in personal and commercial projects.
How many icons are in HeroIcons v1 Outline icons?
HeroIcons v1 Outline icons contains 230 icons.
What license do HeroIcons v1 Outline icons use?
HeroIcons v1 Outline icons are licensed under MIT. The full license text is available at https://github.com/tailwindlabs/heroicons/blob/master/LICENSE.
Who made HeroIcons v1 Outline icons?
HeroIcons v1 Outline icons are created by Refactoring UI Inc.
How do I use HeroIcons v1 Outline icons in React?
Install @iconify/react and render <Icon icon="heroicons-outline:color-swatch" />, or open any icon on this page and copy it as a standalone React component.
What size are HeroIcons v1 Outline icons?
HeroIcons v1 Outline icons are designed on a 24px grid. As SVGs they scale to any size without losing quality.