castle from TDesign Icons by TDesign · Outline · MIT Free for personal and commercial use.

Name
castle
Set
TDesign Icons
Style
Outline
Viewbox
24×24
License
MIT

1 other variant in TDesign Icons

The same icon in other sets

Related icons in TDesign Icons

Use the castle icon

SVG

<svg xmlns="http://www.w3.org/2000/svg" width="1em" height="1em" viewBox="0 0 24 24"><g fill="none"><path d="M6 5h12v16H6z"/><path d="M14 14h-4v7h4zM2 21h4v-6H2zm16 0h4v-6h-4z"/><path d="M14 14h-4v7h4z"/><path stroke="currentColor" stroke-linecap="square" stroke-width="2" d="M2 15v6h4v-6zm0 0v-1m20 1v6h-4v-6zm0 0v-1m-12 0h4v7h-4z"/><path stroke="currentColor" stroke-linecap="square" stroke-width="2" d="M18 5V3m0 2h-4m4 0v16H6V5m0 0V3m0 2h4m0-2v2m0 0h4m0-2v2"/></g></svg>

React

import type { SVGProps } from "react";

export function TdesignCastle(props: SVGProps<SVGSVGElement>) {
  return (
    <svg {...props} xmlns="http://www.w3.org/2000/svg" width="1em" height="1em" viewBox="0 0 24 24"><g fill="none"><path d="M6 5h12v16H6z"/><path d="M14 14h-4v7h4zM2 21h4v-6H2zm16 0h4v-6h-4z"/><path d="M14 14h-4v7h4z"/><path stroke="currentColor" strokeLinecap="square" strokeWidth="2" d="M2 15v6h4v-6zm0 0v-1m20 1v6h-4v-6zm0 0v-1m-12 0h4v7h-4z"/><path stroke="currentColor" strokeLinecap="square" strokeWidth="2" d="M18 5V3m0 2h-4m4 0v16H6V5m0 0V3m0 2h4m0-2v2m0 0h4m0-2v2"/></g></svg>
  );
}

Vue

<template>
  <svg xmlns="http://www.w3.org/2000/svg" width="1em" height="1em" viewBox="0 0 24 24"><g fill="none"><path d="M6 5h12v16H6z"/><path d="M14 14h-4v7h4zM2 21h4v-6H2zm16 0h4v-6h-4z"/><path d="M14 14h-4v7h4z"/><path stroke="currentColor" stroke-linecap="square" stroke-width="2" d="M2 15v6h4v-6zm0 0v-1m20 1v6h-4v-6zm0 0v-1m-12 0h4v7h-4z"/><path stroke="currentColor" stroke-linecap="square" stroke-width="2" d="M18 5V3m0 2h-4m4 0v16H6V5m0 0V3m0 2h4m0-2v2m0 0h4m0-2v2"/></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%2024%2024%22%3E%3Cg%20fill%3D%22none%22%3E%3Cpath%20d%3D%22M6%205h12v16H6z%22%2F%3E%3Cpath%20d%3D%22M14%2014h-4v7h4zM2%2021h4v-6H2zm16%200h4v-6h-4z%22%2F%3E%3Cpath%20d%3D%22M14%2014h-4v7h4z%22%2F%3E%3Cpath%20stroke%3D%22currentColor%22%20stroke-linecap%3D%22square%22%20stroke-width%3D%222%22%20d%3D%22M2%2015v6h4v-6zm0%200v-1m20%201v6h-4v-6zm0%200v-1m-12%200h4v7h-4z%22%2F%3E%3Cpath%20stroke%3D%22currentColor%22%20stroke-linecap%3D%22square%22%20stroke-width%3D%222%22%20d%3D%22M18%205V3m0%202h-4m4%200v16H6V5m0%200V3m0%202h4m0-2v2m0%200h4m0-2v2%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%2024%2024%22%3E%3Cg%20fill%3D%22none%22%3E%3Cpath%20d%3D%22M6%205h12v16H6z%22%2F%3E%3Cpath%20d%3D%22M14%2014h-4v7h4zM2%2021h4v-6H2zm16%200h4v-6h-4z%22%2F%3E%3Cpath%20d%3D%22M14%2014h-4v7h4z%22%2F%3E%3Cpath%20stroke%3D%22currentColor%22%20stroke-linecap%3D%22square%22%20stroke-width%3D%222%22%20d%3D%22M2%2015v6h4v-6zm0%200v-1m20%201v6h-4v-6zm0%200v-1m-12%200h4v7h-4z%22%2F%3E%3Cpath%20stroke%3D%22currentColor%22%20stroke-linecap%3D%22square%22%20stroke-width%3D%222%22%20d%3D%22M18%205V3m0%202h-4m4%200v16H6V5m0%200V3m0%202h4m0-2v2m0%200h4m0-2v2%22%2F%3E%3C%2Fg%3E%3C%2Fsvg%3E") no-repeat center / contain;
}

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