Swords icon
andrsrxn:swords
The Swords icon (andrsrxn:swords) is a free SVG icon from the andrsrxn/icons set by Andrés Raxón. It is drawn on a 24 × 24 grid. andrsrxn/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
- andrsrxn/icons
- Author
- Andrés Raxón
- License
- MIT
- Size
- 24 × 24
- Category
- Gaming, Sports
- Tags
- sword
SVG code
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><g fill="none"><path stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="1.5" d="m5.33 15.4l7.23-9.8c.4-.53.59-.8.85-.98a4 4 0 0 1 1.22-.47l1.91-.57c1.58-.47 2.37-.71 2.8-.28s.17 1.21-.32 2.79L18.43 8a4 4 0 0 1-.46 1.17c-.18.26-.44.45-.95.84l-9.76 7.38M4.08 21.1l-2.53-2.53m1.26 1.27l3.15-3.14"/><path stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="1.5" d="M4 12.86v.35a3 3 0 0 0 1 2.08l2.4 2.39c.28.28.42.42.57.54a3 3 0 0 0 1.45.6c.19.02.39.02.79.02"/><path fill="currentColor" d="m11.96 6.23l-3.3 4.67L5.8 9.6L4.38 2.97l6.65 1.43zm6.71 9.11l-1.8 2.07l-4.61-3.4l3.37-2.86z" opacity=".2"/><path stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="1.5" d="m11.87 6.23l-.48-.64a4 4 0 0 0-.83-.94a4 4 0 0 0-1.18-.46l-3.7-1.15c-.79-.24-1.18-.37-1.4-.16c-.2.22-.1.61.14 1.4l1.1 3.7c.2.64.3.96.48 1.22c.2.27.46.47 1 .86l1.37 1m8.41 6.23l-4.72-3.49m3.56-2.62l3.15 4.17m3.72 3.19l-2.54 2.53m1.27-1.27l-3.14-3.14M14.1 18.7h.44a3 3 0 0 0 1.75-.73l.32-.3l2.47-2.48c.32-.32.49-.48.62-.66a3 3 0 0 0 .56-1.35c.03-.22.03-.45.03-.9"/></g></svg>How to use the Swords icon
React
import { Icon } from "@iconify/react";
<Icon icon="andrsrxn:swords" width="24" />Vue
<script setup>
import { Icon } from "@iconify/vue";
</script>
<template>
<Icon icon="andrsrxn:swords" width="24" />
</template>Svelte
<script>
import Icon from "@iconify/svelte";
</script>
<Icon icon="andrsrxn:swords" width="24" />Tailwind CSS
<!-- @iconify/tailwind plugin -->
<span class="icon-[andrsrxn--swords]"></span>UnoCSS
<!-- @unocss/preset-icons + @iconify-json/andrsrxn -->
<div class="i-andrsrxn:swords"></div>Web component
<script src="https://code.iconify.design/iconify-icon/2.1.0/iconify-icon.min.js"></script>
<iconify-icon icon="andrsrxn:swords"></iconify-icon>HTML image
<img src="https://iconyz.com/api/public/svg/andrsrxn/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. andrsrxn/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="andrsrxn: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/andrsrxn/swords.svg" alt="Swords icon">, or paste the SVG code inline to style it with CSS.