Gentleface › Actions › compare
compare icon
compareCompare: compare, side by side comparison, comparison. 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="M7.144 1.144C7.241 1.048 7.359 1 7.5 1C7.641 1 7.759 1.048 7.856 1.144C7.952 1.241 8 1.359 8 1.5L8 13.5C8 13.641 7.952 13.759 7.856 13.856C7.759 13.952 7.641 14 7.5 14C7.359 14 7.241 13.952 7.144 13.856C7.048 13.759 7 13.641 7 13.5L7 1.5C7 1.359 7.048 1.241 7.144 1.144ZM5.707 5.293C5.902 5.488 6 5.724 6 6L6 9C6 9.276 5.902 9.512 5.707 9.707C5.512 9.902 5.276 10 5 10L2 10C1.724 10 1.488 9.902 1.293 9.707C1.098 9.512 1 9.276 1 9L1 6C1 5.724 1.098 5.488 1.293 5.293C1.488 5.098 1.724 5 2 5L5 5C5.276 5 5.512 5.098 5.707 5.293ZM13.707 9.707C13.512 9.902 13.276 10 13 10L10 10C9.724 10 9.488 9.902 9.293 9.707C9.098 9.512 9 9.276 9 9L9 6C9 5.724 9.098 5.488 9.293 5.293C9.488 5.098 9.724 5 10 5L13 5C13.276 5 13.512 5.098 13.707 5.293C13.902 5.488 14 5.724 14 6L14 9C14 9.276 13.902 9.512 13.707 9.707ZM2 9L5 9L5 6L2 6L2 9ZM13 9L13 6L10 6L10 9L13 9Z"/></svg>
// Gentleface "compare" (line-round), MIT. https://gentleface.com/icons/compare
import type { SVGProps } from 'react';
export function CompareIcon(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="M7.144 1.144C7.241 1.048 7.359 1 7.5 1C7.641 1 7.759 1.048 7.856 1.144C7.952 1.241 8 1.359 8 1.5L8 13.5C8 13.641 7.952 13.759 7.856 13.856C7.759 13.952 7.641 14 7.5 14C7.359 14 7.241 13.952 7.144 13.856C7.048 13.759 7 13.641 7 13.5L7 1.5C7 1.359 7.048 1.241 7.144 1.144ZM5.707 5.293C5.902 5.488 6 5.724 6 6L6 9C6 9.276 5.902 9.512 5.707 9.707C5.512 9.902 5.276 10 5 10L2 10C1.724 10 1.488 9.902 1.293 9.707C1.098 9.512 1 9.276 1 9L1 6C1 5.724 1.098 5.488 1.293 5.293C1.488 5.098 1.724 5 2 5L5 5C5.276 5 5.512 5.098 5.707 5.293ZM13.707 9.707C13.512 9.902 13.276 10 13 10L10 10C9.724 10 9.488 9.902 9.293 9.707C9.098 9.512 9 9.276 9 9L9 6C9 5.724 9.098 5.488 9.293 5.293C9.488 5.098 9.724 5 10 5L13 5C13.276 5 13.512 5.098 13.707 5.293C13.902 5.488 14 5.724 14 6L14 9C14 9.276 13.902 9.512 13.707 9.707ZM2 9L5 9L5 6L2 6L2 9ZM13 9L13 6L10 6L10 9L13 9Z" />
</svg>
);
}Vue: see /icons/compare.md
Svelte: see /icons/compare.md
HTML img: see /icons/compare.md
CSS: see /icons/compare.md
Data URL: see /icons/compare.md
Sprite: see /icons/compare.md
SwiftUI: see /icons/compare.md
Compose: see /icons/compare.md
Android XML: see /icons/compare.md
Flutter: see /icons/compare.md
Each SVG is 16 × 16 with fill="currentColor". Keep it at 16 px or an exact multiple (32, 48) on whole pixels: a fractional size or position blurs it. 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.
Meaning
- Use it for
- compare, side by side comparison, comparison
- Alternatives
git-compare: compare branches or commitsdiff: the changes between two texts or filesimage-compare: before and after images
- Don’t confuse with
columns: a column layout, not a comparison
- Also fits
- diff: compare two items side by side (compare)
- file diff: compare two items side by side (compare)
- versus: compare two items side by side
- before after: compare items or versions in general (compare)
- Tags
- compare, comparison, side-by-side, versus, split, diff, versions
- Category
- Actions
- Component name
CompareIcon- History
- added
More actions icons
arrow-down-a-z ban bolt bolt-off check check-double clipboard clipboard-alert clipboard-check clipboard-clock clipboard-list clipboard-off clipboard-pencil clipboard-plus clipboard-search clipboard-user · all actions icons
For agents
Metadata: /icons/compare.json · Markdown: /icons/compare.md · SVG: https://gentleface.com/svg/{style}/16/compare.svg · PNG: https://gentleface.com/png/{style}/{16|32|48}/compare.png