ICONYZ
English
Document icon from Gitlab SVGs

Document icon

pajamas:document

The Document icon (pajamas:document) 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
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 6v8.5h-9v-13H8v2.75C8 5.216 8.784 6 9.75 6zm-.121-1.5L9.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-1z" clip-rule="evenodd"/></svg>

How to use the Document icon

React

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

<Icon icon="pajamas:document" width="24" />

Vue

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

<template>
  <Icon icon="pajamas:document" width="24" />
</template>

Svelte

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

<Icon icon="pajamas:document" width="24" />

Tailwind CSS

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

UnoCSS

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

Web component

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

<iconify-icon icon="pajamas:document"></iconify-icon>

HTML image

<img src="https://iconyz.com/api/public/svg/pajamas/document.svg" alt="Document icon" width="24" height="24">

Related icons in Gitlab SVGs

Document icon in other icon sets

Document icon FAQ

Is the Document 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 Document icon in React?

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

How do I add the Document icon to a web page?

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

Browse all Gitlab SVGs icons →