heptagon icon
heptagon from Akar Icons by Arturo Wibawa · Outline · MIT Free for personal and commercial use.
- Name
- heptagon
- Set
- Akar Icons
- Style
- Outline
- Viewbox
- 24×24
- License
- MIT
1 other variant in Akar Icons
The same icon in other sets
Use the heptagon 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-width="2" d="M11.114 2.438a2 2 0 0 1 1.772 0l6.275 3.1a2 2 0 0 1 1.066 1.358l1.569 7.047a2 2 0 0 1-.374 1.662l-4.371 5.623a2 2 0 0 1-1.579.772H8.528a2 2 0 0 1-1.579-.772l-4.371-5.623a2 2 0 0 1-.374-1.662l1.569-7.047a2 2 0 0 1 1.066-1.359z"/></svg>
React
import type { SVGProps } from "react";
export function AkarIconsHeptagon(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" strokeWidth="2" d="M11.114 2.438a2 2 0 0 1 1.772 0l6.275 3.1a2 2 0 0 1 1.066 1.358l1.569 7.047a2 2 0 0 1-.374 1.662l-4.371 5.623a2 2 0 0 1-1.579.772H8.528a2 2 0 0 1-1.579-.772l-4.371-5.623a2 2 0 0 1-.374-1.662l1.569-7.047a2 2 0 0 1 1.066-1.359z"/></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-width="2" d="M11.114 2.438a2 2 0 0 1 1.772 0l6.275 3.1a2 2 0 0 1 1.066 1.358l1.569 7.047a2 2 0 0 1-.374 1.662l-4.371 5.623a2 2 0 0 1-1.579.772H8.528a2 2 0 0 1-1.579-.772l-4.371-5.623a2 2 0 0 1-.374-1.662l1.569-7.047a2 2 0 0 1 1.066-1.359z"/></svg> </template>
CSS
.icon-heptagon {
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-width%3D%222%22%20d%3D%22M11.114%202.438a2%202%200%200%201%201.772%200l6.275%203.1a2%202%200%200%201%201.066%201.358l1.569%207.047a2%202%200%200%201-.374%201.662l-4.371%205.623a2%202%200%200%201-1.579.772H8.528a2%202%200%200%201-1.579-.772l-4.371-5.623a2%202%200%200%201-.374-1.662l1.569-7.047a2%202%200%200%201%201.066-1.359z%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-width%3D%222%22%20d%3D%22M11.114%202.438a2%202%200%200%201%201.772%200l6.275%203.1a2%202%200%200%201%201.066%201.358l1.569%207.047a2%202%200%200%201-.374%201.662l-4.371%205.623a2%202%200%200%201-1.579.772H8.528a2%202%200%200%201-1.579-.772l-4.371-5.623a2%202%200%200%201-.374-1.662l1.569-7.047a2%202%200%200%201%201.066-1.359z%22%2F%3E%3C%2Fsvg%3E") no-repeat center / contain;
}Direct links: SVG · download · JSON · https://iconsdb.app/api/v1/icon/akar-icons/heptagon.svg?color=%231a73e8&size=48