Sword icon
whh:sword
The Sword icon (whh:sword) is a free SVG icon from the WebHostingHub Glyphs set by WebHostingHub. It is drawn on a 1024 × 1024 grid. WebHostingHub Glyphs icons are released under the Open Font License, which allows use in personal and commercial projects. Copy it as SVG, JSX, Vue or Svelte code, or download the SVG file.
- Icon set
- WebHostingHub Glyphs
- Author
- WebHostingHub
- License
- OFL-1.1
- Size
- 1024 × 1024
SVG code
<svg xmlns="http://www.w3.org/2000/svg" width="1024" height="1024" viewBox="0 0 1024 1024"><path fill="currentColor" d="m1013.998 963l-51 51q-10 10-24.5 10t-25.5-10l-179-180l-117 117q-9 10-23 10t-24-10l-48-48q-10-10-10-24t10-23l85-85l-591-591q-4-5-7.5-10.5t-5-9.5t-2.5-9.5t-1-8.5V32q0-13 9.5-22.5t22.5-9.5h110.5l8 1l9.5 2.5l9.5 5l10.5 7.5l591 591l85-85q9-10 23-10t24 10l48 48q10 10 10 24t-10 24l-117 116l180 179q10 11 10 25.5t-10 24.5"/></svg>How to use the Sword icon
React
import { Icon } from "@iconify/react";
<Icon icon="whh:sword" width="24" />Vue
<script setup>
import { Icon } from "@iconify/vue";
</script>
<template>
<Icon icon="whh:sword" width="24" />
</template>Svelte
<script>
import Icon from "@iconify/svelte";
</script>
<Icon icon="whh:sword" width="24" />Tailwind CSS
<!-- @iconify/tailwind plugin -->
<span class="icon-[whh--sword]"></span>UnoCSS
<!-- @unocss/preset-icons + @iconify-json/whh -->
<div class="i-whh:sword"></div>Web component
<script src="https://code.iconify.design/iconify-icon/2.1.0/iconify-icon.min.js"></script>
<iconify-icon icon="whh:sword"></iconify-icon>HTML image
<img src="https://iconyz.com/api/public/svg/whh/sword.svg" alt="Sword icon" width="24" height="24">Sword icon in other icon sets
Sword icon FAQ
Is the Sword icon free for commercial use?
Yes. WebHostingHub Glyphs icons are released under the Open Font License, which allows use in personal and commercial projects.
How do I use the Sword icon in React?
Install @iconify/react and render <Icon icon="whh:sword" />, or use “Copy code” on this page to get a standalone React component.
How do I add the Sword icon to a web page?
Link the SVG file in an image tag: <img src="https://iconyz.com/api/public/svg/whh/sword.svg" alt="Sword icon">, or paste the SVG code inline to style it with CSS.