Item Compare icon
The Item Compare icon is part of Microsoft's Fluent UI System Icons, available here in filled and regular (outlined) styles on a 24 px grid. Download it as SVG or PNG, or copy it as code — it's free to use under the MIT License.
Use the Item Compare icon in React
Install Microsoft's @fluentui/react-icons package, then import the component. Icons inherit the current text color, and you can size them with CSS.
npm install @fluentui/react-icons
import { ItemCompare24Regular, ItemCompare24Filled } from "@fluentui/react-icons";
export function Example() {
return <ItemCompare24Regular aria-label="Item Compare" />;
}Use it in HTML
Reference the SVG file directly:
<img src="https://fluenticons.co/icons/ic_fluent_item_compare_24_regular.svg" width="24" height="24" alt="Item Compare"> Or paste the SVG markup inline. Setting fill="currentColor" makes the icon follow the text color of its parent:
<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M12 2.5C12.4142 2.5 12.75 2.83579 12.75 3.25V20.75L12.7461 20.8271C12.7075 21.2051 12.3882 21.5 12 21.5C11.6118 21.5 11.2925 21.2051 11.2539 20.8271L11.25 20.75V3.25C11.25 2.83579 11.5858 2.5 12 2.5ZM6.75 8C7.99264 8 9 9.00736 9 10.25V13.75C9 14.9926 7.99264 16 6.75 16H3.25C2.00736 16 1 14.9926 1 13.75V10.25C1 9.00736 2.00736 8 3.25 8H6.75ZM20.75 8C21.9926 8 23 9.00736 23 10.25V13.75C23 14.9926 21.9926 16 20.75 16H17.25C16.0074 16 15 14.9926 15 13.75V10.25C15 9.00736 16.0074 8 17.25 8H20.75ZM3.25 9.5C2.83579 9.5 2.5 9.83579 2.5 10.25V13.75C2.5 14.1642 2.83579 14.5 3.25 14.5H6.75C7.16421 14.5 7.5 14.1642 7.5 13.75V10.25C7.5 9.83579 7.16421 9.5 6.75 9.5H3.25ZM17.25 9.5C16.8358 9.5 16.5 9.83579 16.5 10.25V13.75C16.5 14.1642 16.8358 14.5 17.25 14.5H20.75C21.1642 14.5 21.5 14.1642 21.5 13.75V10.25C21.5 9.83579 21.1642 9.5 20.75 9.5H17.25Z" fill="currentColor"/></svg>Use it from the SVG package
Microsoft's @fluentui/svg-icons package contains the raw SVG files, which works well with bundlers that import SVGs:
npm install @fluentui/svg-icons
import icon from "@fluentui/svg-icons/icons/item_compare_24_regular.svg";Details
| Name | Item Compare |
|---|---|
| Styles | Regular (outlined), Filled |
| Size | 24 × 24 px (scalable SVG) |
| Regular (outlined) file | ic_fluent_item_compare_24_regular.svg |
| Filled file | ic_fluent_item_compare_24_filled.svg |
| React components | ItemCompare24Regular, ItemCompare24Filled |
| License | MIT (© Microsoft Corporation) |