ICONYZ
English
Document Magnifying Glass icon from HeroIcons

Document Magnifying Glass icon

heroicons:document-magnifying-glass

The Document Magnifying Glass icon (heroicons:document-magnifying-glass) is a free SVG icon from the HeroIcons set by Refactoring UI Inc. It is drawn on a 24 × 24 grid. HeroIcons 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
HeroIcons
Author
Refactoring UI Inc
License
MIT
Size
24 × 24
Tags
documentmagnifying, magnifyingglass, documentmagnifyingglass
Download SVG

SVG code

<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="1.5" d="M19.5 14.25v-2.625a3.375 3.375 0 0 0-3.375-3.375h-1.5A1.125 1.125 0 0 1 13.5 7.125v-1.5a3.375 3.375 0 0 0-3.375-3.375H8.25m5.231 13.481L15 17.25m-4.5-15H5.625c-.621 0-1.125.504-1.125 1.125v16.5c0 .621.504 1.125 1.125 1.125h12.75c.621 0 1.125-.504 1.125-1.125V11.25a9 9 0 0 0-9-9m3.75 11.625a2.625 2.625 0 1 1-5.25 0a2.625 2.625 0 0 1 5.25 0"/></svg>

How to use the Document Magnifying Glass icon

React

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

<Icon icon="heroicons:document-magnifying-glass" width="24" />

Vue

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

<template>
  <Icon icon="heroicons:document-magnifying-glass" width="24" />
</template>

Svelte

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

<Icon icon="heroicons:document-magnifying-glass" width="24" />

Tailwind CSS

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

UnoCSS

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

Web component

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

<iconify-icon icon="heroicons:document-magnifying-glass"></iconify-icon>

HTML image

<img src="https://iconyz.com/api/public/svg/heroicons/document-magnifying-glass.svg" alt="Document Magnifying Glass icon" width="24" height="24">

Related icons in HeroIcons

Document Magnifying Glass icon FAQ

Is the Document Magnifying Glass icon free for commercial use?

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

How do I use the Document Magnifying Glass icon in React?

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

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

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

Browse all HeroIcons →