Gentleface › Photo & image › image-swap
image-swap icon
image-swapImage swap: replace image, swap image, change image. Drawn on the 16 px grid. Free SVG, PNG and code, MIT licensed.
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="M1.14 2.264C1.242 2.007 1.391 1.781 1.586 1.586C1.781 1.391 2.007 1.242 2.264 1.14C2.5 1.047 2.746 1 3 1L11 1C11.254 1 11.5 1.047 11.736 1.14C11.993 1.242 12.219 1.391 12.414 1.586C12.609 1.781 12.758 2.007 12.86 2.264C12.953 2.5 13 2.746 13 3L13 5.5C13 5.641 12.952 5.759 12.856 5.856C12.759 5.952 12.641 6 12.5 6C12.359 6 12.241 5.952 12.144 5.856C12.048 5.759 12 5.641 12 5.5L12 3C12 2.724 11.902 2.488 11.707 2.293C11.512 2.098 11.276 2 11 2L3 2C2.724 2 2.488 2.098 2.293 2.293C2.098 2.488 2 2.724 2 3L2 5.293L3.086 4.207C3.266 4.027 3.472 3.887 3.706 3.786C3.959 3.676 4.224 3.621 4.5 3.621C4.776 3.621 5.041 3.676 5.294 3.786C5.528 3.887 5.734 4.027 5.914 4.207L7.854 6.146C7.953 6.246 8.003 6.364 8.003 6.5C8.003 6.636 7.953 6.754 7.854 6.854C7.754 6.953 7.636 7.003 7.5 7.003C7.364 7.003 7.246 6.953 7.146 6.854L5.207 4.914C5.012 4.719 4.776 4.621 4.5 4.621C4.224 4.621 3.988 4.719 3.793 4.914L2 6.707L2 8C2 8.276 2.098 8.512 2.293 8.707C2.488 8.902 2.724 9 3 9L5.5 9C5.641 9 5.759 9.048 5.856 9.144C5.952 9.241 6 9.359 6 9.5C6 9.641 5.952 9.759 5.856 9.856C5.759 9.952 5.641 10 5.5 10L3 10C2.746 10 2.5 9.953 2.264 9.86C2.007 9.758 1.781 9.609 1.586 9.414C1.391 9.219 1.242 8.993 1.14 8.736C1.047 8.5 1 8.254 1 8L1 3C1 2.746 1.047 2.5 1.14 2.264ZM9.293 3.293C9.488 3.098 9.724 3 10 3C10.276 3 10.512 3.098 10.707 3.293C10.902 3.488 11 3.724 11 4C11 4.276 10.902 4.512 10.707 4.707C10.512 4.902 10.276 5 10 5C9.724 5 9.488 4.902 9.293 4.707C9.098 4.512 9 4.276 9 4C9 3.724 9.098 3.488 9.293 3.293ZM13.156 7.316C13.734 7.545 14.243 7.879 14.682 8.318C15.121 8.757 15.455 9.266 15.684 9.844C15.895 10.376 16 10.928 16 11.5C16 12.072 15.895 12.624 15.684 13.156C15.455 13.734 15.121 14.243 14.682 14.682C14.243 15.121 13.734 15.455 13.156 15.684C12.624 15.895 12.072 16 11.5 16C10.928 16 10.376 15.895 9.844 15.684C9.266 15.455 8.757 15.121 8.318 14.682C7.879 14.243 7.545 13.734 7.316 13.156C7.105 12.624 7 12.072 7 11.5C7 10.928 7.105 10.376 7.316 9.844C7.545 9.266 7.879 8.757 8.318 8.318C8.757 7.879 9.266 7.545 9.844 7.316C10.376 7.105 10.928 7 11.5 7C12.072 7 12.624 7.105 13.156 7.316ZM9 10.5C9 10.776 9.224 11 9.5 11L13.5 11C13.776 11 14 10.776 14 10.5C14 10.367 13.947 10.24 13.854 10.146L11.854 8.146C11.658 7.951 11.342 7.951 11.146 8.146C10.951 8.342 10.951 8.658 11.146 8.854L12.293 10L9.5 10C9.224 10 9 10.224 9 10.5ZM13.5 13C13.776 13 14 12.776 14 12.5C14 12.224 13.776 12 13.5 12L9.5 12C9.224 12 9 12.224 9 12.5C9 12.633 9.053 12.76 9.146 12.854L11.146 14.854C11.342 15.049 11.658 15.049 11.854 14.854C12.049 14.658 12.049 14.342 11.854 14.146L10.707 13L13.5 13Z"/></svg>
// Gentleface "image-swap" (line-round), MIT. https://gentleface.com/icons/image-swap
import type { SVGProps } from 'react';
export function ImageSwapIcon(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="M1.14 2.264C1.242 2.007 1.391 1.781 1.586 1.586C1.781 1.391 2.007 1.242 2.264 1.14C2.5 1.047 2.746 1 3 1L11 1C11.254 1 11.5 1.047 11.736 1.14C11.993 1.242 12.219 1.391 12.414 1.586C12.609 1.781 12.758 2.007 12.86 2.264C12.953 2.5 13 2.746 13 3L13 5.5C13 5.641 12.952 5.759 12.856 5.856C12.759 5.952 12.641 6 12.5 6C12.359 6 12.241 5.952 12.144 5.856C12.048 5.759 12 5.641 12 5.5L12 3C12 2.724 11.902 2.488 11.707 2.293C11.512 2.098 11.276 2 11 2L3 2C2.724 2 2.488 2.098 2.293 2.293C2.098 2.488 2 2.724 2 3L2 5.293L3.086 4.207C3.266 4.027 3.472 3.887 3.706 3.786C3.959 3.676 4.224 3.621 4.5 3.621C4.776 3.621 5.041 3.676 5.294 3.786C5.528 3.887 5.734 4.027 5.914 4.207L7.854 6.146C7.953 6.246 8.003 6.364 8.003 6.5C8.003 6.636 7.953 6.754 7.854 6.854C7.754 6.953 7.636 7.003 7.5 7.003C7.364 7.003 7.246 6.953 7.146 6.854L5.207 4.914C5.012 4.719 4.776 4.621 4.5 4.621C4.224 4.621 3.988 4.719 3.793 4.914L2 6.707L2 8C2 8.276 2.098 8.512 2.293 8.707C2.488 8.902 2.724 9 3 9L5.5 9C5.641 9 5.759 9.048 5.856 9.144C5.952 9.241 6 9.359 6 9.5C6 9.641 5.952 9.759 5.856 9.856C5.759 9.952 5.641 10 5.5 10L3 10C2.746 10 2.5 9.953 2.264 9.86C2.007 9.758 1.781 9.609 1.586 9.414C1.391 9.219 1.242 8.993 1.14 8.736C1.047 8.5 1 8.254 1 8L1 3C1 2.746 1.047 2.5 1.14 2.264ZM9.293 3.293C9.488 3.098 9.724 3 10 3C10.276 3 10.512 3.098 10.707 3.293C10.902 3.488 11 3.724 11 4C11 4.276 10.902 4.512 10.707 4.707C10.512 4.902 10.276 5 10 5C9.724 5 9.488 4.902 9.293 4.707C9.098 4.512 9 4.276 9 4C9 3.724 9.098 3.488 9.293 3.293ZM13.156 7.316C13.734 7.545 14.243 7.879 14.682 8.318C15.121 8.757 15.455 9.266 15.684 9.844C15.895 10.376 16 10.928 16 11.5C16 12.072 15.895 12.624 15.684 13.156C15.455 13.734 15.121 14.243 14.682 14.682C14.243 15.121 13.734 15.455 13.156 15.684C12.624 15.895 12.072 16 11.5 16C10.928 16 10.376 15.895 9.844 15.684C9.266 15.455 8.757 15.121 8.318 14.682C7.879 14.243 7.545 13.734 7.316 13.156C7.105 12.624 7 12.072 7 11.5C7 10.928 7.105 10.376 7.316 9.844C7.545 9.266 7.879 8.757 8.318 8.318C8.757 7.879 9.266 7.545 9.844 7.316C10.376 7.105 10.928 7 11.5 7C12.072 7 12.624 7.105 13.156 7.316ZM9 10.5C9 10.776 9.224 11 9.5 11L13.5 11C13.776 11 14 10.776 14 10.5C14 10.367 13.947 10.24 13.854 10.146L11.854 8.146C11.658 7.951 11.342 7.951 11.146 8.146C10.951 8.342 10.951 8.658 11.146 8.854L12.293 10L9.5 10C9.224 10 9 10.224 9 10.5ZM13.5 13C13.776 13 14 12.776 14 12.5C14 12.224 13.776 12 13.5 12L9.5 12C9.224 12 9 12.224 9 12.5C9 12.633 9.053 12.76 9.146 12.854L11.146 14.854C11.342 15.049 11.658 15.049 11.854 14.854C12.049 14.658 12.049 14.342 11.854 14.146L10.707 13L13.5 13Z" />
</svg>
);
}Vue: see /icons/image-swap.md
Svelte: see /icons/image-swap.md
HTML img: see /icons/image-swap.md
CSS: see /icons/image-swap.md
Data URL: see /icons/image-swap.md
Sprite: see /icons/image-swap.md
SwiftUI: see /icons/image-swap.md
Compose: see /icons/image-swap.md
Android XML: see /icons/image-swap.md
Flutter: see /icons/image-swap.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 { ImageSwapIcon } from '@gentleface/react'; (setup).
Meaning
- Use it for
- replace image, swap image, change image
- Example
- Replace the image in a design template
- Built from
image+ swap- Tags
- picture, photo, landscape, mountain, gallery, swap
- Category
- Photo & image
- Component name
ImageSwapIcon- History
- added, released in 0.4.0
- Since
- version 0.4.0
Family 34
More photo & image icons
aperture background-remove background-remove-stripes background-replace blur blur-off bolt-auto camera camera-alert camera-arrow-up camera-gear camera-link camera-off camera-pencil camera-plus camera-rotate · all photo & image icons
For agents
Metadata: /icons/image-swap.json · Markdown: /icons/image-swap.md · SVG: https://gentleface.com/svg/{style}/16/image-swap.svg · PNG: https://gentleface.com/png/{style}/{16|32|48}/image-swap.png