school from IconPark Solid by ByteDance · Solid · Build · Apache-2.0 Free for personal and commercial use.

Name
school
Set
IconPark Solid
Style
Solid
Category
Build
Viewbox
48×48
License
Apache 2.0

The same icon in other sets

More build icons from IconPark Solid

Use the school icon

SVG

<svg xmlns="http://www.w3.org/2000/svg" width="1em" height="1em" viewBox="0 0 48 48"><defs><mask id="SVGC1FBjtoG"><g fill="none" stroke-width="4"><path fill="#fff" stroke="#fff" stroke-linejoin="round" d="M4 33a2 2 0 0 1 2-2h6v-7l12-8l12 8v7h6a2 2 0 0 1 2 2v9a2 2 0 0 1-2 2H4z"/><path stroke="#fff" stroke-linecap="round" d="M24 6v10"/><path stroke="#fff" stroke-linecap="round" stroke-linejoin="round" d="M36 12V6s-1.5 3-6 0s-6 0-6 0v6s1.5-3 6 0s6 0 6 0"/><path stroke="#000" stroke-linecap="round" stroke-linejoin="round" d="M28 44V31h-8v13"/><path stroke="#fff" stroke-linecap="round" stroke-linejoin="round" d="M18 44h12"/></g></mask></defs><path fill="currentColor" d="M0 0h48v48H0z" mask="url(#SVGC1FBjtoG)"/></svg>

React

import type { SVGProps } from "react";

export function IconParkSolidSchool(props: SVGProps<SVGSVGElement>) {
  return (
    <svg {...props} xmlns="http://www.w3.org/2000/svg" width="1em" height="1em" viewBox="0 0 48 48"><defs><mask id="SVGC1FBjtoG"><g fill="none" strokeWidth="4"><path fill="#fff" stroke="#fff" strokeLinejoin="round" d="M4 33a2 2 0 0 1 2-2h6v-7l12-8l12 8v7h6a2 2 0 0 1 2 2v9a2 2 0 0 1-2 2H4z"/><path stroke="#fff" strokeLinecap="round" d="M24 6v10"/><path stroke="#fff" strokeLinecap="round" strokeLinejoin="round" d="M36 12V6s-1.5 3-6 0s-6 0-6 0v6s1.5-3 6 0s6 0 6 0"/><path stroke="#000" strokeLinecap="round" strokeLinejoin="round" d="M28 44V31h-8v13"/><path stroke="#fff" strokeLinecap="round" strokeLinejoin="round" d="M18 44h12"/></g></mask></defs><path fill="currentColor" d="M0 0h48v48H0z" mask="url(#SVGC1FBjtoG)"/></svg>
  );
}

Vue

<template>
  <svg xmlns="http://www.w3.org/2000/svg" width="1em" height="1em" viewBox="0 0 48 48"><defs><mask id="SVGC1FBjtoG"><g fill="none" stroke-width="4"><path fill="#fff" stroke="#fff" stroke-linejoin="round" d="M4 33a2 2 0 0 1 2-2h6v-7l12-8l12 8v7h6a2 2 0 0 1 2 2v9a2 2 0 0 1-2 2H4z"/><path stroke="#fff" stroke-linecap="round" d="M24 6v10"/><path stroke="#fff" stroke-linecap="round" stroke-linejoin="round" d="M36 12V6s-1.5 3-6 0s-6 0-6 0v6s1.5-3 6 0s6 0 6 0"/><path stroke="#000" stroke-linecap="round" stroke-linejoin="round" d="M28 44V31h-8v13"/><path stroke="#fff" stroke-linecap="round" stroke-linejoin="round" d="M18 44h12"/></g></mask></defs><path fill="currentColor" d="M0 0h48v48H0z" mask="url(#SVGC1FBjtoG)"/></svg>
</template>

CSS

.icon-school {
  width: 24px;
  height: 24px;
  background-color: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%221em%22%20height%3D%221em%22%20viewBox%3D%220%200%2048%2048%22%3E%3Cdefs%3E%3Cmask%20id%3D%22SVGC1FBjtoG%22%3E%3Cg%20fill%3D%22none%22%20stroke-width%3D%224%22%3E%3Cpath%20fill%3D%22%23fff%22%20stroke%3D%22%23fff%22%20stroke-linejoin%3D%22round%22%20d%3D%22M4%2033a2%202%200%200%201%202-2h6v-7l12-8l12%208v7h6a2%202%200%200%201%202%202v9a2%202%200%200%201-2%202H4z%22%2F%3E%3Cpath%20stroke%3D%22%23fff%22%20stroke-linecap%3D%22round%22%20d%3D%22M24%206v10%22%2F%3E%3Cpath%20stroke%3D%22%23fff%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%20d%3D%22M36%2012V6s-1.5%203-6%200s-6%200-6%200v6s1.5-3%206%200s6%200%206%200%22%2F%3E%3Cpath%20stroke%3D%22%23000%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%20d%3D%22M28%2044V31h-8v13%22%2F%3E%3Cpath%20stroke%3D%22%23fff%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%20d%3D%22M18%2044h12%22%2F%3E%3C%2Fg%3E%3C%2Fmask%3E%3C%2Fdefs%3E%3Cpath%20fill%3D%22currentColor%22%20d%3D%22M0%200h48v48H0z%22%20mask%3D%22url(%23SVGC1FBjtoG)%22%2F%3E%3C%2Fsvg%3E") no-repeat center / contain;
  mask: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%221em%22%20height%3D%221em%22%20viewBox%3D%220%200%2048%2048%22%3E%3Cdefs%3E%3Cmask%20id%3D%22SVGC1FBjtoG%22%3E%3Cg%20fill%3D%22none%22%20stroke-width%3D%224%22%3E%3Cpath%20fill%3D%22%23fff%22%20stroke%3D%22%23fff%22%20stroke-linejoin%3D%22round%22%20d%3D%22M4%2033a2%202%200%200%201%202-2h6v-7l12-8l12%208v7h6a2%202%200%200%201%202%202v9a2%202%200%200%201-2%202H4z%22%2F%3E%3Cpath%20stroke%3D%22%23fff%22%20stroke-linecap%3D%22round%22%20d%3D%22M24%206v10%22%2F%3E%3Cpath%20stroke%3D%22%23fff%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%20d%3D%22M36%2012V6s-1.5%203-6%200s-6%200-6%200v6s1.5-3%206%200s6%200%206%200%22%2F%3E%3Cpath%20stroke%3D%22%23000%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%20d%3D%22M28%2044V31h-8v13%22%2F%3E%3Cpath%20stroke%3D%22%23fff%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%20d%3D%22M18%2044h12%22%2F%3E%3C%2Fg%3E%3C%2Fmask%3E%3C%2Fdefs%3E%3Cpath%20fill%3D%22currentColor%22%20d%3D%22M0%200h48v48H0z%22%20mask%3D%22url(%23SVGC1FBjtoG)%22%2F%3E%3C%2Fsvg%3E") no-repeat center / contain;
}

Direct links: SVG · download · JSON · https://iconsdb.app/api/v1/icon/icon-park-solid/school.svg?color=%231a73e8&size=48