softicons.dev

octagon lock icon

Free octagon lock 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="M8 2h8l6 6v8l-6 6H8l-6-6V8Z"/>
  <rect x="9.3" y="11.6" width="5.4" height="3.51" rx="0.94"/>
  <path d="M10.65 11.6v-1.22a1.35 1.35 0 0 1 2.7 0v1.22"/>
</svg>
<!-- via the CDN — no build step -->
<img src="https://cdn.softicons.dev/v1/icons/interface/octagon-lock.svg"
     width="24" height="24" alt="octagon lock icon">

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

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

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

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