gentleface

Gentleface › Shapes › heptagon

heptagon icon

Heptagon: heptagon, seven sided, septagon. Drawn on the 16 px grid. Free SVG, PNG and code, MIT licensed.

Code line-round

SVG
<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 16 16" fill="currentColor" aria-hidden="true"><path d="M13.795 9.058C13.72 9.438 13.576 9.788 13.361 10.109L11.471 12.945C11.251 13.275 10.967 13.533 10.618 13.72C10.268 13.907 9.896 14 9.5 14L5.5 14C5.104 14 4.732 13.907 4.382 13.72C4.033 13.533 3.749 13.275 3.529 12.945L1.639 10.109C1.424 9.788 1.28 9.438 1.205 9.058C1.13 8.679 1.13 8.3 1.206 7.921L1.814 4.883C1.891 4.498 2.048 4.149 2.287 3.837C2.525 3.525 2.82 3.281 3.171 3.106L6.382 1.5C6.734 1.324 7.107 1.236 7.5 1.236C7.893 1.236 8.266 1.324 8.618 1.5L11.829 3.106C12.18 3.281 12.475 3.525 12.713 3.837C12.952 4.149 13.109 4.498 13.186 4.883L13.794 7.921C13.87 8.3 13.87 8.679 13.795 9.058ZM3.618 4C3.405 4.107 3.226 4.255 3.081 4.444C2.937 4.633 2.841 4.845 2.794 5.079L2.186 8.117C2.137 8.366 2.136 8.615 2.186 8.864C2.235 9.113 2.33 9.343 2.471 9.555L4.361 12.391C4.488 12.581 4.653 12.73 4.854 12.838C5.056 12.946 5.271 13 5.5 13L9.5 13C9.729 13 9.944 12.946 10.146 12.838C10.347 12.73 10.512 12.581 10.639 12.391L12.529 9.555C12.67 9.343 12.765 9.113 12.814 8.864C12.864 8.615 12.863 8.366 12.814 8.117L12.206 5.079C12.159 4.845 12.063 4.633 11.919 4.444C11.774 4.255 11.595 4.107 11.382 4L8.171 2.394C7.96 2.289 7.736 2.236 7.5 2.236C7.264 2.236 7.04 2.289 6.829 2.394L3.618 4Z"/></svg>
React
// Gentleface "heptagon" (line-round), MIT. https://gentleface.com/icons/heptagon
import type { SVGProps } from 'react';

export function HeptagonIcon(props: SVGProps<SVGSVGElement>) {
  return (
    <svg xmlns="http://www.w3.org/2000/svg" width={16} height={16} viewBox="0 0 16 16" fill="currentColor" aria-hidden="true" {...props}>
      <path d="M13.795 9.058C13.72 9.438 13.576 9.788 13.361 10.109L11.471 12.945C11.251 13.275 10.967 13.533 10.618 13.72C10.268 13.907 9.896 14 9.5 14L5.5 14C5.104 14 4.732 13.907 4.382 13.72C4.033 13.533 3.749 13.275 3.529 12.945L1.639 10.109C1.424 9.788 1.28 9.438 1.205 9.058C1.13 8.679 1.13 8.3 1.206 7.921L1.814 4.883C1.891 4.498 2.048 4.149 2.287 3.837C2.525 3.525 2.82 3.281 3.171 3.106L6.382 1.5C6.734 1.324 7.107 1.236 7.5 1.236C7.893 1.236 8.266 1.324 8.618 1.5L11.829 3.106C12.18 3.281 12.475 3.525 12.713 3.837C12.952 4.149 13.109 4.498 13.186 4.883L13.794 7.921C13.87 8.3 13.87 8.679 13.795 9.058ZM3.618 4C3.405 4.107 3.226 4.255 3.081 4.444C2.937 4.633 2.841 4.845 2.794 5.079L2.186 8.117C2.137 8.366 2.136 8.615 2.186 8.864C2.235 9.113 2.33 9.343 2.471 9.555L4.361 12.391C4.488 12.581 4.653 12.73 4.854 12.838C5.056 12.946 5.271 13 5.5 13L9.5 13C9.729 13 9.944 12.946 10.146 12.838C10.347 12.73 10.512 12.581 10.639 12.391L12.529 9.555C12.67 9.343 12.765 9.113 12.814 8.864C12.864 8.615 12.863 8.366 12.814 8.117L12.206 5.079C12.159 4.845 12.063 4.633 11.919 4.444C11.774 4.255 11.595 4.107 11.382 4L8.171 2.394C7.96 2.289 7.736 2.236 7.5 2.236C7.264 2.236 7.04 2.289 6.829 2.394L3.618 4Z" />
    </svg>
  );
}
Vue
Vue: see /icons/heptagon.md
Svelte
Svelte: see /icons/heptagon.md
HTML img
HTML img: see /icons/heptagon.md
CSS
CSS: see /icons/heptagon.md
Data URL
Data URL: see /icons/heptagon.md
Sprite
Sprite: see /icons/heptagon.md
SwiftUI
SwiftUI: see /icons/heptagon.md
Compose
Compose: see /icons/heptagon.md
Android XML
Android XML: see /icons/heptagon.md
Flutter
Flutter: see /icons/heptagon.md

Each icon is drawn on the 16 px grid, and most also on the 20 and 24 px grids (at 24 in three weights: light 1 px, regular 1.5 px, bold 2 px). Show the drawing made for your size, or an exact multiple of it, on whole pixels: 16 for 16 and 32 px, 20 for 20 and 40, 24 for 24 and 48. A size in between or a fractional position blurs it. The code on each icon page is the 16 px drawing, an SVG with fill="currentColor"; the icon page's downloads follow its Grid switch, and npm has the 20 and 24 px drawings too. The snippets are decorative (aria-hidden). For an icon that carries meaning on its own, such as an icon-only button, label the button, or give the SVG role="img" and an aria-label. More in how to use.

Meaning

Use it for
heptagon, seven sided, septagon
Tags
heptagon, septagon, shape, polygon, seven-sided, geometry
Category
Shapes
Component name
HeptagonIcon
History
  • 20 px drawn, 24 px drawn, added

More shapes icons

For agents

Metadata: /icons/heptagon.json · Markdown: /icons/heptagon.md · SVG: https://gentleface.com/svg/{style}/16/heptagon.svg · PNG: https://gentleface.com/png/{style}/{16|32|48}/heptagon.png