close icon
close-outline from Dither Icons by Vijay K Singh · Outline · MIT Free for personal and commercial use.
- Name
- close-outline
- Set
- Dither Icons
- Style
- Outline
- Viewbox
- 24×24
- License
- MIT
2 other variants in Dither Icons
The same icon in other sets
All close icons →close-outlinedAnt Design IconscloseCarboncloseCodiconscloseElement Plusclose-fillEva IconscloseFont Awesome Solidclose-outlineFlowbite Iconsclosecss.ggcloseIconParkcloseIconPark OutlinecloseIonIconscloseJam IconscloseMaterial Line IconscloseSVG LogoscloseMajesticonscloseMaterial SymbolscloseMaterial Symbols LightcloseMaterial Design Iconsclose-fillMingCute IconcloseOpenMojiclosePixelarticonsclose-fillRemix Iconclose-boldSolarcloseTDesign Icons
Use the close icon
SVG
<svg xmlns="http://www.w3.org/2000/svg" width="1em" height="1em" viewBox="0 0 24 24"><g fill="currentColor"><defs><mask id="svgID131" width="72" height="72" x="-24" y="-24" maskUnits="userSpaceOnUse"><rect width="72" height="72" x="-24" y="-24" fill="#fff"/><path fill="none" stroke="#000" stroke-linecap="round" stroke-width="1.8" d="M2.5 12H21.5" transform="rotate(-45 12 12)"/></mask></defs><g fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" mask="url(#svgID131)"><path stroke-width="1.8" d="M2.5 12H21.5" transform="rotate(45 12 12)"/><path stroke-width=".55" d="M20.75 11.65l.55.35-.55.35" opacity="0" transform="rotate(45 12 12)"/></g><path fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="1.8" d="M2.5 12H21.5" transform="rotate(-45 12 12)"/><path fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width=".65" d="M20.75 11.65l.55.35-.55.35" opacity="0" transform="rotate(-45 12 12)"/><path fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width=".55" d="M23.5 11.9l.65-.2M22.85 10.1l.35-.5" opacity="0" transform="rotate(-45 12 12)"/></g></svg>
React
import type { SVGProps } from "react";
export function DitherCloseOutline(props: SVGProps<SVGSVGElement>) {
return (
<svg {...props} xmlns="http://www.w3.org/2000/svg" width="1em" height="1em" viewBox="0 0 24 24"><g fill="currentColor"><defs><mask id="svgID131" width="72" height="72" x="-24" y="-24" maskUnits="userSpaceOnUse"><rect width="72" height="72" x="-24" y="-24" fill="#fff"/><path fill="none" stroke="#000" strokeLinecap="round" strokeWidth="1.8" d="M2.5 12H21.5" transform="rotate(-45 12 12)"/></mask></defs><g fill="none" stroke="currentColor" strokeLinecap="round" strokeLinejoin="round" mask="url(#svgID131)"><path strokeWidth="1.8" d="M2.5 12H21.5" transform="rotate(45 12 12)"/><path strokeWidth=".55" d="M20.75 11.65l.55.35-.55.35" opacity="0" transform="rotate(45 12 12)"/></g><path fill="none" stroke="currentColor" strokeLinecap="round" strokeLinejoin="round" strokeWidth="1.8" d="M2.5 12H21.5" transform="rotate(-45 12 12)"/><path fill="none" stroke="currentColor" strokeLinecap="round" strokeLinejoin="round" strokeWidth=".65" d="M20.75 11.65l.55.35-.55.35" opacity="0" transform="rotate(-45 12 12)"/><path fill="none" stroke="currentColor" strokeLinecap="round" strokeLinejoin="round" strokeWidth=".55" d="M23.5 11.9l.65-.2M22.85 10.1l.35-.5" opacity="0" transform="rotate(-45 12 12)"/></g></svg>
);
}
Vue
<template> <svg xmlns="http://www.w3.org/2000/svg" width="1em" height="1em" viewBox="0 0 24 24"><g fill="currentColor"><defs><mask id="svgID131" width="72" height="72" x="-24" y="-24" maskUnits="userSpaceOnUse"><rect width="72" height="72" x="-24" y="-24" fill="#fff"/><path fill="none" stroke="#000" stroke-linecap="round" stroke-width="1.8" d="M2.5 12H21.5" transform="rotate(-45 12 12)"/></mask></defs><g fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" mask="url(#svgID131)"><path stroke-width="1.8" d="M2.5 12H21.5" transform="rotate(45 12 12)"/><path stroke-width=".55" d="M20.75 11.65l.55.35-.55.35" opacity="0" transform="rotate(45 12 12)"/></g><path fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="1.8" d="M2.5 12H21.5" transform="rotate(-45 12 12)"/><path fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width=".65" d="M20.75 11.65l.55.35-.55.35" opacity="0" transform="rotate(-45 12 12)"/><path fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width=".55" d="M23.5 11.9l.65-.2M22.85 10.1l.35-.5" opacity="0" transform="rotate(-45 12 12)"/></g></svg> </template>
CSS
.icon-close-outline {
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%2024%2024%22%3E%3Cg%20fill%3D%22currentColor%22%3E%3Cdefs%3E%3Cmask%20id%3D%22svgID131%22%20width%3D%2272%22%20height%3D%2272%22%20x%3D%22-24%22%20y%3D%22-24%22%20maskUnits%3D%22userSpaceOnUse%22%3E%3Crect%20width%3D%2272%22%20height%3D%2272%22%20x%3D%22-24%22%20y%3D%22-24%22%20fill%3D%22%23fff%22%2F%3E%3Cpath%20fill%3D%22none%22%20stroke%3D%22%23000%22%20stroke-linecap%3D%22round%22%20stroke-width%3D%221.8%22%20d%3D%22M2.5%2012H21.5%22%20transform%3D%22rotate(-45%2012%2012)%22%2F%3E%3C%2Fmask%3E%3C%2Fdefs%3E%3Cg%20fill%3D%22none%22%20stroke%3D%22currentColor%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%20mask%3D%22url(%23svgID131)%22%3E%3Cpath%20stroke-width%3D%221.8%22%20d%3D%22M2.5%2012H21.5%22%20transform%3D%22rotate(45%2012%2012)%22%2F%3E%3Cpath%20stroke-width%3D%22.55%22%20d%3D%22M20.75%2011.65l.55.35-.55.35%22%20opacity%3D%220%22%20transform%3D%22rotate(45%2012%2012)%22%2F%3E%3C%2Fg%3E%3Cpath%20fill%3D%22none%22%20stroke%3D%22currentColor%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%20stroke-width%3D%221.8%22%20d%3D%22M2.5%2012H21.5%22%20transform%3D%22rotate(-45%2012%2012)%22%2F%3E%3Cpath%20fill%3D%22none%22%20stroke%3D%22currentColor%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%20stroke-width%3D%22.65%22%20d%3D%22M20.75%2011.65l.55.35-.55.35%22%20opacity%3D%220%22%20transform%3D%22rotate(-45%2012%2012)%22%2F%3E%3Cpath%20fill%3D%22none%22%20stroke%3D%22currentColor%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%20stroke-width%3D%22.55%22%20d%3D%22M23.5%2011.9l.65-.2M22.85%2010.1l.35-.5%22%20opacity%3D%220%22%20transform%3D%22rotate(-45%2012%2012)%22%2F%3E%3C%2Fg%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%2024%2024%22%3E%3Cg%20fill%3D%22currentColor%22%3E%3Cdefs%3E%3Cmask%20id%3D%22svgID131%22%20width%3D%2272%22%20height%3D%2272%22%20x%3D%22-24%22%20y%3D%22-24%22%20maskUnits%3D%22userSpaceOnUse%22%3E%3Crect%20width%3D%2272%22%20height%3D%2272%22%20x%3D%22-24%22%20y%3D%22-24%22%20fill%3D%22%23fff%22%2F%3E%3Cpath%20fill%3D%22none%22%20stroke%3D%22%23000%22%20stroke-linecap%3D%22round%22%20stroke-width%3D%221.8%22%20d%3D%22M2.5%2012H21.5%22%20transform%3D%22rotate(-45%2012%2012)%22%2F%3E%3C%2Fmask%3E%3C%2Fdefs%3E%3Cg%20fill%3D%22none%22%20stroke%3D%22currentColor%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%20mask%3D%22url(%23svgID131)%22%3E%3Cpath%20stroke-width%3D%221.8%22%20d%3D%22M2.5%2012H21.5%22%20transform%3D%22rotate(45%2012%2012)%22%2F%3E%3Cpath%20stroke-width%3D%22.55%22%20d%3D%22M20.75%2011.65l.55.35-.55.35%22%20opacity%3D%220%22%20transform%3D%22rotate(45%2012%2012)%22%2F%3E%3C%2Fg%3E%3Cpath%20fill%3D%22none%22%20stroke%3D%22currentColor%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%20stroke-width%3D%221.8%22%20d%3D%22M2.5%2012H21.5%22%20transform%3D%22rotate(-45%2012%2012)%22%2F%3E%3Cpath%20fill%3D%22none%22%20stroke%3D%22currentColor%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%20stroke-width%3D%22.65%22%20d%3D%22M20.75%2011.65l.55.35-.55.35%22%20opacity%3D%220%22%20transform%3D%22rotate(-45%2012%2012)%22%2F%3E%3Cpath%20fill%3D%22none%22%20stroke%3D%22currentColor%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%20stroke-width%3D%22.55%22%20d%3D%22M23.5%2011.9l.65-.2M22.85%2010.1l.35-.5%22%20opacity%3D%220%22%20transform%3D%22rotate(-45%2012%2012)%22%2F%3E%3C%2Fg%3E%3C%2Fsvg%3E") no-repeat center / contain;
}Direct links: SVG · download · JSON · https://iconsdb.app/api/v1/icon/dither/close-outline.svg?color=%231a73e8&size=48