ICONYZ
English
Editor Code Block icon from OpenSearch UI

Editor Code Block icon

oui:editor-code-block

The Editor Code Block icon (oui:editor-code-block) is a free SVG icon from the OpenSearch UI set by OpenSearch Contributors. It is drawn on a 24 × 24 grid. OpenSearch UI icons are released under the Apache 2.0 license, which allows use in personal and commercial projects. Copy it as SVG, JSX, Vue or Svelte code, or download the SVG file.

Icon set
OpenSearch UI
Author
OpenSearch Contributors
License
Apache-2.0
Size
24 × 24
Tags
editorcode, codeblock, editorcodeblock
Download SVG

SVG code

<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path fill="currentColor" d="M2.414 8.036L4.89 10.51a.5.5 0 0 1-.707.708L1.354 8.389a.5.5 0 0 1 0-.707l2.828-2.828a.5.5 0 1 1 .707.707zm8.768 2.474l2.475-2.474l-2.475-2.475a.5.5 0 0 1 .707-.707l2.829 2.828a.5.5 0 0 1 0 .707l-2.829 2.829a.5.5 0 1 1-.707-.708M8.559 2.506a.5.5 0 0 1 .981.19L7.441 13.494a.5.5 0 0 1-.981-.19z"/></svg>

How to use the Editor Code Block icon

React

import { Icon } from "@iconify/react";

<Icon icon="oui:editor-code-block" width="24" />

Vue

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

<template>
  <Icon icon="oui:editor-code-block" width="24" />
</template>

Svelte

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

<Icon icon="oui:editor-code-block" width="24" />

Tailwind CSS

<!-- @iconify/tailwind plugin -->
<span class="icon-[oui--editor-code-block]"></span>

UnoCSS

<!-- @unocss/preset-icons + @iconify-json/oui -->
<div class="i-oui:editor-code-block"></div>

Web component

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

<iconify-icon icon="oui:editor-code-block"></iconify-icon>

HTML image

<img src="https://iconyz.com/api/public/svg/oui/editor-code-block.svg" alt="Editor Code Block icon" width="24" height="24">

Related icons in OpenSearch UI

Editor Code Block icon FAQ

Is the Editor Code Block icon free for commercial use?

Yes. OpenSearch UI icons are released under the Apache 2.0 license, which allows use in personal and commercial projects.

How do I use the Editor Code Block icon in React?

Install @iconify/react and render <Icon icon="oui:editor-code-block" />, or use “Copy code” on this page to get a standalone React component.

How do I add the Editor Code Block icon to a web page?

Link the SVG file in an image tag: <img src="https://iconyz.com/api/public/svg/oui/editor-code-block.svg" alt="Editor Code Block icon">, or paste the SVG code inline to style it with CSS.

Browse all OpenSearch UI icons →