ICONYZ
English
Book icon from Gitlab SVGs

Book icon

pajamas:book

The Book icon (pajamas:book) 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="M2.25 2a2 2 0 0 1 2-2H13a.75.75 0 0 1 .75.75v10.5A.75.75 0 0 1 13 12H7.5v1.5H13a.75.75 0 0 1 0 1.5H7.5v1H6v-1H4.5a2.25 2.25 0 0 1-2.25-2.25zM6 13.5V12H4.5a.75.75 0 0 0 0 1.5zm6.25-12v9H4.5q-.396.002-.75.128V2a.5.5 0 0 1 .5-.5z" clip-rule="evenodd"/></svg>

How to use the Book icon

React

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

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

Vue

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

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

Svelte

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

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

Tailwind CSS

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

UnoCSS

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

Web component

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

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

HTML image

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

Related icons in Gitlab SVGs

Book icon in other icon sets

Book icon FAQ

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

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

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

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

Browse all Gitlab SVGs icons →