Code icon
Angle brackets with a slash, for code and developers.
About the code icon
Code is one of 33 icons in Programming, drawn next to cloud code and cloud code 2. The Line styles draw it with 3 shapes at a 1.5px stroke. It is an open drawing, so the Solid styles keep the same lines at 2px instead of filling them. Rounded has soft corners and round line ends, Sharp has square ones, and all four line up on the same 24px grid, so switching style never moves anything.
It is one of the 200 free icons, so you can use it in personal and client work at no cost. Copy it above, download the file, or get it from the free React package.
- Name
- code
- Category
- Programming
- Styles
- Rounded and Sharp, Line and Solid
- React
- Code, CodeIcon
- License
- Free, commercial use
- Also called
- developer, html, source code, embed
Use the code icon
React
@neaticons/react exports it as Code. It is in the free edition on npm, no key needed.
import { Code } from "@neaticons/react"
import { Code as CodeSolid } from "@neaticons/react/rounded-solid"
import CodeSharp from "@neaticons/react/sharp-stroke/code"
<Code size={24} />
<CodeSolid color="#0A84FF" title="Code" />SVG
The free zip has it as code.svg in each style folder. Or take one file:
/icons/svg/rounded-stroke/code.svg /icons/svg/rounded-solid/code.svg /icons/svg/sharp-stroke/code.svg /icons/svg/sharp-solid/code.svg
Figma
It is in the free Community file, on the Icons page under Programming. It is one component set named code: drop it in, then switch Family (Rounded, Sharp) and Style (Stroke, Solid) in the right panel. More on Figma.
MCP for AI agents
Ask your agent in plain words. A search for “code” returns code first, then the agent pulls the code. The MCP comes with Personal and Team. Set it up.
search_icons({ query: "code" })
get_icon({ name: "code", style: "rounded-solid", format: "jsx" })