ICONYZ
English
Library 24 icon from Octicons

Library 24 icon

octicon:library-24

The Library 24 icon (octicon:library-24) is a free SVG icon from the Octicons set by GitHub. It is drawn on a 24 × 24 grid. Octicons 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
Octicons
Author
GitHub
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" d="M.683 23.174V.826a.826.826 0 0 1 1.653 0v22.348a.826.826 0 0 1-1.653 0m5.406 0V7.354a.826.826 0 0 1 1.652 0v15.82a.827.827 0 0 1-1.652 0m5.363 0V3.542a.826.826 0 0 1 1.652 0v19.632a.827.827 0 0 1-1.652 0m5.975-18.899a.827.827 0 0 1 1.012.585l4.85 18.1a.826.826 0 0 1-1.597.428l-4.85-18.1a.827.827 0 0 1 .585-1.013"/></svg>

How to use the Library 24 icon

React

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

<Icon icon="octicon:library-24" width="24" />

Vue

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

<template>
  <Icon icon="octicon:library-24" width="24" />
</template>

Svelte

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

<Icon icon="octicon:library-24" width="24" />

Tailwind CSS

<!-- @iconify/tailwind plugin -->
<span class="icon-[octicon--library-24]"></span>

UnoCSS

<!-- @unocss/preset-icons + @iconify-json/octicon -->
<div class="i-octicon:library-24"></div>

Web component

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

<iconify-icon icon="octicon:library-24"></iconify-icon>

HTML image

<img src="https://iconyz.com/api/public/svg/octicon/library-24.svg" alt="Library 24 icon" width="24" height="24">

Related icons in Octicons

Library 24 icon in other icon sets

Library 24 icon FAQ

Is the Library 24 icon free for commercial use?

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

How do I use the Library 24 icon in React?

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

How do I add the Library 24 icon to a web page?

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

Browse all Octicons →