close-solid from Dither Icons by Vijay K Singh · Solid · MIT Free for personal and commercial use.

Name
close-solid
Set
Dither Icons
Style
Solid
Viewbox
24×24
License
MIT

2 other variants in Dither Icons

The same icon in other sets

All close 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="svgID5" width="72" height="72" x="-24" y="-24" maskUnits="userSpaceOnUse"><rect width="72" height="72" x="-24" y="-24" fill="#fff"/><path fill="#000" d="M2.5 10.9H21.5a1.1 1.1 0 0 1 0 2.2H2.5a1.1 1.1 0 0 1 0-2.2Z" transform="rotate(-45 12 12)"/></mask></defs><g mask="url(#svgID5)"><path fill-rule="evenodd" d="M2.5 10.9H21.5a1.1 1.1 0 0 1 0 2.2H2.5a1.1 1.1 0 0 1 0-2.2Z" transform="rotate(45 12 12)"/><path fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width=".55" d="M20.75 11.65l.55.35-.55.35" opacity="0" transform="rotate(45 12 12)"/></g><path fill-rule="evenodd" d="M2.5 10.9H21.5a1.1 1.1 0 0 1 0 2.2H2.5a1.1 1.1 0 0 1 0-2.2Z" 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 DitherCloseSolid(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="svgID5" width="72" height="72" x="-24" y="-24" maskUnits="userSpaceOnUse"><rect width="72" height="72" x="-24" y="-24" fill="#fff"/><path fill="#000" d="M2.5 10.9H21.5a1.1 1.1 0 0 1 0 2.2H2.5a1.1 1.1 0 0 1 0-2.2Z" transform="rotate(-45 12 12)"/></mask></defs><g mask="url(#svgID5)"><path fillRule="evenodd" d="M2.5 10.9H21.5a1.1 1.1 0 0 1 0 2.2H2.5a1.1 1.1 0 0 1 0-2.2Z" transform="rotate(45 12 12)"/><path fill="none" stroke="currentColor" strokeLinecap="round" strokeLinejoin="round" strokeWidth=".55" d="M20.75 11.65l.55.35-.55.35" opacity="0" transform="rotate(45 12 12)"/></g><path fillRule="evenodd" d="M2.5 10.9H21.5a1.1 1.1 0 0 1 0 2.2H2.5a1.1 1.1 0 0 1 0-2.2Z" 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="svgID5" width="72" height="72" x="-24" y="-24" maskUnits="userSpaceOnUse"><rect width="72" height="72" x="-24" y="-24" fill="#fff"/><path fill="#000" d="M2.5 10.9H21.5a1.1 1.1 0 0 1 0 2.2H2.5a1.1 1.1 0 0 1 0-2.2Z" transform="rotate(-45 12 12)"/></mask></defs><g mask="url(#svgID5)"><path fill-rule="evenodd" d="M2.5 10.9H21.5a1.1 1.1 0 0 1 0 2.2H2.5a1.1 1.1 0 0 1 0-2.2Z" transform="rotate(45 12 12)"/><path fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width=".55" d="M20.75 11.65l.55.35-.55.35" opacity="0" transform="rotate(45 12 12)"/></g><path fill-rule="evenodd" d="M2.5 10.9H21.5a1.1 1.1 0 0 1 0 2.2H2.5a1.1 1.1 0 0 1 0-2.2Z" 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-solid {
  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%22svgID5%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%22%23000%22%20d%3D%22M2.5%2010.9H21.5a1.1%201.1%200%200%201%200%202.2H2.5a1.1%201.1%200%200%201%200-2.2Z%22%20transform%3D%22rotate(-45%2012%2012)%22%2F%3E%3C%2Fmask%3E%3C%2Fdefs%3E%3Cg%20mask%3D%22url(%23svgID5)%22%3E%3Cpath%20fill-rule%3D%22evenodd%22%20d%3D%22M2.5%2010.9H21.5a1.1%201.1%200%200%201%200%202.2H2.5a1.1%201.1%200%200%201%200-2.2Z%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%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-rule%3D%22evenodd%22%20d%3D%22M2.5%2010.9H21.5a1.1%201.1%200%200%201%200%202.2H2.5a1.1%201.1%200%200%201%200-2.2Z%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%22svgID5%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%22%23000%22%20d%3D%22M2.5%2010.9H21.5a1.1%201.1%200%200%201%200%202.2H2.5a1.1%201.1%200%200%201%200-2.2Z%22%20transform%3D%22rotate(-45%2012%2012)%22%2F%3E%3C%2Fmask%3E%3C%2Fdefs%3E%3Cg%20mask%3D%22url(%23svgID5)%22%3E%3Cpath%20fill-rule%3D%22evenodd%22%20d%3D%22M2.5%2010.9H21.5a1.1%201.1%200%200%201%200%202.2H2.5a1.1%201.1%200%200%201%200-2.2Z%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%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-rule%3D%22evenodd%22%20d%3D%22M2.5%2010.9H21.5a1.1%201.1%200%200%201%200%202.2H2.5a1.1%201.1%200%200%201%200-2.2Z%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-solid.svg?color=%231a73e8&size=48

Close solid icon — Dither Icons · IconsDB