The hexagon icon in 4 styles and 2 corner shapes, drawn once and generated for every size.
import { HexagonIcon } from '@uv-foundry/icons-react';<HexagonIcon />The hexagon icon as SVG, stroke style with rounded corners. It uses currentColor, so it takes the colour of the text around it.
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" aria-hidden="true" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"><path d="m12 2.75 8.25 4.75v9L12 21.25 3.75 16.5v-9Z"/></svg>Smaller sizes use a heavier stroke so lines stay crisp on screen.