ICONYZ
English
Knife icon from BoxIcons v2

Knife icon

bx:knife

The Knife icon (bx:knife) is a free SVG icon from the BoxIcons v2 set by Boxicons. It is drawn on a 24 × 24 grid. BoxIcons v2 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
BoxIcons v2
Author
Boxicons
License
MIT
Size
24 × 24
Tags
bx knife
Download SVG

SVG code

<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path fill="currentColor" d="M19.66 3.6a3 3 0 0 0-4.24 0l-.71.71l-7.07 7.07l2.12 2.12l-6.36 6.36l1.41 1.42L19.66 6.43c1.1-1.1 1.1-1.73.71-2.12z"/></svg>

How to use the Knife icon

React

import { Icon } from "@iconify/react";

<Icon icon="bx:knife" width="24" />

Vue

<script setup>
import { Icon } from "@iconify/vue";
</script>

<template>
  <Icon icon="bx:knife" width="24" />
</template>

Svelte

<script>
  import Icon from "@iconify/svelte";
</script>

<Icon icon="bx:knife" width="24" />

Tailwind CSS

<!-- @iconify/tailwind plugin -->
<span class="icon-[bx--knife]"></span>

UnoCSS

<!-- @unocss/preset-icons + @iconify-json/bx -->
<div class="i-bx:knife"></div>

Web component

<script src="https://code.iconify.design/iconify-icon/2.1.0/iconify-icon.min.js"></script>

<iconify-icon icon="bx:knife"></iconify-icon>

HTML image

<img src="https://iconyz.com/api/public/svg/bx/knife.svg" alt="Knife icon" width="24" height="24">

Knife icon in other icon sets

Knife icon FAQ

Is the Knife icon free for commercial use?

Yes. BoxIcons v2 icons are released under the MIT license, which allows use in personal and commercial projects.

How do I use the Knife icon in React?

Install @iconify/react and render <Icon icon="bx:knife" />, or use “Copy code” on this page to get a standalone React component.

How do I add the Knife icon to a web page?

Link the SVG file in an image tag: <img src="https://iconyz.com/api/public/svg/bx/knife.svg" alt="Knife icon">, or paste the SVG code inline to style it with CSS.

Browse all BoxIcons v2 icons →