School icon
andrsrxn:school
The School icon (andrsrxn:school) is a free SVG icon from the andrsrxn/icons set by Andrés Raxón. It is drawn on a 24 × 24 grid. andrsrxn/icons are released under the MIT license, which allows use in personal and commercial projects. Copy it as SVG, JSX, Vue or Svelte code, or download the SVG file.
- Icon set
- andrsrxn/icons
- Author
- Andrés Raxón
- License
- MIT
- Size
- 24 × 24
- Category
- Buildings
SVG code
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><g fill="none"><path fill="currentColor" fill-rule="evenodd" d="M12 2.27L5.8 6.16v15.31h3.7l.3-5.28l2.26-.49l2.22.5l.35 5.27h3.6V6.16zm2.44 6.35c0 1.16-1.11 2.1-2.48 2.1c-1.38 0-2.49-.94-2.49-2.1c0-1.15 1.11-2.1 2.49-2.1c1.37 0 2.48.95 2.48 2.1" clip-rule="evenodd" opacity=".2"/><path stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="1.5" d="M18.82 11.1h.64a3 3 0 0 1 2.7 2.71c.02.14.02.31.02.65v1.82c0 2.05 0 3.08-.48 3.82a3 3 0 0 1-.9.9c-.74.47-1.76.47-3.8.47H7c-2.04 0-3.06 0-3.8-.48a3 3 0 0 1-.9-.89c-.48-.74-.48-1.77-.48-3.82v-2.4a3 3 0 0 1 2.79-2.78h.48"/><path stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="1.5" d="M18.22 21.47V9c0-1.63 0-2.45-.38-3.13s-1.07-1.11-2.47-1.97l-.2-.13c-1.54-.95-2.3-1.42-3.16-1.42c-.85 0-1.62.47-3.15 1.42l-.2.13c-1.4.86-2.1 1.29-2.48 1.97S5.8 7.37 5.8 9v12.48"/><path stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="1.5" d="M14.13 21.47V18.1c0-.57 0-.86-.08-1.09a1.5 1.5 0 0 0-.95-.94c-.23-.08-.51-.08-1.09-.08c-.57 0-.86 0-1.09.08c-.45.15-.8.5-.95.94c-.07.23-.07.52-.07 1.1v3.36"/><ellipse cx="12.01" cy="8.8" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="1.5" rx="2.16" ry="2.09"/></g></svg>How to use the School icon
React
import { Icon } from "@iconify/react";
<Icon icon="andrsrxn:school" width="24" />Vue
<script setup>
import { Icon } from "@iconify/vue";
</script>
<template>
<Icon icon="andrsrxn:school" width="24" />
</template>Svelte
<script>
import Icon from "@iconify/svelte";
</script>
<Icon icon="andrsrxn:school" width="24" />Tailwind CSS
<!-- @iconify/tailwind plugin -->
<span class="icon-[andrsrxn--school]"></span>UnoCSS
<!-- @unocss/preset-icons + @iconify-json/andrsrxn -->
<div class="i-andrsrxn:school"></div>Web component
<script src="https://code.iconify.design/iconify-icon/2.1.0/iconify-icon.min.js"></script>
<iconify-icon icon="andrsrxn:school"></iconify-icon>HTML image
<img src="https://iconyz.com/api/public/svg/andrsrxn/school.svg" alt="School icon" width="24" height="24">School icon in other icon sets
School icon FAQ
Is the School icon free for commercial use?
Yes. andrsrxn/icons are released under the MIT license, which allows use in personal and commercial projects.
How do I use the School icon in React?
Install @iconify/react and render <Icon icon="andrsrxn:school" />, or use “Copy code” on this page to get a standalone React component.
How do I add the School icon to a web page?
Link the SVG file in an image tag: <img src="https://iconyz.com/api/public/svg/andrsrxn/school.svg" alt="School icon">, or paste the SVG code inline to style it with CSS.