softicons.dev

file key icon

Free file key SVG icon, MIT licensed. Copy the SVG, install for React/Vue/Angular, or download. Part of the Softicons files 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="M14 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V8Z"/>
  <polyline points="14 2 14 8 20 8"/>
  <circle cx="10.96" cy="16.04" r="1.15"/>
  <path d="M11.77 15.23 14.3 12.7"/>
  <path d="M13.04 13.96 13.72 14.65"/>
</svg>
<!-- via the CDN — no build step -->
<img src="https://cdn.softicons.dev/v1/icons/files/file-key.svg"
     width="24" height="24" alt="file key icon">

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

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

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

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