ICONYZ
English
Magnifying Glass icon from Open Iconic

Magnifying Glass icon

oi:magnifying-glass

The Magnifying Glass icon (oi:magnifying-glass) is a free SVG icon from the Open Iconic set by Iconic. It is drawn on a 8 × 8 grid. Open Iconic 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
Open Iconic
Author
Iconic
License
MIT
Size
8 × 8
Tags
magnifyingglass
Download SVG

SVG code

<svg xmlns="http://www.w3.org/2000/svg" width="8" height="8" viewBox="0 0 8 8"><path fill="currentColor" d="M3.5 0C1.57 0 0 1.57 0 3.5S1.57 7 3.5 7c.59 0 1.17-.14 1.66-.41a1 1 0 0 0 .13.13l1 1a1.02 1.02 0 1 0 1.44-1.44l-1-1a1 1 0 0 0-.16-.13c.27-.49.44-1.06.44-1.66c0-1.93-1.57-3.5-3.5-3.5zm0 1C4.89 1 6 2.11 6 3.5c0 .66-.24 1.27-.66 1.72l-.03.03a1 1 0 0 0-.13.13c-.44.4-1.04.63-1.69.63c-1.39 0-2.5-1.11-2.5-2.5s1.11-2.5 2.5-2.5z"/></svg>

How to use the Magnifying Glass icon

React

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

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

Vue

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

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

Svelte

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

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

Tailwind CSS

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

UnoCSS

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

Web component

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

<iconify-icon icon="oi:magnifying-glass"></iconify-icon>

HTML image

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

Magnifying Glass icon in other icon sets

Magnifying Glass icon FAQ

Is the Magnifying Glass icon free for commercial use?

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

How do I use the Magnifying Glass icon in React?

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

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

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

Browse all Open Iconic icons →