close icon
close from Element Plus by Element Plus · Outline · MIT Free for personal and commercial use.
- Name
- close
- Set
- Element Plus
- Style
- Outline
- Viewbox
- 1024×1024
- License
- MIT
The same icon in other sets
close-outlinedAnt Design IconscloseCarboncloseCodiconsclose-fillEva IconscloseFont Awesome Solidclose-outlineFlowbite Iconsclosecss.ggcloseIconParkcloseIconPark OutlinecloseIonIconscloseJam IconscloseMaterial Line IconscloseSVG LogoscloseMajesticonscloseMaterial SymbolscloseMaterial Symbols LightcloseMaterial Design Iconsclose-fillMingCute IconcloseOpenMojiclosePixelarticonsclose-fillRemix Iconclose-boldSolarcloseTDesign Iconsclose-outlinedWeUI Icon
Related icons in Element Plus
Use the close icon
SVG
<svg xmlns="http://www.w3.org/2000/svg" width="1em" height="1em" viewBox="0 0 1024 1024"><path fill="currentColor" d="M764.3 214.6L512 466.9L259.7 214.6a32 32 0 0 0-45.1 45.1L466.8 512L214.5 764.2a32 32 0 1 0 45.1 45.2L512 557.2l252.3 252.3a32 32 0 0 0 45.1-45.1L557.1 512l252.3-252.4a32 32 0 1 0-45.1-45.2z"/></svg>
React
import type { SVGProps } from "react";
export function EpClose(props: SVGProps<SVGSVGElement>) {
return (
<svg {...props} xmlns="http://www.w3.org/2000/svg" width="1em" height="1em" viewBox="0 0 1024 1024"><path fill="currentColor" d="M764.3 214.6L512 466.9L259.7 214.6a32 32 0 0 0-45.1 45.1L466.8 512L214.5 764.2a32 32 0 1 0 45.1 45.2L512 557.2l252.3 252.3a32 32 0 0 0 45.1-45.1L557.1 512l252.3-252.4a32 32 0 1 0-45.1-45.2z"/></svg>
);
}
Vue
<template> <svg xmlns="http://www.w3.org/2000/svg" width="1em" height="1em" viewBox="0 0 1024 1024"><path fill="currentColor" d="M764.3 214.6L512 466.9L259.7 214.6a32 32 0 0 0-45.1 45.1L466.8 512L214.5 764.2a32 32 0 1 0 45.1 45.2L512 557.2l252.3 252.3a32 32 0 0 0 45.1-45.1L557.1 512l252.3-252.4a32 32 0 1 0-45.1-45.2z"/></svg> </template>
CSS
.icon-close {
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%201024%201024%22%3E%3Cpath%20fill%3D%22currentColor%22%20d%3D%22M764.3%20214.6L512%20466.9L259.7%20214.6a32%2032%200%200%200-45.1%2045.1L466.8%20512L214.5%20764.2a32%2032%200%201%200%2045.1%2045.2L512%20557.2l252.3%20252.3a32%2032%200%200%200%2045.1-45.1L557.1%20512l252.3-252.4a32%2032%200%201%200-45.1-45.2z%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%201024%201024%22%3E%3Cpath%20fill%3D%22currentColor%22%20d%3D%22M764.3%20214.6L512%20466.9L259.7%20214.6a32%2032%200%200%200-45.1%2045.1L466.8%20512L214.5%20764.2a32%2032%200%201%200%2045.1%2045.2L512%20557.2l252.3%20252.3a32%2032%200%200%200%2045.1-45.1L557.1%20512l252.3-252.4a32%2032%200%201%200-45.1-45.2z%22%2F%3E%3C%2Fsvg%3E") no-repeat center / contain;
}Direct links: SVG · download · JSON · https://iconsdb.app/api/v1/icon/ep/close.svg?color=%231a73e8&size=48