softicons.dev

hexagon key icon

Free hexagon key SVG icon, MIT licensed. Copy the SVG, install for React/Vue/Angular, or download. Part of the Softicons interface set.

Setup guide
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"
     fill="none" stroke="currentColor" stroke-width="2"
     stroke-linecap="round" stroke-linejoin="round">
  <path d="M21 16V8a2 2 0 0 0-1-1.73l-7-4a2 2 0 0 0-2 0l-7 4A2 2 0 0 0 3 8v8a2 2 0 0 0 1 1.73l7 4a2 2 0 0 0 2 0l7-4A2 2 0 0 0 21 16Z"/>
  <circle cx="10.79" cy="13.21" r="1.35"/>
  <path d="M11.73 12.27 14.7 9.3"/>
  <path d="M13.21 10.79 14.03 11.6"/>
</svg>
<!-- via the CDN — no build step -->
<img src="https://cdn.softicons.dev/v1/icons/interface/hexagon-key.svg"
     width="24" height="24" alt="hexagon key icon">

<!-- …or paste the raw SVG from the SVG tab -->
import { HexagonKeyIcon } from "@softicons/react";

export default function Example() {
  return <HexagonKeyIcon size={24} strokeWidth={2} />;
}
<script setup>
import { HexagonKeyIcon } from "@softicons/vue";
</script>

<template>
  <HexagonKeyIcon :size="24" :stroke-width="2" />
</template>
import { HexagonKeyIconComponent } from "@softicons/angular";

@Component({
  standalone: true,
  imports: [HexagonKeyIconComponent],
  template: `<hexagon-key-icon [size]="24" [strokeWidth]="2" />`,
})
export class DemoComponent {}