John KuehJohn Kueh

document magnifying glass icon

Heroicons · document-magnifying-glass · MIT

Download SVG

The Heroicons document magnifying glass icon visually represents searching or inspecting a document, commonly used for search, find, or view functionalities.

Common uses

  • Search bar input
  • Document search results page
  • View document details

Use it in React

Install
npm i @heroicons/react
Import & render
import { DocumentMagnifyingGlassIcon } from '@heroicons/react/24/outline';

<DocumentMagnifyingGlassIcon className="size-6" />

Styles

Heroicons ships this icon in 4 styles — each its own import:

24/outline
<DocumentMagnifyingGlassIcon className="size-6" />
24/solid
<DocumentMagnifyingGlassIcon className="size-6" />
20/solid
<DocumentMagnifyingGlassIcon className="size-6" />
16/solid
<DocumentMagnifyingGlassIcon className="size-6" />

Details

Library
Heroicons (324 icons)
License
MIT
viewBox
0 0 24 24
Keywords
documentmagnifyingglasssearch documentfind documentinspect documentdocument search

FAQ

What is the document magnifying glass icon used for?
It's typically used to indicate search, find, or view operations, especially when dealing with documents or text.
How do I use this icon in React?
Import it from Heroicons like this: `import { DocumentMagnifyingGlassIcon } from '@heroicons/react/24/outline'`. Then use it as a React component.
What is the license for this icon?
The Heroicons library, including this icon, is available under the MIT license.

Related icons

The same idea in other libraries, and near matches in Heroicons.

Looking for something else? Search Heroicons and 4 more libraries by description →

The search behind these pages runs as a Claude Code skill. What skills are and how I ship them →