gentleface

Gentleface › Shapes › polygon

polygon icon

Polygon: polygon, polygon tool. 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="M15 6L15 9L13.309 9L11.809 12L12 12L12 15L9 15L9 12.707L3.293 7L1 7L1 4L1.499 4L1.5 4L4 4L4 4.191L7 2.691L7 1L10 1L10 3.293L12.707 6L15 6ZM9.293 4L7 4L7 3.809L4 5.309L4 6.293L9.707 12L10.691 12L12.191 9L12 9L12 6.707L9.293 4Z"/></svg>
React
// Gentleface "polygon" (line-round), MIT. https://gentleface.com/icons/polygon
import type { SVGProps } from 'react';

export function PolygonIcon(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="M15 6L15 9L13.309 9L11.809 12L12 12L12 15L9 15L9 12.707L3.293 7L1 7L1 4L1.499 4L1.5 4L4 4L4 4.191L7 2.691L7 1L10 1L10 3.293L12.707 6L15 6ZM9.293 4L7 4L7 3.809L4 5.309L4 6.293L9.707 12L10.691 12L12.191 9L12 9L12 6.707L9.293 4Z" />
    </svg>
  );
}
Vue
Vue: see /icons/polygon.md
Svelte
Svelte: see /icons/polygon.md
HTML img
HTML img: see /icons/polygon.md
CSS
CSS: see /icons/polygon.md
Data URL
Data URL: see /icons/polygon.md
Sprite
Sprite: see /icons/polygon.md
SwiftUI
SwiftUI: see /icons/polygon.md
Compose
Compose: see /icons/polygon.md
Android XML
Android XML: see /icons/polygon.md
Flutter
Flutter: see /icons/polygon.md

Each SVG is 16 × 16 with fill="currentColor". Keep it at 16 px or an exact multiple (32, 48) on whole pixels: a fractional size or position blurs it. 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
polygon, polygon tool
Alternatives
  • pen-tool: draw free vector paths with the pen (pen-tool)
Tags
polygon, shape, vector, vertices, nodes, anchor, polygon-tool, geometry
Category
Shapes
Component name
PolygonIcon
History
  • added

More shapes icons

For agents

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

Feedback