gentleface

Gentleface › Design › component-swap

component-swap icon

Component swap: swap component, replace component, component exchange. 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="M8.207 5.5C8.012 5.695 7.776 5.793 7.5 5.793C7.224 5.793 6.988 5.695 6.793 5.5L5.5 4.207C5.305 4.012 5.207 3.776 5.207 3.5C5.207 3.224 5.305 2.988 5.5 2.793L6.793 1.5C6.988 1.305 7.224 1.207 7.5 1.207C7.776 1.207 8.012 1.305 8.207 1.5L9.5 2.793C9.695 2.988 9.793 3.224 9.793 3.5C9.793 3.776 9.695 4.012 9.5 4.207L8.207 5.5ZM6.207 3.5L7.5 4.793L8.793 3.5L7.5 2.207L6.207 3.5ZM4.207 9.5C4.012 9.695 3.776 9.793 3.5 9.793C3.224 9.793 2.988 9.695 2.793 9.5L1.5 8.207C1.305 8.012 1.207 7.776 1.207 7.5C1.207 7.224 1.305 6.988 1.5 6.793L2.793 5.5C2.988 5.305 3.224 5.207 3.5 5.207C3.776 5.207 4.012 5.305 4.207 5.5L5.5 6.793C5.695 6.988 5.793 7.224 5.793 7.5C5.793 7.776 5.695 8.012 5.5 8.207L4.207 9.5ZM3.5 8.793L4.793 7.5L3.5 6.207L2.207 7.5L3.5 8.793ZM13.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>
React
// Gentleface "component-swap" (line-round), MIT. https://gentleface.com/icons/component-swap
import type { SVGProps } from 'react';

export function ComponentSwapIcon(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="M8.207 5.5C8.012 5.695 7.776 5.793 7.5 5.793C7.224 5.793 6.988 5.695 6.793 5.5L5.5 4.207C5.305 4.012 5.207 3.776 5.207 3.5C5.207 3.224 5.305 2.988 5.5 2.793L6.793 1.5C6.988 1.305 7.224 1.207 7.5 1.207C7.776 1.207 8.012 1.305 8.207 1.5L9.5 2.793C9.695 2.988 9.793 3.224 9.793 3.5C9.793 3.776 9.695 4.012 9.5 4.207L8.207 5.5ZM6.207 3.5L7.5 4.793L8.793 3.5L7.5 2.207L6.207 3.5ZM4.207 9.5C4.012 9.695 3.776 9.793 3.5 9.793C3.224 9.793 2.988 9.695 2.793 9.5L1.5 8.207C1.305 8.012 1.207 7.776 1.207 7.5C1.207 7.224 1.305 6.988 1.5 6.793L2.793 5.5C2.988 5.305 3.224 5.207 3.5 5.207C3.776 5.207 4.012 5.305 4.207 5.5L5.5 6.793C5.695 6.988 5.793 7.224 5.793 7.5C5.793 7.776 5.695 8.012 5.5 8.207L4.207 9.5ZM3.5 8.793L4.793 7.5L3.5 6.207L2.207 7.5L3.5 8.793ZM13.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
Vue: see /icons/component-swap.md
Svelte
Svelte: see /icons/component-swap.md
HTML img
HTML img: see /icons/component-swap.md
CSS
CSS: see /icons/component-swap.md
Data URL
Data URL: see /icons/component-swap.md
Sprite
Sprite: see /icons/component-swap.md
SwiftUI
SwiftUI: see /icons/component-swap.md
Compose
Compose: see /icons/component-swap.md
Android XML
Android XML: see /icons/component-swap.md
Flutter
Flutter: see /icons/component-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 { ComponentSwapIcon } from '@gentleface/react'; (setup).

Meaning

Use it for
swap component, replace component, component exchange
Example
Swap a design component instance
Built from
component + swap
Tags
component, design-component, main-component, design-system, figma, symbol, reusable, ui-kit, diamonds, swap
Category
Design
Component name
ComponentSwapIcon
History
  • added
  • released in 0.4.0
Since
version 0.4.0

Family 2

More design icons

For agents

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