Hexagon icon
The Hexagon icon is part of Microsoft's Fluent UI System Icons, available here in filled and regular (outlined) styles on a 24 px grid. Download it as SVG or PNG, or copy it as code — it's free to use under the MIT License.
Use the Hexagon icon in React
Install Microsoft's @fluentui/react-icons package, then import the component. Icons inherit the current text color, and you can size them with CSS.
npm install @fluentui/react-icons
import { Hexagon24Regular, Hexagon24Filled } from "@fluentui/react-icons";
export function Example() {
return <Hexagon24Regular aria-label="Hexagon" />;
}Use it in HTML
Reference the SVG file directly:
<img src="https://fluenticons.co/icons/ic_fluent_hexagon_24_regular.svg" width="24" height="24" alt="Hexagon"> Or paste the SVG markup inline. Setting fill="currentColor" makes the icon follow the text color of its parent:
<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M6.15667 4.12536C6.55854 3.429 7.30144 3 8.10543 3H15.8953C16.6993 3 17.4422 3.429 17.8441 4.12536L21.7395 10.8754C22.1412 11.5713 22.1412 12.4287 21.7395 13.1246L17.8441 19.8746C17.4422 20.571 16.6993 21 15.8953 21H8.10543C7.30144 21 6.55854 20.571 6.15667 19.8746L2.2612 13.1246C1.85955 12.4287 1.85955 11.5713 2.2612 10.8754L6.15667 4.12536ZM8.10543 4.5C7.83744 4.5 7.5898 4.643 7.45585 4.87512L3.56037 11.6251C3.42649 11.8571 3.42649 12.1429 3.56037 12.3749L7.45585 19.1249C7.5898 19.357 7.83744 19.5 8.10543 19.5H15.8953C16.1633 19.5 16.4109 19.357 16.5449 19.1249L20.4403 12.3749C20.5742 12.1429 20.5742 11.8571 20.4403 11.6251L16.5449 4.87512C16.4109 4.643 16.1633 4.5 15.8953 4.5H8.10543Z" fill="currentColor"/></svg>Use it from the SVG package
Microsoft's @fluentui/svg-icons package contains the raw SVG files, which works well with bundlers that import SVGs:
npm install @fluentui/svg-icons
import icon from "@fluentui/svg-icons/icons/hexagon_24_regular.svg";Details
| Name | Hexagon |
|---|---|
| Styles | Regular (outlined), Filled |
| Size | 24 × 24 px (scalable SVG) |
| Regular (outlined) file | ic_fluent_hexagon_24_regular.svg |
| Filled file | ic_fluent_hexagon_24_filled.svg |
| React components | Hexagon24Regular, Hexagon24Filled |
| License | MIT (© Microsoft Corporation) |