Castle icon
twemoji:castle
The Castle icon (twemoji:castle) is a free SVG icon from the Twitter Emoji set by Twitter. It is drawn on a 36 × 36 grid. Twitter Emoji icons are released under the CC BY 4.0 license, which allows use in personal and commercial projects as long as you credit the author. Copy it as SVG, JSX, Vue or Svelte code, or download the SVG file.
- Icon set
- Twitter Emoji
- Author
- License
- CC-BY-4.0
- Size
- 36 × 36
- Category
- Travel & Places
SVG code
<svg xmlns="http://www.w3.org/2000/svg" width="36" height="36" viewBox="0 0 36 36"><path fill="#ccd6dd" d="M4 17h28v19H4z"/><path fill="#269" d="M6 13h23v5H6z"/><path fill="#aab8c2" d="M1 12v22a2 2 0 0 0 2 2h4V12zm28 0v24h4a2 2 0 0 0 2-2V12z"/><path fill="#f2f9ff" d="M14 22h8v11h-8z"/><path fill="#269" d="M22 19c-.295 0-.558.391-.74 1h-6.52c-.183-.609-.445-1-.74-1c-.552 0-1 1.344-1 3c0 1.657.448 3 1 3s1-1.343 1-3h6c0 1.657.447 3 1 3s1-1.343 1-3c0-1.656-.447-3-1-3"/><path fill="#66757f" d="M3 17h2v2H3zm6 3h2v2H9zm16 0h2v2h-2zM9 24h2v2H9zm16 0h2v2h-2zM3 21h2v2H3zm28-4h2v2h-2zm0 4h2v2h-2z"/><path fill="#f2f9ff" d="M13 22h10v4H13z"/><path fill="#66757f" d="M18 26a2 2 0 0 0-2 2v5h4v-5a2 2 0 0 0-2-2"/><path fill="#8899a6" d="M12 33h12v3H12z"/><path fill="#269" d="M1 12h6S5 4 4 4s-3 8-3 8m28 0h6s-2-8-3-8s-3 8-3 8"/><path fill="#ccd6dd" d="M8 14a1 1 0 0 1-1 1H1a1 1 0 0 1 0-2h6a1 1 0 0 1 1 1m28 0a1 1 0 0 1-1 1h-6a1 1 0 1 1 0-2h6a1 1 0 0 1 1 1"/></svg>How to use the Castle icon
React
import { Icon } from "@iconify/react";
<Icon icon="twemoji:castle" width="24" />Vue
<script setup>
import { Icon } from "@iconify/vue";
</script>
<template>
<Icon icon="twemoji:castle" width="24" />
</template>Svelte
<script>
import Icon from "@iconify/svelte";
</script>
<Icon icon="twemoji:castle" width="24" />Tailwind CSS
<!-- @iconify/tailwind plugin -->
<span class="icon-[twemoji--castle]"></span>UnoCSS
<!-- @unocss/preset-icons + @iconify-json/twemoji -->
<div class="i-twemoji:castle"></div>Web component
<script src="https://code.iconify.design/iconify-icon/2.1.0/iconify-icon.min.js"></script>
<iconify-icon icon="twemoji:castle"></iconify-icon>HTML image
<img src="https://iconyz.com/api/public/svg/twemoji/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. Twitter Emoji icons are released under the CC BY 4.0 license, which allows use in personal and commercial projects as long as you credit the author.
How do I use the Castle icon in React?
Install @iconify/react and render <Icon icon="twemoji: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/twemoji/castle.svg" alt="Castle icon">, or paste the SVG code inline to style it with CSS.