gentleface

Gentleface › Actions › search-replace

search-replace icon

Search replace: find and replace, replace, find replace, search and replace. Drawn on the 16 px grid. Free SVG, PNG and code, MIT licensed.

Code line-round

SVG
<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 16 16" fill="currentColor" aria-hidden="true"><path d="M15 6.5C15 6.638 14.951 6.756 14.854 6.854C14.754 6.953 14.636 7.003 14.5 7.003C14.364 7.003 14.246 6.953 14.146 6.854L12.879 5.586C12.736 5.681 12.583 5.76 12.42 5.824C12.125 5.941 11.818 6 11.5 6C11.182 6 10.875 5.941 10.58 5.824C10.259 5.697 9.976 5.512 9.732 5.268C9.488 5.024 9.303 4.741 9.176 4.42C9.059 4.125 9 3.818 9 3.5C9 3.182 9.059 2.875 9.176 2.58C9.303 2.259 9.488 1.976 9.732 1.732C9.976 1.488 10.259 1.303 10.58 1.176C10.875 1.059 11.182 1 11.5 1C11.818 1 12.125 1.059 12.42 1.176C12.741 1.303 13.024 1.488 13.268 1.732C13.512 1.976 13.697 2.259 13.824 2.58C13.941 2.875 14 3.182 14 3.5C14 3.818 13.941 4.125 13.824 4.42C13.76 4.583 13.681 4.736 13.586 4.879L14.854 6.146C14.951 6.244 15 6.362 15 6.5ZM6.146 5.146C6.246 5.047 6.364 4.997 6.5 4.997C6.636 4.997 6.754 5.047 6.854 5.146C6.953 5.246 7.003 5.364 7.003 5.5C7.003 5.636 6.953 5.754 6.854 5.854L4.854 7.854C4.754 7.953 4.636 8.003 4.5 8.003C4.364 8.003 4.246 7.953 4.146 7.854L2.146 5.854C2.049 5.756 2 5.638 2 5.5C2 5.362 2.049 5.244 2.146 5.146C2.244 5.049 2.362 5 2.5 5C2.638 5 2.756 5.049 2.854 5.146L4 6.293L4 4.5C4 4.182 4.059 3.875 4.176 3.58C4.303 3.259 4.488 2.976 4.732 2.732C4.976 2.488 5.259 2.303 5.58 2.176C5.875 2.059 6.182 2 6.5 2C6.641 2 6.759 2.048 6.856 2.144C6.952 2.241 7 2.359 7 2.5C7 2.641 6.952 2.759 6.856 2.856C6.759 2.952 6.641 3 6.5 3C6.309 3 6.125 3.035 5.948 3.105C5.755 3.182 5.586 3.293 5.439 3.439C5.293 3.586 5.182 3.755 5.105 3.948C5.035 4.125 5 4.309 5 4.5L5 6.293L6.146 5.146ZM10.105 4.052C10.182 4.245 10.293 4.414 10.439 4.561C10.586 4.707 10.755 4.818 10.948 4.895C11.125 4.965 11.309 5 11.5 5C11.691 5 11.875 4.965 12.052 4.895C12.245 4.818 12.414 4.707 12.561 4.561C12.707 4.414 12.818 4.245 12.895 4.052C12.965 3.875 13 3.691 13 3.5C13 3.309 12.965 3.125 12.895 2.948C12.818 2.755 12.707 2.586 12.561 2.439C12.414 2.293 12.245 2.182 12.052 2.105C11.875 2.035 11.691 2 11.5 2C11.309 2 11.125 2.035 10.948 2.105C10.755 2.182 10.586 2.293 10.439 2.439C10.293 2.586 10.182 2.755 10.105 2.948C10.035 3.125 10 3.309 10 3.5C10 3.691 10.035 3.875 10.105 4.052ZM6.707 14.707C6.512 14.902 6.276 15 6 15L2 15C1.724 15 1.488 14.902 1.293 14.707C1.098 14.512 1 14.276 1 14L1 10C1 9.724 1.098 9.488 1.293 9.293C1.488 9.098 1.724 9 2 9L6 9C6.276 9 6.512 9.098 6.707 9.293C6.902 9.488 7 9.724 7 10L7 14C7 14.276 6.902 14.512 6.707 14.707ZM6 10L2 10L2 14L6 14L6 10Z"/></svg>
React
// Gentleface "search-replace" (line-round), MIT. https://gentleface.com/icons/search-replace
import type { SVGProps } from 'react';

