Gentleface › Actions › replace
replace icon
replaceReplace: replace match. Drawn on the 16 px grid. Free SVG, PNG and code, MIT licensed.
Animated replace-exchange · line-round
The hooked arrow runs into its head and clears the way. The square and the dashed square then trade places along two arcs, hold, and trade back, and the arrow draws again from the dashed square into the solid one.
Native SVG animation, with no CSS or script. It loops by itself. Inline it to take the text color: in an <img> it draws black. To play it once on hover or click, run 0.2 s to 2.75 s. Examples and helper.
Code line-round
<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 16 16" fill="currentColor" aria-hidden="true"><path d="M10.856 1.144C10.952 1.241 11 1.359 11 1.5C11 1.641 10.952 1.759 10.856 1.856C10.759 1.952 10.641 2 10.5 2L10 2L10 2.5C10 2.641 9.952 2.759 9.856 2.856C9.759 2.952 9.641 3 9.5 3C9.359 3 9.241 2.952 9.144 2.856C9.048 2.759 9 2.641 9 2.5L9 1.5C9 1.359 9.048 1.241 9.144 1.144C9.241 1.048 9.359 1 9.5 1L10.5 1C10.641 1 10.759 1.048 10.856 1.144ZM14.856 1.144C14.952 1.241 15 1.359 15 1.5L15 2.5C15 2.641 14.952 2.759 14.856 2.856C14.759 2.952 14.641 3 14.5 3C14.359 3 14.241 2.952 14.144 2.856C14.048 2.759 14 2.641 14 2.5L14 2L13.5 2C13.359 2 13.241 1.952 13.144 1.856C13.048 1.759 13 1.641 13 1.5C13 1.359 13.048 1.241 13.144 1.144C13.241 1.048 13.359 1 13.5 1L14.5 1C14.641 1 14.759 1.048 14.856 1.144ZM6.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.146ZM9.144 5.144C9.241 5.048 9.359 5 9.5 5C9.641 5 9.759 5.048 9.856 5.144C9.952 5.241 10 5.359 10 5.5L10 6L10.5 6C10.641 6 10.759 6.048 10.856 6.144C10.952 6.241 11 6.359 11 6.5C11 6.641 10.952 6.759 10.856 6.856C10.759 6.952 10.641 7 10.5 7L9.5 7C9.359 7 9.241 6.952 9.144 6.856C9.048 6.759 9 6.641 9 6.5L9 5.5C9 5.359 9.048 5.241 9.144 5.144ZM13 6.5C13 6.359 13.048 6.241 13.144 6.144C13.241 6.048 13.359 6 13.5 6L14 6L14 5.5C14 5.359 14.048 5.241 14.144 5.144C14.241 5.048 14.359 5 14.5 5C14.641 5 14.759 5.048 14.856 5.144C14.952 5.241 15 5.359 15 5.5L15 6.5C15 6.641 14.952 6.759 14.856 6.856C14.759 6.952 14.641 7 14.5 7L13.5 7C13.359 7 13.241 6.952 13.144 6.856C13.048 6.759 13 6.641 13 6.5ZM6.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>
// Gentleface "replace" (line-round), MIT. https://gentleface.com/icons/replace
import type { SVGProps } from 'react';
export function ReplaceIcon(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="M10.856 1.144C10.952 1.241 11 1.359 11 1.5C11 1.641 10.952 1.759 10.856 1.856C10.759 1.952 10.641 2 10.5 2L10 2L10 2.5C10 2.641 9.952 2.759 9.856 2.856C9.759 2.952 9.641 3 9.5 3C9.359 3 9.241 2.952 9.144 2.856C9.048 2.759 9 2.641 9 2.5L9 1.5C9 1.359 9.048 1.241 9.144 1.144C9.241 1.048 9.359 1 9.5 1L10.5 1C10.641 1 10.759 1.048 10.856 1.144ZM14.856 1.144C14.952 1.241 15 1.359 15 1.5L15 2.5C15 2.641 14.952 2.759 14.856 2.856C14.759 2.952 14.641 3 14.5 3C14.359 3 14.241 2.952 14.144 2.856C14.048 2.759 14 2.641 14 2.5L14 2L13.5 2C13.359 2 13.241 1.952 13.144 1.856C13.048 1.759 13 1.641 13 1.5C13 1.359 13.048 1.241 13.144 1.144C13.241 1.048 13.359 1 13.5 1L14.5 1C14.641 1 14.759 1.048 14.856 1.144ZM6.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.146ZM9.144 5.144C9.241 5.048 9.359 5 9.5 5C9.641 5 9.759 5.048 9.856 5.144C9.952 5.241 10 5.359 10 5.5L10 6L10.5 6C10.641 6 10.759 6.048 10.856 6.144C10.952 6.241 11 6.359 11 6.5C11 6.641 10.952 6.759 10.856 6.856C10.759 6.952 10.641 7 10.5 7L9.5 7C9.359 7 9.241 6.952 9.144 6.856C9.048 6.759 9 6.641 9 6.5L9 5.5C9 5.359 9.048 5.241 9.144 5.144ZM13 6.5C13 6.359 13.048 6.241 13.144 6.144C13.241 6.048 13.359 6 13.5 6L14 6L14 5.5C14 5.359 14.048 5.241 14.144 5.144C14.241 5.048 14.359 5 14.5 5C14.641 5 14.759 5.048 14.856 5.144C14.952 5.241 15 5.359 15 5.5L15 6.5C15 6.641 14.952 6.759 14.856 6.856C14.759 6.952 14.641 7 14.5 7L13.5 7C13.359 7 13.241 6.952 13.144 6.856C13.048 6.759 13 6.641 13 6.5ZM6.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: see /icons/replace.md
Svelte: see /icons/replace.md
HTML img: see /icons/replace.md
CSS: see /icons/replace.md
Data URL: see /icons/replace.md
Sprite: see /icons/replace.md
SwiftUI: see /icons/replace.md
Compose: see /icons/replace.md
Android XML: see /icons/replace.md
Flutter: see /icons/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 { ReplaceIcon } from '@gentleface/react'; (setup).
Meaning
- Use it for
- replace match
- Alternatives
replace-all: replace every match
- Also fits
- replace all: replace the current match only
- find and replace: replace the current match inside an open find widget
- replace: the replace-one-match button inside an open find widget (replace-match)
- Tags
- replace, find, swap, substitute, text
- Category
- Actions
- Component name
ReplaceIcon- History
- added
- released in 0.1.0
- 20 px drawn, 24 px drawn
- Since
- version 0.1.0
Family 1
More actions icons
actual-size arrow-down-1-9 arrow-down-a-z arrow-down-clock arrow-down-z-a arrow-up-clock ban bolt bolt-alert bolt-check bolt-clock bolt-gear bolt-off bolt-pencil bolt-play bolt-plus · all actions icons
For agents
Metadata: /icons/replace.json · Markdown: /icons/replace.md · SVG: https://gentleface.com/svg/{style}/16/replace.svg · PNG: https://gentleface.com/png/{style}/{16|32|48}/replace.png