Gentleface › Shapes › polygon
polygon icon
polygonPolygon: polygon, polygon tool. Drawn on the 16 px grid. Free SVG, PNG and code, MIT licensed.
Code line-round
<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>
// 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: see /icons/polygon.md
Svelte: see /icons/polygon.md
HTML img: see /icons/polygon.md
CSS: see /icons/polygon.md
Data URL: see /icons/polygon.md
Sprite: see /icons/polygon.md
SwiftUI: see /icons/polygon.md
Compose: see /icons/polygon.md
Android XML: see /icons/polygon.md
Flutter: see /icons/polygon.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.
With npm: import { PolygonIcon } from '@gentleface/react'; (setup).
Meaning
More shapes icons
burst circle circle-pile circles cone cube cube-arrow-down cube-arrow-up cube-off cube-pencil cube-plus cube-sparkle cuboid cylinder diamond dot · all 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