magnifying-glass · Heroicons
Free SVG magnifying-glass icon from Heroicons. Rendered at 24×24 in the stroke style and licensed under MIT. Copy directly as SVG, React (JSX), or Vue. Download as SVG or PNG. No login, no attribution required for MIT licensed icons.
Tags
- magnifying
- glass
- outline
Code
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" width="24" height="24"><path stroke-linecap="round" stroke-linejoin="round" d="m21 21-5.197-5.197m0 0A7.5 7.5 0 1 0 5.196 5.196a7.5 7.5 0 0 0 10.607 10.607Z"/></svg>
// Run: npx sant-icons get heroicons-magnifying-glass --format react
export function HeroiconsMagnifyingGlass(props) {
return (
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" width="24" height="24" {...props}><path stroke-linecap="round" stroke-linejoin="round" d="m21 21-5.197-5.197m0 0A7.5 7.5 0 1 0 5.196 5.196a7.5 7.5 0 0 0 10.607 10.607Z"/></svg>
);
}npx sant-icons get heroicons-magnifying-glass
Properties
magnifying-glass in other libraries
Related from Heroicons
The magnifying-glass icon ships with Heroicons, an open-source icon set licensed under MIT. Search for it as "heroicons magnifying-glass", "magnifying-glass svg", or any of its tagged terms (magnifying, glass, outline). The SVG is normalised to a 24×24 viewBox so you can drop it into any UI framework alongside the other icons here without scaling concerns.
Need this icon in your codebase fast? Install the MCP server for Claude Code (or any MCP-aware AI tool) and ask the model to fetch heroicons-magnifying-glass directly into your project. No browser context-switch.