Huge Castle Icon
Use the Castle SVG icon from Huge Icons in your product UI. IconStash gives you instant access to the SVG code, React JSX snippet, CSS background-mask, and custom PNG download — all from the browser with no login.
Interactive Customizer
About this icon
Use the Castle icon
The Castle icon (Huge Icons) is categorized under Interface. Its outline style is optimal for app navigation bars, toolbar buttons, form labels, and UI controls where clarity at 16–24px is critical and scales cleanly from 16px to 512px.
Use the IconStash detail panel to preview with a custom background, adjust stroke width, and generate production-ready SVG or PNG files without any external tools.
Export formats
Copy clean SVG vectors with one click, generate custom-size PNG files from 16px to 512px, export JSX/React components ready to paste into your project, or use the icon as a CSS background-mask for flexible theming.
All exports are based on the same editable vector — so the Castle icon stays pixel-perfect at 16px, 24px, 48px, and any large marketing size.
Design & UX integration
Aesthetic characteristics
Huge Icons offers six styles per concept — Stroke, Duotone, Solid, Bulk, Twotone and Sharp Stroke — and Castle is drawn so all six share the same optical footprint. Bulk and Duotone are the ones designers reach for when a page needs visual hierarchy without introducing new colours.
UX best practices
As a general interface glyph, the Castle icon does its job best between 16px and 24px, sitting next to a text label. Icon-only treatments work for a small set of universally understood actions, but comprehension falls off quickly once the action is specific to your product — so when in doubt, add the word.
Use in your project
React / npm — Huge Icons
npm install hugeicons-react
import { CastleIcon } from 'hugeicons-react';
// JSX usage:
<CastleIcon size={24} color="#000" />
Copy the SVG markup directly from the IconStash editor to use the Castle icon without any npm package — paste it into HTML, JSX, or a design tool.
Inline SVG (copy & paste)
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" width="24" height="24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" role="img" aria-label="castle icon"><g fill="none" stroke="currentColor" stroke-linecap="round" stroke-width="1.5"><path d="M15.75 4h-7.5c-.702 0-1.053 0-1.306.169a1 1 0 0 0-.275.275C6.5 4.697 6.5 5.048 6.5 5.75s0 1.053.169 1.306a1 1 0 0 0 .275.275c.253.169.604.169 1.306.169h7.5c.702 0 1.053 0 1.306-.169a1 1 0 0 0 .275-.275c.169-.253.169-.604.169-1.306s0-1.053-.169-1.306a1 1 0 0 0-.275-.275C16.803 4 16.452 4 15.75 4ZM15 22l-.671-4.027c-.114-.681-.17-1.022-.336-1.28a1.5 1.5 0 0 0-.675-.573C13.036 16 12.691 16 12 16c-.69 0-1.036 0-1.318.12a1.5 1.5 0 0 0-.675.572c-.165.259-.222.6-.336 1.28L9 22"/><path d="M16 7.5H8L6 22h12z"/><path d="M17.794 22c2.127 0 3.19 0 3.788-.683c.598-.682.457-1.737.176-3.846l-.266-2C21.066 12.276 20.092 12 17 12M6.207 22c-2.128 0-3.192 0-3.79-.683c-.597-.682-.456-1.737-.175-3.846l.266-2C2.933 12.285 3.898 12 7 12m1-8V2m4 2V2m4 2V2"/></g></svg>
Library & related icons
About Huge Icons
5,100+ premium-quality SVG icons in 6 styles: Stroke, Duotone, Solid, Bulk, Twotone, and Sharp Stroke. Designed by HugeIcons for professional product interfaces.
Browse all 5,115 Huge Icons icons →Related searches
People also search for
Frequently asked questions
What is the Castle icon?
The Castle icon is a outline-style SVG icon from the Huge Icons library, categorized under Interface. It is designed for use in general-purpose product UIs, design systems, component libraries, web applications, and marketing sites. On IconStash you can preview it, customize its color and size, and export it in SVG, PNG, JSX, or CSS formats directly from your browser.
Is the Castle icon free to use?
Yes. Huge Icons is licensed under MIT, making it free for personal and commercial use. This means you can freely use the Castle icon in personal, commercial, and open-source projects. IconStash provides SVG and PNG access at no cost with no login required.
How do I use the Castle icon in React?
Install the package with `npm install hugeicons-react`, then import the component into your React file. IconStash's detail panel shows you the exact npm command, import statement, and JSX usage snippet for every icon — just click the Code tab and copy with one click.
What is the Huge Icons icon library?
5,100+ premium-quality SVG icons in 6 styles: Stroke, Duotone, Solid, Bulk, Twotone, and Sharp Stroke. Designed by HugeIcons for professional product interfaces. It contains 5,115+ icons. IconStash indexes the complete Huge Icons collection alongside 27 other open-source libraries — 134,701 icons total — in a single unified search interface.
Can I download the Castle icon as a PNG?
Yes. Open the Castle icon in IconStash, set your desired pixel size (16px to 512px) in the detail panel, and click Download PNG. You can also export a multi-resolution ZIP pack containing 16, 24, 32, 48, 64, 128, 256, and 512px PNGs with a single click.
What does the outline icon style mean?
An icon in outline style uses stroked lines with no fill — clean, legible, and versatile at any size. This style is best suited for app navigation bars, toolbar buttons, form labels, and UI controls where clarity at 16–24px is critical. The Huge Icons Castle icon follows this visual convention throughout the Huge Icons design system.
Can I change the Castle icon's color and size before downloading?
Yes. In IconStash's editor panel, choose from six color presets (blue, slate, green, purple, red, teal) or enter a custom hex value. Drag the size slider (16–256px) or type an exact pixel value up to 512px. Changes apply instantly to the SVG preview, the PNG output, and the copied code.