Sword icon
andrsrxn:sword
The Sword icon (andrsrxn:sword) 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
SVG code
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><g fill="none"><path fill="currentColor" d="m8.16 18.87l-3.13-3.13l9.76-12.32l7.49-1.6l-1.6 7.49z" opacity=".2"/><path stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="1.5" d="m6.13 15.79l8.25-11.17c.4-.53.59-.8.86-.99a4 4 0 0 1 1.21-.47l2.77-.83c1.58-.47 2.37-.7 2.8-.28c.42.43.18 1.22-.31 2.8l-.86 2.76a4 4 0 0 1-.46 1.17c-.18.26-.44.45-.95.84L8.31 18.04m-3.58 4.19l-2.86-2.86M3.3 20.8l3.54-3.54"/><path stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="1.5" d="M4.39 12.47c0 .5 0 .74.04.98a3 3 0 0 0 .53 1.28c.14.2.31.37.66.72l2.95 2.94c.54.55.82.82 1.14 1.02a3 3 0 0 0 .8.33c.36.09.75.09 1.52.09"/></g></svg>How to use the Sword icon
React
import { Icon } from "@iconify/react";
<Icon icon="andrsrxn:sword" width="24" />Vue
<script setup>
import { Icon } from "@iconify/vue";
</script>
<template>
<Icon icon="andrsrxn:sword" width="24" />
</template>Svelte
<script>
import Icon from "@iconify/svelte";
</script>
<Icon icon="andrsrxn:sword" width="24" />Tailwind CSS
<!-- @iconify/tailwind plugin -->
<span class="icon-[andrsrxn--sword]"></span>UnoCSS
<!-- @unocss/preset-icons + @iconify-json/andrsrxn -->
<div class="i-andrsrxn:sword"></div>Web component
<script src="https://code.iconify.design/iconify-icon/2.1.0/iconify-icon.min.js"></script>
<iconify-icon icon="andrsrxn:sword"></iconify-icon>HTML image
<img src="https://iconyz.com/api/public/svg/andrsrxn/sword.svg" alt="Sword icon" width="24" height="24">Related icons in andrsrxn/icons
Sword icon in other icon sets
Sword icon FAQ
Is the Sword 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 Sword icon in React?
Install @iconify/react and render <Icon icon="andrsrxn: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/andrsrxn/sword.svg" alt="Sword icon">, or paste the SVG code inline to style it with CSS.