cross from Phosphor by Phosphor Icons · Regular · MIT Free for personal and commercial use.

Name
cross
Set
Phosphor
Style
Regular
Viewbox
256×256
License
MIT

5 other variants in Phosphor

The same icon in other sets

Use the cross icon

SVG

<svg xmlns="http://www.w3.org/2000/svg" width="1em" height="1em" viewBox="0 0 256 256"><path fill="currentColor" d="M200 72h-40V32a16 16 0 0 0-16-16h-32a16 16 0 0 0-16 16v40H56a16 16 0 0 0-16 16v32a16 16 0 0 0 16 16h40v88a16 16 0 0 0 16 16h32a16 16 0 0 0 16-16v-88h40a16 16 0 0 0 16-16V88a16 16 0 0 0-16-16m0 48h-48a8 8 0 0 0-8 8v96h-32v-96a8 8 0 0 0-8-8H56V88h48a8 8 0 0 0 8-8V32h32v48a8 8 0 0 0 8 8h48Z"/></svg>

React

import type { SVGProps } from "react";

export function PhCross(props: SVGProps<SVGSVGElement>) {
  return (
    <svg {...props} xmlns="http://www.w3.org/2000/svg" width="1em" height="1em" viewBox="0 0 256 256"><path fill="currentColor" d="M200 72h-40V32a16 16 0 0 0-16-16h-32a16 16 0 0 0-16 16v40H56a16 16 0 0 0-16 16v32a16 16 0 0 0 16 16h40v88a16 16 0 0 0 16 16h32a16 16 0 0 0 16-16v-88h40a16 16 0 0 0 16-16V88a16 16 0 0 0-16-16m0 48h-48a8 8 0 0 0-8 8v96h-32v-96a8 8 0 0 0-8-8H56V88h48a8 8 0 0 0 8-8V32h32v48a8 8 0 0 0 8 8h48Z"/></svg>
  );
}

Vue

<template>
  <svg xmlns="http://www.w3.org/2000/svg" width="1em" height="1em" viewBox="0 0 256 256"><path fill="currentColor" d="M200 72h-40V32a16 16 0 0 0-16-16h-32a16 16 0 0 0-16 16v40H56a16 16 0 0 0-16 16v32a16 16 0 0 0 16 16h40v88a16 16 0 0 0 16 16h32a16 16 0 0 0 16-16v-88h40a16 16 0 0 0 16-16V88a16 16 0 0 0-16-16m0 48h-48a8 8 0 0 0-8 8v96h-32v-96a8 8 0 0 0-8-8H56V88h48a8 8 0 0 0 8-8V32h32v48a8 8 0 0 0 8 8h48Z"/></svg>
</template>

CSS

.icon-cross {
  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%20256%20256%22%3E%3Cpath%20fill%3D%22currentColor%22%20d%3D%22M200%2072h-40V32a16%2016%200%200%200-16-16h-32a16%2016%200%200%200-16%2016v40H56a16%2016%200%200%200-16%2016v32a16%2016%200%200%200%2016%2016h40v88a16%2016%200%200%200%2016%2016h32a16%2016%200%200%200%2016-16v-88h40a16%2016%200%200%200%2016-16V88a16%2016%200%200%200-16-16m0%2048h-48a8%208%200%200%200-8%208v96h-32v-96a8%208%200%200%200-8-8H56V88h48a8%208%200%200%200%208-8V32h32v48a8%208%200%200%200%208%208h48Z%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%20256%20256%22%3E%3Cpath%20fill%3D%22currentColor%22%20d%3D%22M200%2072h-40V32a16%2016%200%200%200-16-16h-32a16%2016%200%200%200-16%2016v40H56a16%2016%200%200%200-16%2016v32a16%2016%200%200%200%2016%2016h40v88a16%2016%200%200%200%2016%2016h32a16%2016%200%200%200%2016-16v-88h40a16%2016%200%200%200%2016-16V88a16%2016%200%200%200-16-16m0%2048h-48a8%208%200%200%200-8%208v96h-32v-96a8%208%200%200%200-8-8H56V88h48a8%208%200%200%200%208-8V32h32v48a8%208%200%200%200%208%208h48Z%22%2F%3E%3C%2Fsvg%3E") no-repeat center / contain;
}

Direct links: SVG · download · JSON · https://iconsdb.app/api/v1/icon/ph/cross.svg?color=%231a73e8&size=48