cross icon
cross from Huge Icons by Hugeicons · Stroke · MIT Free for personal and commercial use.
- Name
- cross
- Set
- Huge Icons
- Style
- Stroke
- Viewbox
- 24×24
- License
- MIT
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 24 24"><path fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="1.5" d="M14.5 7.5v-2c0-.465 0-.697-.038-.89a2 2 0 0 0-1.572-1.572C12.697 3 12.465 3 12 3s-.697 0-.89.038A2 2 0 0 0 9.538 4.61c-.038.193-.038.425-.038.89v2c0 .943 0 1.414-.293 1.707S8.443 9.5 7.5 9.5h-2c-.465 0-.697 0-.89.038a2 2 0 0 0-1.572 1.572C3 11.303 3 11.535 3 12s0 .697.038.89a2 2 0 0 0 1.572 1.572c.193.038.425.038.89.038h2c.943 0 1.414 0 1.707.293s.293.764.293 1.707v2c0 .465 0 .697.038.89a2 2 0 0 0 1.572 1.572c.193.038.425.038.89.038s.697 0 .89-.038a2 2 0 0 0 1.572-1.572c.038-.193.038-.425.038-.89v-2c0-.943 0-1.414.293-1.707s.764-.293 1.707-.293h2c.465 0 .697 0 .89-.038a2 2 0 0 0 1.572-1.572C21 12.697 21 12.465 21 12s0-.697-.038-.89a2 2 0 0 0-1.572-1.572c-.193-.038-.425-.038-.89-.038h-2c-.943 0-1.414 0-1.707-.293S14.5 8.443 14.5 7.5"/></svg>
React
import type { SVGProps } from "react";
export function HugeiconsCross(props: SVGProps<SVGSVGElement>) {
return (
<svg {...props} xmlns="http://www.w3.org/2000/svg" width="1em" height="1em" viewBox="0 0 24 24"><path fill="none" stroke="currentColor" strokeLinecap="round" strokeLinejoin="round" strokeWidth="1.5" d="M14.5 7.5v-2c0-.465 0-.697-.038-.89a2 2 0 0 0-1.572-1.572C12.697 3 12.465 3 12 3s-.697 0-.89.038A2 2 0 0 0 9.538 4.61c-.038.193-.038.425-.038.89v2c0 .943 0 1.414-.293 1.707S8.443 9.5 7.5 9.5h-2c-.465 0-.697 0-.89.038a2 2 0 0 0-1.572 1.572C3 11.303 3 11.535 3 12s0 .697.038.89a2 2 0 0 0 1.572 1.572c.193.038.425.038.89.038h2c.943 0 1.414 0 1.707.293s.293.764.293 1.707v2c0 .465 0 .697.038.89a2 2 0 0 0 1.572 1.572c.193.038.425.038.89.038s.697 0 .89-.038a2 2 0 0 0 1.572-1.572c.038-.193.038-.425.038-.89v-2c0-.943 0-1.414.293-1.707s.764-.293 1.707-.293h2c.465 0 .697 0 .89-.038a2 2 0 0 0 1.572-1.572C21 12.697 21 12.465 21 12s0-.697-.038-.89a2 2 0 0 0-1.572-1.572c-.193-.038-.425-.038-.89-.038h-2c-.943 0-1.414 0-1.707-.293S14.5 8.443 14.5 7.5"/></svg>
);
}
Vue
<template> <svg xmlns="http://www.w3.org/2000/svg" width="1em" height="1em" viewBox="0 0 24 24"><path fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="1.5" d="M14.5 7.5v-2c0-.465 0-.697-.038-.89a2 2 0 0 0-1.572-1.572C12.697 3 12.465 3 12 3s-.697 0-.89.038A2 2 0 0 0 9.538 4.61c-.038.193-.038.425-.038.89v2c0 .943 0 1.414-.293 1.707S8.443 9.5 7.5 9.5h-2c-.465 0-.697 0-.89.038a2 2 0 0 0-1.572 1.572C3 11.303 3 11.535 3 12s0 .697.038.89a2 2 0 0 0 1.572 1.572c.193.038.425.038.89.038h2c.943 0 1.414 0 1.707.293s.293.764.293 1.707v2c0 .465 0 .697.038.89a2 2 0 0 0 1.572 1.572c.193.038.425.038.89.038s.697 0 .89-.038a2 2 0 0 0 1.572-1.572c.038-.193.038-.425.038-.89v-2c0-.943 0-1.414.293-1.707s.764-.293 1.707-.293h2c.465 0 .697 0 .89-.038a2 2 0 0 0 1.572-1.572C21 12.697 21 12.465 21 12s0-.697-.038-.89a2 2 0 0 0-1.572-1.572c-.193-.038-.425-.038-.89-.038h-2c-.943 0-1.414 0-1.707-.293S14.5 8.443 14.5 7.5"/></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%2024%2024%22%3E%3Cpath%20fill%3D%22none%22%20stroke%3D%22currentColor%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%20stroke-width%3D%221.5%22%20d%3D%22M14.5%207.5v-2c0-.465%200-.697-.038-.89a2%202%200%200%200-1.572-1.572C12.697%203%2012.465%203%2012%203s-.697%200-.89.038A2%202%200%200%200%209.538%204.61c-.038.193-.038.425-.038.89v2c0%20.943%200%201.414-.293%201.707S8.443%209.5%207.5%209.5h-2c-.465%200-.697%200-.89.038a2%202%200%200%200-1.572%201.572C3%2011.303%203%2011.535%203%2012s0%20.697.038.89a2%202%200%200%200%201.572%201.572c.193.038.425.038.89.038h2c.943%200%201.414%200%201.707.293s.293.764.293%201.707v2c0%20.465%200%20.697.038.89a2%202%200%200%200%201.572%201.572c.193.038.425.038.89.038s.697%200%20.89-.038a2%202%200%200%200%201.572-1.572c.038-.193.038-.425.038-.89v-2c0-.943%200-1.414.293-1.707s.764-.293%201.707-.293h2c.465%200%20.697%200%20.89-.038a2%202%200%200%200%201.572-1.572C21%2012.697%2021%2012.465%2021%2012s0-.697-.038-.89a2%202%200%200%200-1.572-1.572c-.193-.038-.425-.038-.89-.038h-2c-.943%200-1.414%200-1.707-.293S14.5%208.443%2014.5%207.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%2024%2024%22%3E%3Cpath%20fill%3D%22none%22%20stroke%3D%22currentColor%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%20stroke-width%3D%221.5%22%20d%3D%22M14.5%207.5v-2c0-.465%200-.697-.038-.89a2%202%200%200%200-1.572-1.572C12.697%203%2012.465%203%2012%203s-.697%200-.89.038A2%202%200%200%200%209.538%204.61c-.038.193-.038.425-.038.89v2c0%20.943%200%201.414-.293%201.707S8.443%209.5%207.5%209.5h-2c-.465%200-.697%200-.89.038a2%202%200%200%200-1.572%201.572C3%2011.303%203%2011.535%203%2012s0%20.697.038.89a2%202%200%200%200%201.572%201.572c.193.038.425.038.89.038h2c.943%200%201.414%200%201.707.293s.293.764.293%201.707v2c0%20.465%200%20.697.038.89a2%202%200%200%200%201.572%201.572c.193.038.425.038.89.038s.697%200%20.89-.038a2%202%200%200%200%201.572-1.572c.038-.193.038-.425.038-.89v-2c0-.943%200-1.414.293-1.707s.764-.293%201.707-.293h2c.465%200%20.697%200%20.89-.038a2%202%200%200%200%201.572-1.572C21%2012.697%2021%2012.465%2021%2012s0-.697-.038-.89a2%202%200%200%200-1.572-1.572c-.193-.038-.425-.038-.89-.038h-2c-.943%200-1.414%200-1.707-.293S14.5%208.443%2014.5%207.5%22%2F%3E%3C%2Fsvg%3E") no-repeat center / contain;
}Direct links: SVG · download · JSON · https://iconsdb.app/api/v1/icon/hugeicons/cross.svg?color=%231a73e8&size=48