ICONYZ
English
Archive 24 icon from Octicons

Archive 24 icon

octicon:archive-24

The Archive 24 icon (octicon:archive-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="M2.75 2h18.5c.966 0 1.75.784 1.75 1.75v3.5A1.75 1.75 0 0 1 21.25 9H2.75A1.75 1.75 0 0 1 1 7.25v-3.5C1 2.784 1.784 2 2.75 2m18.5 1.5H2.75a.25.25 0 0 0-.25.25v3.5c0 .138.112.25.25.25h18.5a.25.25 0 0 0 .25-.25v-3.5a.25.25 0 0 0-.25-.25M2.75 10a.75.75 0 0 1 .75.75v9.5c0 .138.112.25.25.25h16.5a.25.25 0 0 0 .25-.25v-9.5a.75.75 0 0 1 1.5 0v9.5A1.75 1.75 0 0 1 20.25 22H3.75A1.75 1.75 0 0 1 2 20.25v-9.5a.75.75 0 0 1 .75-.75"/><path fill="currentColor" d="M9.75 11.5a.75.75 0 0 0 0 1.5h4.5a.75.75 0 0 0 0-1.5z"/></svg>

How to use the Archive 24 icon

React

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

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

Vue

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

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

Svelte

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

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

Tailwind CSS

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

UnoCSS

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

Web component

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

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

HTML image

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

Related icons in Octicons

Archive 24 icon FAQ

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

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

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

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

Browse all Octicons →