ICONYZ
English

CodeX Icons

codex · 78 icons · by CodeX · MIT · single-color · Updated

CodeX Icons is a free, open source icon set with 78 SVG icons by CodeX, released under the MIT license. The icons are single-color: they follow your text color (currentColor) and can be recolored with CSS.

CodeX 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.

Canvas24 × 24
viewBox0 0 24 24
Drawing area16 × 16, 4 padding
Drawing styleOutline (strokes)
Stroke width2
Line endsRound
Line joinsSharp
Corner radius4
ColorsOne color (currentColor), recolorable with CSS
CoordinatesUp to 3 decimals
Straight lines63% horizontal or vertical, 20% at 45°
Curves37% of drawing commands
Symmetry41% of icons are left-right symmetric
Elements per icon1.5
Drawing commands per icon8

Measured from 63 icons of this set.

AI icon generation

The license allows new icons derived from this set.

  • Credit the original authors.

Credit line: Based on CodeX Icons by CodeX, licensed under MIT. https://github.com/codex-team/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 "CodeX Icons" icon set (Iconify prefix "codex") by CodeX.
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 16x16 live area: about 4 units of padding on every side (never less than 2.8).
- A typical icon's bounding box covers 32% of the canvas.

Drawing
- Outline icons: draw with strokes only and fill="none"; solid shapes are the exception.
- stroke-width="2" (widths used: 2 92%, 2.6 6%, 1.6 2%).
- stroke-linecap="round", stroke-linejoin="miter".
- Round corners with a radius of about 4.

Geometry
- Coordinates are free-form; write at most 3 decimals.
- Straight lines: 63% horizontal or vertical, 20% at 45 degrees.
- About 37% of drawing commands are curves or arcs.
- Prefer left-right symmetric shapes (41% of icons are symmetric).
- Keep it simple: about 1 element and 8 drawing commands per icon.
- Elements used by the set: path, g, rect, circle, animatetransform, ellipse.

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

About CodeX Icons

Popular CodeX Icons include align left, table with headings, heading, delimiter, dot circle and plus.

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

How to use CodeX Icons

Every icon on this page works in any framework. Examples use codex:align-left; 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="codex:align-left" width="24" />

Vue

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

<template>
  <Icon icon="codex:align-left" width="24" />
</template>

Svelte

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

<Icon icon="codex:align-left" width="24" />

Tailwind CSS

<!-- @iconify/tailwind plugin -->
<span class="icon-[codex--align-left]"></span>

UnoCSS

<!-- @unocss/preset-icons + @iconify-json/codex -->
<div class="i-codex:align-left"></div>

Web component

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

<iconify-icon icon="codex:align-left"></iconify-icon>

HTML image

<img src="https://iconyz.com/api/public/svg/codex/align-left.svg" alt="Align Left icon" width="24" height="24">

CodeX Icons FAQ

Are CodeX Icons free for commercial use?

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

How many icons are in CodeX Icons?

CodeX Icons contains 78 icons.

What license do CodeX Icons use?

CodeX Icons are licensed under MIT. The full license text is available at https://github.com/codex-team/icons/blob/master/LICENSE.

Who made CodeX Icons?

CodeX Icons are created by CodeX.

How do I use CodeX Icons in React?

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

Similar icon sets