softicons.dev

hexagon alert icon

Free hexagon alert 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"/>
  <line x1="12" y1="9.3" x2="12" y2="12.95"/>
  <line x1="12" y1="14.7" x2="12" y2="14.71"/>
</svg>
<!-- via the CDN — no build step -->
<img src="https://cdn.softicons.dev/v1/icons/interface/hexagon-alert.svg"
     width="24" height="24" alt="hexagon alert icon">

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

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

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

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