Swords icon
lucide:swords
The Swords icon (lucide:swords) is a free SVG icon from the Lucide set by Lucide Contributors. It is drawn on a 24 × 24 grid. Lucide icons are released under the ISC 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
- Lucide
- Author
- Lucide Contributors
- License
- ISC
- Size
- 24 × 24
- Tags
- battle, challenge, combat, conflict, crossed, duel, faction, fantasy, game, melee, medieval, opponent, rivalry, rpg, versus, weapon
SVG code
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="m13 19l6-6m-4.5 4.5L3.586 6.586A2 2 0 0 1 3 5.172V3h2.172a2 2 0 0 1 1.414.586L17.5 14.5m-2.672-8.328l2.586-2.586A2 2 0 0 1 18.828 3H21v2.172a2 2 0 0 1-.586 1.414l-2.586 2.586M16 16l4 4m-1 1l2-2M5 14l4 4m-4 3l-2-2m4.5-2.5L4 20"/></svg>How to use the Swords icon
React
import { Icon } from "@iconify/react";
<Icon icon="lucide:swords" width="24" />Vue
<script setup>
import { Icon } from "@iconify/vue";
</script>
<template>
<Icon icon="lucide:swords" width="24" />
</template>Svelte
<script>
import Icon from "@iconify/svelte";
</script>
<Icon icon="lucide:swords" width="24" />Tailwind CSS
<!-- @iconify/tailwind plugin -->
<span class="icon-[lucide--swords]"></span>UnoCSS
<!-- @unocss/preset-icons + @iconify-json/lucide -->
<div class="i-lucide:swords"></div>Web component
<script src="https://code.iconify.design/iconify-icon/2.1.0/iconify-icon.min.js"></script>
<iconify-icon icon="lucide:swords"></iconify-icon>HTML image
<img src="https://iconyz.com/api/public/svg/lucide/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. Lucide icons are released under the ISC 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="lucide: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/lucide/swords.svg" alt="Swords icon">, or paste the SVG code inline to style it with CSS.