Sword Alt icon
boxicons:sword-alt
The Sword Alt icon (boxicons:sword-alt) is a free SVG icon from the Boxicons set. It is drawn on a 24 × 24 grid. Boxicons 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.
SVG code
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path fill="currentColor" d="M21 2h-5c-.3 0-.58.13-.77.37l-8.3 10.14L5 10.58V7.99H3v3c0 .27.11.52.29.71l3 3l.09.09l-4.79 4.79l2.83 2.83l4.79-4.79l.09.09l3 3c.19.19.44.29.71.29h3v-2h-2.59l-1.93-1.93l10.14-8.3c.23-.19.37-.47.37-.77V3c0-.55-.45-1-1-1m-1 5.53l-9.93 8.13l-1.72-1.72l8.13-9.93h3.53v3.53Z"/></svg>How to use the Sword Alt icon
React
import { Icon } from "@iconify/react";
<Icon icon="boxicons:sword-alt" width="24" />Vue
<script setup>
import { Icon } from "@iconify/vue";
</script>
<template>
<Icon icon="boxicons:sword-alt" width="24" />
</template>Svelte
<script>
import Icon from "@iconify/svelte";
</script>
<Icon icon="boxicons:sword-alt" width="24" />Tailwind CSS
<!-- @iconify/tailwind plugin -->
<span class="icon-[boxicons--sword-alt]"></span>UnoCSS
<!-- @unocss/preset-icons + @iconify-json/boxicons -->
<div class="i-boxicons:sword-alt"></div>Web component
<script src="https://code.iconify.design/iconify-icon/2.1.0/iconify-icon.min.js"></script>
<iconify-icon icon="boxicons:sword-alt"></iconify-icon>HTML image
<img src="https://iconyz.com/api/public/svg/boxicons/sword-alt.svg" alt="Sword Alt icon" width="24" height="24">Related icons in Boxicons
Sword Alt icon FAQ
Is the Sword Alt icon free for commercial use?
Yes. Boxicons are released under the MIT license, which allows use in personal and commercial projects.
How do I use the Sword Alt icon in React?
Install @iconify/react and render <Icon icon="boxicons:sword-alt" />, or use “Copy code” on this page to get a standalone React component.
How do I add the Sword Alt icon to a web page?
Link the SVG file in an image tag: <img src="https://iconyz.com/api/public/svg/boxicons/sword-alt.svg" alt="Sword Alt icon">, or paste the SVG code inline to style it with CSS.