Swords icon
hugeicons:swords
The Swords icon (hugeicons:swords) is a free SVG icon from the Huge Icons set by Hugeicons. It is drawn on a 24 × 24 grid. Huge Icons are released under the MIT 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
- Huge Icons
- Author
- Hugeicons
- License
- MIT
- Size
- 24 × 24
- Tags
- sword
SVG code
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><g fill="none" stroke="currentColor" stroke-linejoin="round" stroke-width="1.5"><path stroke-linecap="round" d="m7.5 16.445l-4 4.045m-1-1.011l2 2.022"/><path d="M9 17.96L20.167 6.67c.358-.362.537-.544.664-.76q.078-.129.134-.27c.094-.231.13-.485.202-.992c.131-.932.197-1.397-.004-1.714a1 1 0 0 0-.302-.305c-.313-.203-.773-.137-1.694-.004c-.502.073-.753.11-.983.204a2 2 0 0 0-.267.135c-.213.129-.392.31-.75.673L6 14.927"/><path stroke-linecap="round" d="m5 13.916l2.5 2.528l2.5 2.528m6.5-2.527l4 4.045m1-1.011l-2 2.022M15 17.96l-1-1.01M7.002 9.872L3.835 6.67c-.358-.362-.538-.544-.665-.76a2 2 0 0 1-.133-.27c-.095-.231-.13-.485-.202-.992c-.132-.932-.197-1.397.003-1.714a1 1 0 0 1 .302-.305c.313-.203.774-.137 1.695-.004c.502.073.752.11.982.204q.139.058.267.135c.213.129.393.31.751.673l3.167 3.201M17 13.916l1 1.011m1-1.011l-2.5 2.528l-2.5 2.528"/></g></svg>How to use the Swords icon
React
import { Icon } from "@iconify/react";
<Icon icon="hugeicons:swords" width="24" />Vue
<script setup>
import { Icon } from "@iconify/vue";
</script>
<template>
<Icon icon="hugeicons:swords" width="24" />
</template>Svelte
<script>
import Icon from "@iconify/svelte";
</script>
<Icon icon="hugeicons:swords" width="24" />Tailwind CSS
<!-- @iconify/tailwind plugin -->
<span class="icon-[hugeicons--swords]"></span>UnoCSS
<!-- @unocss/preset-icons + @iconify-json/hugeicons -->
<div class="i-hugeicons:swords"></div>Web component
<script src="https://code.iconify.design/iconify-icon/2.1.0/iconify-icon.min.js"></script>
<iconify-icon icon="hugeicons:swords"></iconify-icon>HTML image
<img src="https://iconyz.com/api/public/svg/hugeicons/swords.svg" alt="Swords icon" width="24" height="24">Swords icon in other icon sets
Swords icon FAQ
Is the Swords icon free for commercial use?
Yes. Huge Icons are released under the MIT license, which allows use in personal and commercial projects.
How do I use the Swords icon in React?
Install @iconify/react and render <Icon icon="hugeicons:swords" />, or use “Copy code” on this page to get a standalone React component.
How do I add the Swords icon to a web page?
Link the SVG file in an image tag: <img src="https://iconyz.com/api/public/svg/hugeicons/swords.svg" alt="Swords icon">, or paste the SVG code inline to style it with CSS.