ICONYZ
English

Duoicons

duo-icons · 91 icons · by fernandcf · MIT · single-color · 24px grid · Updated

Duoicons is a free, open source icon set with 91 SVG icons by fernandcf, 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.

Duoicons design specs

  • filled
  • duotone
  • monochrome

The drawing rules of this set, measured from its SVG files. Use them to design new icons that match it.

Canvas24 × 24
viewBox0 0 24 24
Drawing area20 × 20, 2 padding
Drawing styleFilled shapes
Corner radius1
ColorsOne color (currentColor), recolorable with CSS
Duotone layers100% of icons
CoordinatesUp to 3 decimals
Straight lines58% horizontal or vertical, 14% at 45°
Curves55% of drawing commands
Symmetry33% of icons are left-right symmetric
Elements per icon2.2
Drawing commands per icon28

Measured from 61 icons of this set.

AI icon generation

The license allows new icons derived from this set.

  • Credit the original authors.

Credit line: Based on Duoicons by fernandcf, licensed under MIT. https://github.com/fazdiu/duo-icons/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 "Duoicons" icon set (Iconify prefix "duo-icons") by fernandcf.
Style: filled, solid, duotone, 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 20x20 live area: about 2 units of padding on every side (never less than 0.95).
- A typical icon's bounding box covers 63% of the canvas.

Drawing
- Filled icons: draw closed filled shapes; don't use strokes.
- Round corners with a radius of about 1.

Geometry
- Coordinates are free-form; write at most 3 decimals.
- Straight lines: 58% horizontal or vertical, 14% at 45 degrees.
- About 55% of drawing commands are curves or arcs.
- Keep it simple: about 2 elements and 28 drawing commands per icon.
- Elements used by the set: path.

Color
- Monochrome: paint with currentColor only, never a fixed color.
- Duotone: add a second layer of the same color at opacity .3 to .4 (100% of icons).

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).
Page 1 of 1

About Duoicons

Popular Duoicons include credit card, check circle, box, folder open, clapperboard and message 2.

Open any icon to copy it as SVG, JSX, Vue, Svelte, Solid, Astro or CSS, or download it as SVG or PNG. Duoicons are released under the MIT license, which allows use in personal and commercial projects.

How to use Duoicons

Every icon on this page works in any framework. Examples use duo-icons:credit-card; 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="duo-icons:credit-card" width="24" />

Vue

<script setup>
import { Icon } from "@iconify/vue";
</script>

<template>
  <Icon icon="duo-icons:credit-card" width="24" />
</template>

Svelte

<script>
  import Icon from "@iconify/svelte";
</script>

<Icon icon="duo-icons:credit-card" width="24" />

Tailwind CSS

<!-- @iconify/tailwind plugin -->
<span class="icon-[duo-icons--credit-card]"></span>

UnoCSS

<!-- @unocss/preset-icons + @iconify-json/duo-icons -->
<div class="i-duo-icons:credit-card"></div>

Web component

<script src="https://code.iconify.design/iconify-icon/2.1.0/iconify-icon.min.js"></script>

<iconify-icon icon="duo-icons:credit-card"></iconify-icon>

HTML image

<img src="https://iconyz.com/api/public/svg/duo-icons/credit-card.svg" alt="Credit Card icon" width="24" height="24">

Duoicons FAQ

Are Duoicons free for commercial use?

Yes. Duoicons are released under the MIT license, which allows use in personal and commercial projects.

How many icons are in Duoicons?

Duoicons contains 91 icons.

What license do Duoicons use?

Duoicons are licensed under MIT. The full license text is available at https://github.com/fazdiu/duo-icons/blob/master/LICENSE.

Who made Duoicons?

Duoicons are created by fernandcf.

How do I use Duoicons in React?

Install @iconify/react and render <Icon icon="duo-icons:credit-card" />, or open any icon on this page and copy it as a standalone React component.

What size are Duoicons?

Duoicons are designed on a 24px grid. As SVGs they scale to any size without losing quality.

Similar icon sets