Code icon

A hand-drawn code icon that animates on its own: an SVG on a 24px grid in thin, regular and bold strokes. Free to download and use in the apps you build (LumioUI License). It takes your text colour through currentColor.

Category
Interface
Grid
24 × 24
Strokes
1.5 · 2 · 2.5
Name
code

Stroke weights and sizes

Code icon, thin · 1.5 stroke
Thin · 1.5
Code icon, regular · 2 stroke
Regular · 2
Code icon, bold · 2.5 stroke
Bold · 2.5
Code icon at 16px
16px
Code icon at 24px
24px
Code icon at 32px
32px
Code icon at 48px
48px

Use it in React Native

The Icon component draws code by name, sized and coloured from your theme. Add it with npx @lumioui/cli add icon.

TSX Example.tsx
import { Icon } from "@/components/ui/icon";

<Icon name="code" size={24} />
// colour and stroke follow your theme; pass color / strokeWidth to override

SVG code

The still glyph. The animated version, linked above, plays its motion on its own with SMIL, so it needs no script.

SVG code.svg
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none"><path stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" fill="none" d="M9.6 7L5 12L9.6 17"></path><path stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" fill="none" d="M14.4 7L19 12L14.4 17"></path><line stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" fill="none" x1="13.7" y1="5.4" x2="10.3" y2="18.6"></line></svg>

On the web, link it straight from the CDN:

HTML index.html
<img src="https://cdn.lumioui.com/iconset/static/code.svg" width="24" height="24" alt="Code" />

Where LumioUI uses it

Related icons

All 670 interface icons → · Browse all 3,072 icons