ICONYZ
English
Doc Code icon from Gitlab SVGs

Doc Code icon

pajamas:doc-code

The Doc Code icon (pajamas:doc-code) is a free SVG icon from the Gitlab SVGs set by GitLab B.V.. It is drawn on a 24 × 24 grid. Gitlab SVGs icons are released under the MIT 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
Gitlab SVGs
Author
GitLab B.V.
License
MIT
Size
24 × 24
Tags
doccode
Download SVG

SVG code

<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path fill="currentColor" fill-rule="evenodd" d="M12.5 14.5V6H9.75A1.75 1.75 0 0 1 8 4.25V1.5H3.5v13zm-.121-10L9.5 1.621V4.25c0 .138.112.25.25.25zM2 1a1 1 0 0 1 1-1h6.586a1 1 0 0 1 .707.293l3.414 3.414a1 1 0 0 1 .293.707V15a1 1 0 0 1-1 1H3a1 1 0 0 1-1-1zm5.75 10.5a.75.75 0 0 0 0 1.5h2.5a.75.75 0 0 0 0-1.5zM6.28 6.22a.75.75 0 0 0-1.06 1.06L6.44 8.5L5.22 9.72a.75.75 0 1 0 1.06 1.06l1.75-1.75l.53-.53l-.53-.53z" clip-rule="evenodd"/></svg>

How to use the Doc Code icon

React

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

<Icon icon="pajamas:doc-code" width="24" />

Vue

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

<template>
  <Icon icon="pajamas:doc-code" width="24" />
</template>

Svelte

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

<Icon icon="pajamas:doc-code" width="24" />

Tailwind CSS

<!-- @iconify/tailwind plugin -->
<span class="icon-[pajamas--doc-code]"></span>

UnoCSS

<!-- @unocss/preset-icons + @iconify-json/pajamas -->
<div class="i-pajamas:doc-code"></div>

Web component

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

<iconify-icon icon="pajamas:doc-code"></iconify-icon>

HTML image

<img src="https://iconyz.com/api/public/svg/pajamas/doc-code.svg" alt="Doc Code icon" width="24" height="24">

Related icons in Gitlab SVGs

Doc Code icon FAQ

Is the Doc Code icon free for commercial use?

Yes. Gitlab SVGs icons are released under the MIT license, which allows use in personal and commercial projects.

How do I use the Doc Code icon in React?

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

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

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

Browse all Gitlab SVGs icons →