search compact icon

search-compact from Codicons by Microsoft Corporation · Regular · CC-BY-4.0 Attribution required.

Name
search-compact
Set
Codicons
Style
Regular
Viewbox
12×12
License
CC BY 4.0

Related icons in Codicons

Use the search compact icon

SVG

<svg xmlns="http://www.w3.org/2000/svg" width="1em" height="1em" viewBox="0 0 12 12"><path fill="currentColor" fill-rule="evenodd" d="M5 0c2.76 0 5 2.24 5 5a4.98 4.98 0 0 1-1.125 3.155l2.985 2.986c.2.2.2.51 0 .71c-.1.1-.23.149-.35.149h-.01a.47.47 0 0 1-.35-.15L8.167 8.868A4.98 4.98 0 0 1 5 10c-2.76 0-5-2.24-5-5s2.24-5 5-5m0 1C2.79 1 1 2.79 1 5s1.79 4 4 4s4-1.79 4-4s-1.79-4-4-4" clip-rule="evenodd"/></svg>

React

import type { SVGProps } from "react";

export function CodiconSearchCompact(props: SVGProps<SVGSVGElement>) {
  return (
    <svg {...props} xmlns="http://www.w3.org/2000/svg" width="1em" height="1em" viewBox="0 0 12 12"><path fill="currentColor" fillRule="evenodd" d="M5 0c2.76 0 5 2.24 5 5a4.98 4.98 0 0 1-1.125 3.155l2.985 2.986c.2.2.2.51 0 .71c-.1.1-.23.149-.35.149h-.01a.47.47 0 0 1-.35-.15L8.167 8.868A4.98 4.98 0 0 1 5 10c-2.76 0-5-2.24-5-5s2.24-5 5-5m0 1C2.79 1 1 2.79 1 5s1.79 4 4 4s4-1.79 4-4s-1.79-4-4-4" clipRule="evenodd"/></svg>
  );
}

Vue

<template>
  <svg xmlns="http://www.w3.org/2000/svg" width="1em" height="1em" viewBox="0 0 12 12"><path fill="currentColor" fill-rule="evenodd" d="M5 0c2.76 0 5 2.24 5 5a4.98 4.98 0 0 1-1.125 3.155l2.985 2.986c.2.2.2.51 0 .71c-.1.1-.23.149-.35.149h-.01a.47.47 0 0 1-.35-.15L8.167 8.868A4.98 4.98 0 0 1 5 10c-2.76 0-5-2.24-5-5s2.24-5 5-5m0 1C2.79 1 1 2.79 1 5s1.79 4 4 4s4-1.79 4-4s-1.79-4-4-4" clip-rule="evenodd"/></svg>
</template>

CSS

.icon-search-compact {
  width: 24px;
  height: 24px;
  background-color: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%221em%22%20height%3D%221em%22%20viewBox%3D%220%200%2012%2012%22%3E%3Cpath%20fill%3D%22currentColor%22%20fill-rule%3D%22evenodd%22%20d%3D%22M5%200c2.76%200%205%202.24%205%205a4.98%204.98%200%200%201-1.125%203.155l2.985%202.986c.2.2.2.51%200%20.71c-.1.1-.23.149-.35.149h-.01a.47.47%200%200%201-.35-.15L8.167%208.868A4.98%204.98%200%200%201%205%2010c-2.76%200-5-2.24-5-5s2.24-5%205-5m0%201C2.79%201%201%202.79%201%205s1.79%204%204%204s4-1.79%204-4s-1.79-4-4-4%22%20clip-rule%3D%22evenodd%22%2F%3E%3C%2Fsvg%3E") no-repeat center / contain;
  mask: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%221em%22%20height%3D%221em%22%20viewBox%3D%220%200%2012%2012%22%3E%3Cpath%20fill%3D%22currentColor%22%20fill-rule%3D%22evenodd%22%20d%3D%22M5%200c2.76%200%205%202.24%205%205a4.98%204.98%200%200%201-1.125%203.155l2.985%202.986c.2.2.2.51%200%20.71c-.1.1-.23.149-.35.149h-.01a.47.47%200%200%201-.35-.15L8.167%208.868A4.98%204.98%200%200%201%205%2010c-2.76%200-5-2.24-5-5s2.24-5%205-5m0%201C2.79%201%201%202.79%201%205s1.79%204%204%204s4-1.79%204-4s-1.79-4-4-4%22%20clip-rule%3D%22evenodd%22%2F%3E%3C%2Fsvg%3E") no-repeat center / contain;
}

Direct links: SVG · download · JSON · https://iconsdb.app/api/v1/icon/codicon/search-compact.svg?color=%231a73e8&size=48