Gentleface › Shapes › hexagon
hexagon icon
hexagonHexagon: hexagon. 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="M13.851 11.717C13.751 11.878 13.617 12.001 13.447 12.085L8.618 14.5C8.266 14.676 7.893 14.764 7.5 14.764C7.107 14.764 6.734 14.676 6.382 14.5L1.553 12.085C1.383 12.001 1.249 11.878 1.149 11.717C1.05 11.556 1 11.38 1 11.191L1 4.809C1 4.62 1.05 4.444 1.149 4.283C1.249 4.122 1.383 3.999 1.553 3.915L6.382 1.5C6.734 1.324 7.107 1.236 7.5 1.236C7.893 1.236 8.266 1.324 8.618 1.5L13.447 3.915C13.617 3.999 13.751 4.122 13.851 4.283C13.95 4.444 14 4.62 14 4.809L14 11.191C14 11.38 13.95 11.556 13.851 11.717ZM2 4.809L2 11.191L6.829 13.606C7.04 13.711 7.264 13.764 7.5 13.764C7.736 13.764 7.96 13.711 8.171 13.606L13 11.191L13 4.809L8.171 2.394C7.96 2.289 7.736 2.236 7.5 2.236C7.264 2.236 7.04 2.289 6.829 2.394L2 4.809Z"/></svg>
// Gentleface "hexagon" (line-round), MIT. https://gentleface.com/icons/hexagon
import type { SVGProps } from 'react';
export function HexagonIcon(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.851 11.717C13.751 11.878 13.617 12.001 13.447 12.085L8.618 14.5C8.266 14.676 7.893 14.764 7.5 14.764C7.107 14.764 6.734 14.676 6.382 14.5L1.553 12.085C1.383 12.001 1.249 11.878 1.149 11.717C1.05 11.556 1 11.38 1 11.191L1 4.809C1 4.62 1.05 4.444 1.149 4.283C1.249 4.122 1.383 3.999 1.553 3.915L6.382 1.5C6.734 1.324 7.107 1.236 7.5 1.236C7.893 1.236 8.266 1.324 8.618 1.5L13.447 3.915C13.617 3.999 13.751 4.122 13.851 4.283C13.95 4.444 14 4.62 14 4.809L14 11.191C14 11.38 13.95 11.556 13.851 11.717ZM2 4.809L2 11.191L6.829 13.606C7.04 13.711 7.264 13.764 7.5 13.764C7.736 13.764 7.96 13.711 8.171 13.606L13 11.191L13 4.809L8.171 2.394C7.96 2.289 7.736 2.236 7.5 2.236C7.264 2.236 7.04 2.289 6.829 2.394L2 4.809Z" />
</svg>
);
}Vue: see /icons/hexagon.md
Svelte: see /icons/hexagon.md
HTML img: see /icons/hexagon.md
CSS: see /icons/hexagon.md
Data URL: see /icons/hexagon.md
Sprite: see /icons/hexagon.md
SwiftUI: see /icons/hexagon.md
Compose: see /icons/hexagon.md
Android XML: see /icons/hexagon.md
Flutter: see /icons/hexagon.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
- hexagon
- Tags
- hexagon, shape, polygon, six-sided, honeycomb, cell, geometry
- Category
- Shapes
- Component name
HexagonIcon- History
- added
More shapes icons
burst circle cone cube cylinder diamond dot ellipse octagon pentagon polygon rectangle rectangle-vertical sphere spiral square · all shapes icons
For agents
Metadata: /icons/hexagon.json · Markdown: /icons/hexagon.md · SVG: https://gentleface.com/svg/{style}/16/hexagon.svg · PNG: https://gentleface.com/png/{style}/{16|32|48}/hexagon.png