Search icon
boxicons:search
The Search icon (boxicons:search) is a free SVG icon from the Boxicons set. It is drawn on a 24 × 24 grid. Boxicons 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.
SVG code
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path fill="currentColor" d="M18 10c0-4.41-3.59-8-8-8s-8 3.59-8 8s3.59 8 8 8c1.85 0 3.54-.63 4.9-1.69l5.1 5.1L21.41 20l-5.1-5.1A8 8 0 0 0 18 10M4 10c0-3.31 2.69-6 6-6s6 2.69 6 6s-2.69 6-6 6s-6-2.69-6-6"/></svg>How to use the Search icon
React
import { Icon } from "@iconify/react";
<Icon icon="boxicons:search" width="24" />Vue
<script setup>
import { Icon } from "@iconify/vue";
</script>
<template>
<Icon icon="boxicons:search" width="24" />
</template>Svelte
<script>
import Icon from "@iconify/svelte";
</script>
<Icon icon="boxicons:search" width="24" />Tailwind CSS
<!-- @iconify/tailwind plugin -->
<span class="icon-[boxicons--search]"></span>UnoCSS
<!-- @unocss/preset-icons + @iconify-json/boxicons -->
<div class="i-boxicons:search"></div>Web component
<script src="https://code.iconify.design/iconify-icon/2.1.0/iconify-icon.min.js"></script>
<iconify-icon icon="boxicons:search"></iconify-icon>HTML image
<img src="https://iconyz.com/api/public/svg/boxicons/search.svg" alt="Search icon" width="24" height="24">Related icons in Boxicons
search-alt
search-alt-filled
search-big
search-big-code
search-big-code-filled
search-big-filled
search-big-minus
search-big-minus-filled
search-big-plus
search-big-plus-filled
search-big-x
search-big-x-filled
search-code
search-code-filled
search-filled
search-minus
search-minus-filled
search-plus
search-plus-filled
search-x
search-x-filled
Search icon in other icon sets
Search icon FAQ
Is the Search icon free for commercial use?
Yes. Boxicons are released under the MIT license, which allows use in personal and commercial projects.
How do I use the Search icon in React?
Install @iconify/react and render <Icon icon="boxicons:search" />, or use “Copy code” on this page to get a standalone React component.
How do I add the Search icon to a web page?
Link the SVG file in an image tag: <img src="https://iconyz.com/api/public/svg/boxicons/search.svg" alt="Search icon">, or paste the SVG code inline to style it with CSS.