export function SearchReplaceIcon(props: SVGProps<SVGSVGElement>) {
  return (
    <svg xmlns="http://www.w3.org/2000/svg" width={16} height={16} viewBox="0 0 16 16" fill="currentColor" aria-hidden="true" {...props}>
      <path d="M15 6.5C15 6.638 14.951 6.756 14.854 6.854C14.754 6.953 14.636 7.003 14.5 7.003C14.364 7.003 14.246 6.953 14.146 6.854L12.879 5.586C12.736 5.681 12.583 5.76 12.42 5.824C12.125 5.941 11.818 6 11.5 6C11.182 6 10.875 5.941 10.58 5.824C10.259 5.697 9.976 5.512 9.732 5.268C9.488 5.024 9.303 4.741 9.176 4.42C9.059 4.125 9 3.818 9 3.5C9 3.182 9.059 2.875 9.176 2.58C9.303 2.259 9.488 1.976 9.732 1.732C9.976 1.488 10.259 1.303 10.58 1.176C10.875 1.059 11.182 1 11.5 1C11.818 1 12.125 1.059 12.42 1.176C12.741 1.303 13.024 1.488 13.268 1.732C13.512 1.976 13.697 2.259 13.824 2.58C13.941 2.875 14 3.182 14 3.5C14 3.818 13.941 4.125 13.824 4.42C13.76 4.583 13.681 4.736 13.586 4.879L14.854 6.146C14.951 6.244 15 6.362 15 6.5ZM6.146 5.146C6.246 5.047 6.364 4.997 6.5 4.997C6.636 4.997 6.754 5.047 6.854 5.146C6.953 5.246 7.003 5.364 7.003 5.5C7.003 5.636 6.953 5.754 6.854 5.854L4.854 7.854C4.754 7.953 4.636 8.003 4.5 8.003C4.364 8.003 4.246 7.953 4.146 7.854L2.146 5.854C2.049 5.756 2 5.638 2 5.5C2 5.362 2.049 5.244 2.146 5.146C2.244 5.049 2.362 5 2.5 5C2.638 5 2.756 5.049 2.854 5.146L4 6.293L4 4.5C4 4.182 4.059 3.875 4.176 3.58C4.303 3.259 4.488 2.976 4.732 2.732C4.976 2.488 5.259 2.303 5.58 2.176C5.875 2.059 6.182 2 6.5 2C6.641 2 6.759 2.048 6.856 2.144C6.952 2.241 7 2.359 7 2.5C7 2.641 6.952 2.759 6.856 2.856C6.759 2.952 6.641 3 6.5 3C6.309 3 6.125 3.035 5.948 3.105C5.755 3.182 5.586 3.293 5.439 3.439C5.293 3.586 5.182 3.755 5.105 3.948C5.035 4.125 5 4.309 5 4.5L5 6.293L6.146 5.146ZM10.105 4.052C10.182 4.245 10.293 4.414 10.439 4.561C10.586 4.707 10.755 4.818 10.948 4.895C11.125 4.965 11.309 5 11.5 5C11.691 5 11.875 4.965 12.052 4.895C12.245 4.818 12.414 4.707 12.561 4.561C12.707 4.414 12.818 4.245 12.895 4.052C12.965 3.875 13 3.691 13 3.5C13 3.309 12.965 3.125 12.895 2.948C12.818 2.755 12.707 2.586 12.561 2.439C12.414 2.293 12.245 2.182 12.052 2.105C11.875 2.035 11.691 2 11.5 2C11.309 2 11.125 2.035 10.948 2.105C10.755 2.182 10.586 2.293 10.439 2.439C10.293 2.586 10.182 2.755 10.105 2.948C10.035 3.125 10 3.309 10 3.5C10 3.691 10.035 3.875 10.105 4.052ZM6.707 14.707C6.512 14.902 6.276 15 6 15L2 15C1.724 15 1.488 14.902 1.293 14.707C1.098 14.512 1 14.276 1 14L1 10C1 9.724 1.098 9.488 1.293 9.293C1.488 9.098 1.724 9 2 9L6 9C6.276 9 6.512 9.098 6.707 9.293C6.902 9.488 7 9.724 7 10L7 14C7 14.276 6.902 14.512 6.707 14.707ZM6 10L2 10L2 14L6 14L6 10Z" />
    </svg>
  );
}
Vue
Vue: see /icons/search-replace.md
Svelte
Svelte: see /icons/search-replace.md
HTML img
HTML img: see /icons/search-replace.md
CSS
CSS: see /icons/search-replace.md
Data URL
Data URL: see /icons/search-replace.md
Sprite
Sprite: see /icons/search-replace.md
SwiftUI
SwiftUI: see /icons/search-replace.md
Compose
Compose: see /icons/search-replace.md
Android XML
Android XML: see /icons/search-replace.md
Flutter
Flutter: see /icons/search-replace.md

Each icon is drawn on the 16 px grid, and most also on the 20 and 24 px grids (at 24 in three weights: light 1 px, regular 1.5 px, bold 2 px). Show the drawing made for your size, or an exact multiple of it, on whole pixels: 16 for 16 and 32 px, 20 for 20 and 40, 24 for 24 and 48. A size in between or a fractional position blurs it. The code on each icon page is the 16 px drawing, an SVG with fill="currentColor"; the icon page's downloads follow its Grid switch, and npm has the 20 and 24 px drawings too. The snippets are decorative (aria-hidden). For an icon that carries meaning on its own, such as an icon-only button, label the button, or give the SVG role="img" and an aria-label. More in how to use.

With npm: import { SearchReplaceIcon } from '@gentleface/react'; (setup).

Meaning

Use it for
find and replace, replace, find replace, search and replace
Alternatives
  • replace: replace the current match inside an open find widget
Tags
search, find, replace, find-and-replace, substitute, swap, magnifier, lens, search-and-replace, text, edit
Category
Actions
Component name
SearchReplaceIcon
History
  • released in 0.2.0
  • added
  • 16 px redrawn, 20 px drawn, 24 px drawn
Since
version 0.2.0

Family 16

More actions icons

For agents

Metadata: /icons/search-replace.json · Markdown: /icons/search-replace.md · SVG: https://gentleface.com/svg/{style}/16/search-replace.svg · PNG: https://gentleface.com/png/{style}/{16|32|48}/search-replace.png