School Lock icon
fa7-solid:school-lock
The School Lock icon (fa7-solid:school-lock) is a free SVG icon from the Font Awesome Solid set by Dave Gandy. It is drawn on a 640 × 640 grid. Font Awesome Solid icons are released under the CC BY 4.0 license, which allows use in personal and commercial projects as long as you credit the author. Copy it as SVG, JSX, Vue or Svelte code, or download the SVG file.
- Icon set
- Font Awesome Solid
- Author
- Dave Gandy
- License
- CC-BY-4.0
- Size
- 640 × 640
- Tags
- schoollock
SVG code
<svg xmlns="http://www.w3.org/2000/svg" width="640" height="640" viewBox="0 0 640 640"><path fill="currentColor" d="M0 256c0-35.3 28.7-64 64-64h64L255.9 76.9c18.3-16.4 46-16.4 64.2 0L448 192h64c33 0 60.2 25 63.6 57.2c-14.7-5.9-30.8-9.2-47.6-9.2c-70.7 0-128 57.3-128 128v24.4c-19.6 17.6-32 43.1-32 71.5v96c0 5.5.5 10.9 1.3 16.1H64c-35.3 0-64-28.7-64-64zm332.3 149.5c-6-3.5-12.9-5.5-20.3-5.5h-48c-22.1 0-40 17.9-40 40v88h96v-64.1c0-20.8 4.4-40.5 12.3-58.4M112 448c8.8 0 16-7.2 16-16v-32c0-8.8-7.2-16-16-16H80c-8.8 0-16 7.2-16 16v32c0 8.8 7.2 16 16 16zm16-144v-32c0-8.8-7.2-16-16-16H80c-8.8 0-16 7.2-16 16v32c0 8.8 7.2 16 16 16h32c8.8 0 16-7.2 16-16m224-48c0-35.3-28.7-64-64-64s-64 28.7-64 64s28.7 64 64 64s64-28.7 64-64m208 160v-47.9c0-17.7-14.3-32-32-32s-32 14.3-32 32V416zm-112 2.7v-50.6c0-44.2 35.8-80 80-80s80 35.8 80 80v50.6c18.6 6.6 32 24.4 32 45.3v96c0 26.5-21.5 48-48 48H464c-26.5 0-48-21.5-48-48v-96c0-20.9 13.4-38.7 32-45.3"/></svg>How to use the School Lock icon
React
import { Icon } from "@iconify/react";
<Icon icon="fa7-solid:school-lock" width="24" />Vue
<script setup>
import { Icon } from "@iconify/vue";
</script>
<template>
<Icon icon="fa7-solid:school-lock" width="24" />
</template>Svelte
<script>
import Icon from "@iconify/svelte";
</script>
<Icon icon="fa7-solid:school-lock" width="24" />Tailwind CSS
<!-- @iconify/tailwind plugin -->
<span class="icon-[fa7-solid--school-lock]"></span>UnoCSS
<!-- @unocss/preset-icons + @iconify-json/fa7-solid -->
<div class="i-fa7-solid:school-lock"></div>Web component
<script src="https://code.iconify.design/iconify-icon/2.1.0/iconify-icon.min.js"></script>
<iconify-icon icon="fa7-solid:school-lock"></iconify-icon>HTML image
<img src="https://iconyz.com/api/public/svg/fa7-solid/school-lock.svg" alt="School Lock icon" width="24" height="24">Related icons in Font Awesome Solid
School Lock icon in other icon sets
School Lock icon FAQ
Is the School Lock icon free for commercial use?
Yes. Font Awesome Solid icons are released under the CC BY 4.0 license, which allows use in personal and commercial projects as long as you credit the author.
How do I use the School Lock icon in React?
Install @iconify/react and render <Icon icon="fa7-solid:school-lock" />, or use “Copy code” on this page to get a standalone React component.
How do I add the School Lock icon to a web page?
Link the SVG file in an image tag: <img src="https://iconyz.com/api/public/svg/fa7-solid/school-lock.svg" alt="School Lock icon">, or paste the SVG code inline to style it with CSS.