Castle icon
si-glyph:castle
The Castle icon (si-glyph:castle) is a free SVG icon from the SmartIcons Glyph set by SmartIcons. It is drawn on a 17 × 17 grid. SmartIcons Glyph icons are released under the CC BY SA 4.0 license, which allows use in personal and commercial projects as long as you credit the author and share changes to the icons under the same license. Copy it as SVG, JSX, Vue or Svelte code, or download the SVG file.
- Icon set
- SmartIcons Glyph
- Author
- SmartIcons
- License
- CC-BY-SA-4.0
- Size
- 17 × 17
SVG code
<svg xmlns="http://www.w3.org/2000/svg" width="17" height="17" viewBox="0 0 17 17"><path fill="currentColor" fill-rule="evenodd" d="M16 5h-1v1h-1v-.985L13 5v4h-2V4c.549 0 1-.434 1-.97c0 0-3.443-2.988-3.992-2.988h-.016c-.548 0-3.991 2.988-3.991 2.988c0 .536.493.97 1.041.97v5H2.98V6s-.457.055-.979.015V7h-1V6h-1v8.951c0 .556.489 1.007 1.042 1.007H7v-2.896c0-1.427 1.041-1.125 1.041-1.125s1.042-.302 1.042 1.125c0 0 .002 2.854 0 2.896H15c.553 0 1-.487 1-1.087zM1 10V9h1v1zm2 3H2v-1h1zm2 0H4v-1h1zm4-6H6.953V4.935H9zm3 6h-1v-1h1zm2 0h-1v-1h1zm1-3h-1.021V9H15z"/></svg>How to use the Castle icon
React
import { Icon } from "@iconify/react";
<Icon icon="si-glyph:castle" width="24" />Vue
<script setup>
import { Icon } from "@iconify/vue";
</script>
<template>
<Icon icon="si-glyph:castle" width="24" />
</template>Svelte
<script>
import Icon from "@iconify/svelte";
</script>
<Icon icon="si-glyph:castle" width="24" />Tailwind CSS
<!-- @iconify/tailwind plugin -->
<span class="icon-[si-glyph--castle]"></span>UnoCSS
<!-- @unocss/preset-icons + @iconify-json/si-glyph -->
<div class="i-si-glyph:castle"></div>Web component
<script src="https://code.iconify.design/iconify-icon/2.1.0/iconify-icon.min.js"></script>
<iconify-icon icon="si-glyph:castle"></iconify-icon>HTML image
<img src="https://iconyz.com/api/public/svg/si-glyph/castle.svg" alt="Castle icon" width="24" height="24">Castle icon in other icon sets
Castle icon FAQ
Is the Castle icon free for commercial use?
Yes. SmartIcons Glyph icons are released under the CC BY SA 4.0 license, which allows use in personal and commercial projects as long as you credit the author and share changes to the icons under the same license.
How do I use the Castle icon in React?
Install @iconify/react and render <Icon icon="si-glyph:castle" />, or use “Copy code” on this page to get a standalone React component.
How do I add the Castle icon to a web page?
Link the SVG file in an image tag: <img src="https://iconyz.com/api/public/svg/si-glyph/castle.svg" alt="Castle icon">, or paste the SVG code inline to style it with CSS.