Skip to content
Cuelark UI

Hover the icon or press Play. Suggested motion: zoom. Pick another to preview it and update the animated code:

VS Code Icons · VscSearchCompact

Search Compact icon

A free search compact icon from VS Code Icons, ready for React. Use it static or animated: both versions are below, copy-paste or one shadcn command away. Sized in em and colored by currentColor.

License
CC BY 4.0 license
Project
github.com
Install with shadcn
npx shadcn@latest add https://ui.cuelark.com/r/icons/vscode-codicons/search-compact.json
components/icons/vscode-codicons-search-compact.tsx
import * as React from "react";

/**
 * Search Compact from VS Code Icons (https://github.com/microsoft/vscode-codicons), CC BY 4.0.
 * Via Cuelark UI: ui.cuelark.com/icons/vscode-codicons/search-compact. Sized in em, colored by currentColor.
 */
export function VscSearchCompactIcon(props: React.SVGProps<SVGSVGElement>) {
  return (
    <svg
      aria-hidden="true"
      viewBox="0 0 12 12"
      stroke="currentColor"
      fill="currentColor"
      strokeWidth="0"
      width="1em"
      height="1em"
      xmlns="http://www.w3.org/2000/svg"
      {...props}
    >
      <path
        fillRule="evenodd"
        clipRule="evenodd"
        d="M5 0C7.76 0 10 2.24 10 5C10 6.19675 9.57708 7.29428 8.875 8.15527L11.8604 11.1406C12.06 11.3406 12.0602 11.6507 11.8604 11.8506C11.7604 11.9506 11.6298 12 11.5098 12H11.5C11.3702 12 11.2404 11.9503 11.1504 11.8506L8.16699 8.86719C7.30439 9.57459 6.20178 10 5 10C2.24 10 0 7.76 0 5C0 2.24 2.24 0 5 0ZM5 1C2.79 1 1 2.79 1 5C1 7.21 2.79 9 5 9C7.21 9 9 7.21 9 5C9 2.79 7.21 1 5 1Z"
      />
    </svg>
  );
}
With react-icons
import { VscSearchCompact } from "react-icons/vsc";

export function Example() {
  return <VscSearchCompact className="size-5" />;
}
search-compact.svg
<svg
  viewBox="0 0 12 12"
  stroke="currentColor"
  fill="currentColor"
  stroke-width="0"
  width="1em"
  height="1em"
  xmlns="http://www.w3.org/2000/svg"
>
  <path
    fill-rule="evenodd"
    clip-rule="evenodd"
    d="M5 0C7.76 0 10 2.24 10 5C10 6.19675 9.57708 7.29428 8.875 8.15527L11.8604 11.1406C12.06 11.3406 12.0602 11.6507 11.8604 11.8506C11.7604 11.9506 11.6298 12 11.5098 12H11.5C11.3702 12 11.2404 11.9503 11.1504 11.8506L8.16699 8.86719C7.30439 9.57459 6.20178 10 5 10C2.24 10 0 7.76 0 5C0 2.24 2.24 0 5 0ZM5 1C2.79 1 1 2.79 1 5C1 7.21 2.79 9 5 9C7.21 9 9 7.21 9 5C9 2.79 7.21 1 5 1Z"
  />
</svg>
Attribution
"Search Compact" icon from VS Code Icons (https://github.com/microsoft/vscode-codicons), licensed under CC BY 4.0 license.

Related icons: magnifying, find, lookup, explore