diff single icon
diff-single from Codicons by Microsoft Corporation · Regular · CC-BY-4.0 Attribution required.
- Name
- diff-single
- Set
- Codicons
- Style
- Regular
- Viewbox
- 16×16
- License
- CC BY 4.0
Related icons in Codicons
Use the diff single icon
SVG
<svg xmlns="http://www.w3.org/2000/svg" width="1em" height="1em" viewBox="0 0 16 16"><path fill="currentColor" d="M12.561 4.354L9.647 1.44a1.5 1.5 0 0 0-1.061-.439H4c-1.103 0-2 .897-2 2v10c0 1.103.897 2 2 2h7c1.103 0 2-.897 2-2V5.415c0-.395-.16-.781-.439-1.061M12 13a1 1 0 0 1-1 1H4a1 1 0 0 1-1-1V3a1 1 0 0 1 1-1h4.586c.132 0 .261.054.354.146l2.914 2.914a.5.5 0 0 1 .146.354zm-2-6.5a.5.5 0 0 1-.5.5H8v1.5a.5.5 0 0 1-1 0V7H5.5a.5.5 0 0 1 0-1H7V4.5a.5.5 0 0 1 1 0V6h1.5a.5.5 0 0 1 .5.5m0 5a.5.5 0 0 1-.5.5h-4a.5.5 0 0 1 0-1h4a.5.5 0 0 1 .5.5"/></svg>
React
import type { SVGProps } from "react";
export function CodiconDiffSingle(props: SVGProps<SVGSVGElement>) {
return (
<svg {...props} xmlns="http://www.w3.org/2000/svg" width="1em" height="1em" viewBox="0 0 16 16"><path fill="currentColor" d="M12.561 4.354L9.647 1.44a1.5 1.5 0 0 0-1.061-.439H4c-1.103 0-2 .897-2 2v10c0 1.103.897 2 2 2h7c1.103 0 2-.897 2-2V5.415c0-.395-.16-.781-.439-1.061M12 13a1 1 0 0 1-1 1H4a1 1 0 0 1-1-1V3a1 1 0 0 1 1-1h4.586c.132 0 .261.054.354.146l2.914 2.914a.5.5 0 0 1 .146.354zm-2-6.5a.5.5 0 0 1-.5.5H8v1.5a.5.5 0 0 1-1 0V7H5.5a.5.5 0 0 1 0-1H7V4.5a.5.5 0 0 1 1 0V6h1.5a.5.5 0 0 1 .5.5m0 5a.5.5 0 0 1-.5.5h-4a.5.5 0 0 1 0-1h4a.5.5 0 0 1 .5.5"/></svg>
);
}
Vue
<template> <svg xmlns="http://www.w3.org/2000/svg" width="1em" height="1em" viewBox="0 0 16 16"><path fill="currentColor" d="M12.561 4.354L9.647 1.44a1.5 1.5 0 0 0-1.061-.439H4c-1.103 0-2 .897-2 2v10c0 1.103.897 2 2 2h7c1.103 0 2-.897 2-2V5.415c0-.395-.16-.781-.439-1.061M12 13a1 1 0 0 1-1 1H4a1 1 0 0 1-1-1V3a1 1 0 0 1 1-1h4.586c.132 0 .261.054.354.146l2.914 2.914a.5.5 0 0 1 .146.354zm-2-6.5a.5.5 0 0 1-.5.5H8v1.5a.5.5 0 0 1-1 0V7H5.5a.5.5 0 0 1 0-1H7V4.5a.5.5 0 0 1 1 0V6h1.5a.5.5 0 0 1 .5.5m0 5a.5.5 0 0 1-.5.5h-4a.5.5 0 0 1 0-1h4a.5.5 0 0 1 .5.5"/></svg> </template>
CSS
.icon-diff-single {
width: 24px;
height: 24px;
background-color: currentColor;
-webkit-mask: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%221em%22%20height%3D%221em%22%20viewBox%3D%220%200%2016%2016%22%3E%3Cpath%20fill%3D%22currentColor%22%20d%3D%22M12.561%204.354L9.647%201.44a1.5%201.5%200%200%200-1.061-.439H4c-1.103%200-2%20.897-2%202v10c0%201.103.897%202%202%202h7c1.103%200%202-.897%202-2V5.415c0-.395-.16-.781-.439-1.061M12%2013a1%201%200%200%201-1%201H4a1%201%200%200%201-1-1V3a1%201%200%200%201%201-1h4.586c.132%200%20.261.054.354.146l2.914%202.914a.5.5%200%200%201%20.146.354zm-2-6.5a.5.5%200%200%201-.5.5H8v1.5a.5.5%200%200%201-1%200V7H5.5a.5.5%200%200%201%200-1H7V4.5a.5.5%200%200%201%201%200V6h1.5a.5.5%200%200%201%20.5.5m0%205a.5.5%200%200%201-.5.5h-4a.5.5%200%200%201%200-1h4a.5.5%200%200%201%20.5.5%22%2F%3E%3C%2Fsvg%3E") no-repeat center / contain;
mask: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%221em%22%20height%3D%221em%22%20viewBox%3D%220%200%2016%2016%22%3E%3Cpath%20fill%3D%22currentColor%22%20d%3D%22M12.561%204.354L9.647%201.44a1.5%201.5%200%200%200-1.061-.439H4c-1.103%200-2%20.897-2%202v10c0%201.103.897%202%202%202h7c1.103%200%202-.897%202-2V5.415c0-.395-.16-.781-.439-1.061M12%2013a1%201%200%200%201-1%201H4a1%201%200%200%201-1-1V3a1%201%200%200%201%201-1h4.586c.132%200%20.261.054.354.146l2.914%202.914a.5.5%200%200%201%20.146.354zm-2-6.5a.5.5%200%200%201-.5.5H8v1.5a.5.5%200%200%201-1%200V7H5.5a.5.5%200%200%201%200-1H7V4.5a.5.5%200%200%201%201%200V6h1.5a.5.5%200%200%201%20.5.5m0%205a.5.5%200%200%201-.5.5h-4a.5.5%200%200%201%200-1h4a.5.5%200%200%201%20.5.5%22%2F%3E%3C%2Fsvg%3E") no-repeat center / contain;
}Direct links: SVG · download · JSON · https://iconsdb.app/api/v1/icon/codicon/diff-single.svg?color=%231a73e8&size=48