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

Name
castle
Set
IconPark
Style
Color
Category
Build
Viewbox
48×48
License
Apache 2.0

The same icon in other sets

More build icons from IconPark

Use the castle icon

SVG

<svg xmlns="http://www.w3.org/2000/svg" width="1em" height="1em" viewBox="0 0 48 48"><g fill="none" stroke="#000" stroke-linecap="round" stroke-linejoin="round" stroke-width="4"><path d="M4 11L11 4L18 11H4Z"/><path d="M30 11L37 4L44 11H30Z"/><path fill="#2F88FF" d="M44 44V26H40V17H34V26H28V21L24 17L20 21V26H14V17H8V26H4V44H18V40C18 36.6863 20.6863 34 24 34C27.3137 34 30 36.6863 30 40V44H44Z"/><rect width="8" height="6" x="7" y="11"/><rect width="8" height="6" x="33" y="11"/></g></svg>

React

import type { SVGProps } from "react";

export function IconParkCastle(props: SVGProps<SVGSVGElement>) {
  return (
    <svg {...props} xmlns="http://www.w3.org/2000/svg" width="1em" height="1em" viewBox="0 0 48 48"><g fill="none" stroke="#000" strokeLinecap="round" strokeLinejoin="round" strokeWidth="4"><path d="M4 11L11 4L18 11H4Z"/><path d="M30 11L37 4L44 11H30Z"/><path fill="#2F88FF" d="M44 44V26H40V17H34V26H28V21L24 17L20 21V26H14V17H8V26H4V44H18V40C18 36.6863 20.6863 34 24 34C27.3137 34 30 36.6863 30 40V44H44Z"/><rect width="8" height="6" x="7" y="11"/><rect width="8" height="6" x="33" y="11"/></g></svg>
  );
}

Vue

<template>
  <svg xmlns="http://www.w3.org/2000/svg" width="1em" height="1em" viewBox="0 0 48 48"><g fill="none" stroke="#000" stroke-linecap="round" stroke-linejoin="round" stroke-width="4"><path d="M4 11L11 4L18 11H4Z"/><path d="M30 11L37 4L44 11H30Z"/><path fill="#2F88FF" d="M44 44V26H40V17H34V26H28V21L24 17L20 21V26H14V17H8V26H4V44H18V40C18 36.6863 20.6863 34 24 34C27.3137 34 30 36.6863 30 40V44H44Z"/><rect width="8" height="6" x="7" y="11"/><rect width="8" height="6" x="33" y="11"/></g></svg>
</template>

CSS

.icon-castle {
  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%3Cg%20fill%3D%22none%22%20stroke%3D%22%23000%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%20stroke-width%3D%224%22%3E%3Cpath%20d%3D%22M4%2011L11%204L18%2011H4Z%22%2F%3E%3Cpath%20d%3D%22M30%2011L37%204L44%2011H30Z%22%2F%3E%3Cpath%20fill%3D%22%232F88FF%22%20d%3D%22M44%2044V26H40V17H34V26H28V21L24%2017L20%2021V26H14V17H8V26H4V44H18V40C18%2036.6863%2020.6863%2034%2024%2034C27.3137%2034%2030%2036.6863%2030%2040V44H44Z%22%2F%3E%3Crect%20width%3D%228%22%20height%3D%226%22%20x%3D%227%22%20y%3D%2211%22%2F%3E%3Crect%20width%3D%228%22%20height%3D%226%22%20x%3D%2233%22%20y%3D%2211%22%2F%3E%3C%2Fg%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%3Cg%20fill%3D%22none%22%20stroke%3D%22%23000%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%20stroke-width%3D%224%22%3E%3Cpath%20d%3D%22M4%2011L11%204L18%2011H4Z%22%2F%3E%3Cpath%20d%3D%22M30%2011L37%204L44%2011H30Z%22%2F%3E%3Cpath%20fill%3D%22%232F88FF%22%20d%3D%22M44%2044V26H40V17H34V26H28V21L24%2017L20%2021V26H14V17H8V26H4V44H18V40C18%2036.6863%2020.6863%2034%2024%2034C27.3137%2034%2030%2036.6863%2030%2040V44H44Z%22%2F%3E%3Crect%20width%3D%228%22%20height%3D%226%22%20x%3D%227%22%20y%3D%2211%22%2F%3E%3Crect%20width%3D%228%22%20height%3D%226%22%20x%3D%2233%22%20y%3D%2211%22%2F%3E%3C%2Fg%3E%3C%2Fsvg%3E") no-repeat center / contain;
}

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