Code icon

Microsoft uses it in coding scenarios. The Code icon is tagged bracket and slash. Similar Fluent icons include Code Block, Code Circle and Code Text.

Regular (outlined)

SVG

Filled

SVG
Code Color

Color

SVG

Every size and style

Microsoft draws each size separately so icons stay crisp, rather than scaling one drawing. Pick a style and size to preview it, download it, or copy the code for your platform.

Regular, 24 px

ic_fluent_code_24_regular.svg

Code icon in React

npm install @fluentui/react-icons

import { Code24Regular } from "@fluentui/react-icons";

export function Example() {
  return <Code24Regular aria-label="Code" />;
}

Use the Code icon in React

Import Code24Regular and Code24Filled from Microsoft's @fluentui/react-icons package; the code tabs above have this and other platforms. Coding agents can look the component up through the Fluent Icons MCP server.

Details

NameCode
StylesRegular (outlined), Filled, Color
Sizes16 px, 20 px, 24 px
Regular (outlined) fileic_fluent_code_24_regular.svg
Filled fileic_fluent_code_24_filled.svg
Color fileic_fluent_code_24_color.svg
React (Regular)Code16Regular, Code20Regular, Code24Regular
React (Filled)Code16Filled, Code20Filled, Code24Filled
React (Color)Code16Color, Code20Color, Code24Color
Font glyph (Regular, 24 px)U+F2F0 · &#xF2F0;
Font glyph (Filled, 24 px)U+F2F0 · &#xF2F0;
LicenseMIT (© Microsoft Corporation)

Keywords

slash

Also in Material Symbols

Code iconCodeGoogle's version of this icon, on Materialicons

Similar icons