A single sword, for combat, an attack stat, a fighter class and strength in games. On a 24×24 grid in stroke, two-tone, duotone and fill, free under MIT.
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round">
<path d="M4.7322 15.7322L15.4865 4.978C15.8158 4.6486 16.2173 4.4005 16.6591 4.2532L20.3419 3.0257C20.7328 2.8954 21.1046 3.2672 20.9743 3.6581L19.7468 7.3409C19.5995 7.7827 19.3514 8.1842 19.022 8.5135L8.2678 19.2678ZM3 14L10 21M6.5 17.5L3 21"/>
</svg>Also called
What someone searching for this drawing would have typed instead. These are the words the browser's search matches on.
- blade
- weapon
- attack
- combat
- fight
- knight
- rpg
Related icons
Closest to sword first: its name counts most, then what people search for it by, then the rest of the Sport shelf.
FAQ
Answered from sword's own facts: its shelf, the styles it was drawn in, its siblings and its dates.
- What is the sword icon for?
- A single sword, for combat, an attack stat, a fighter class and strength in games. It is filed under Sport in Keyline Icons, drawn on the same 24×24 grid as the rest of the set. People look for it as blade, weapon, attack, combat, fight, knight and rpg, and the browser's search matches all of those.
- What styles does the sword icon come in?
- All four: stroke, two-tone, duotone and fill. They are drawn from the same geometry, so swapping style never moves anything.
- Is there a square or circle version of sword?
- No. sword is drawn as a bare glyph, and the set has no boxed variant of it.
- What other icons go with sword?
- swords, gun, american-football, award, baseball and basketball, and 12 more, all shown below. Closest to sword first: its name counts most, then what people search for it by, then the rest of the Sport shelf.
- How do I import sword in React?
- <Sword /> is the component, and the style decides the module: stroke from "@keyline-icons/react", two-tone from "@keyline-icons/react/two-tone", duotone from "@keyline-icons/react/duotone" and fill from "@keyline-icons/react/fill". It takes the usual SVG props plus a size, so <Sword size={16} /> and className="size-4" both work, and there is no provider or theme to set up.
- Where is the sword SVG?
- icons/stroke/sword.svg, icons/two-tone/sword.svg, icons/duotone/sword.svg and icons/fill/sword.svg in the repository, normalised: no wrapper, no ids and no classes to strip out. The tabs above hand you the same drawing as SVG or JSX without the download, and neither needs an install.
- When was sword added to the set?
- Added 25 Nov 2026. It is not in a tagged release yet: it is on the site and in the repository, and the next version will carry it.
Questions about the set rather than about this drawing are answered where they belong. The home page covers what the set is, how the three styles differ, why some icons come boxed and where the Figma file is; installing the set in a shadcn/ui project covers the React package, the CLI and using an icon without React. The MIT licence is stated in the footer of every page.