Code Slash icon
bi:code-slash
The Code Slash icon (bi:code-slash) is a free SVG icon from the Bootstrap Icons set by The Bootstrap Authors. It is drawn on a 24 × 24 grid. Bootstrap 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
- Bootstrap Icons
- Author
- The Bootstrap Authors
- License
- MIT
- Size
- 24 × 24
- Tags
- codeslash
SVG code
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path fill="currentColor" d="M10.478 1.647a.5.5 0 1 0-.956-.294l-4 13a.5.5 0 0 0 .956.294zM4.854 4.146a.5.5 0 0 1 0 .708L1.707 8l3.147 3.146a.5.5 0 0 1-.708.708l-3.5-3.5a.5.5 0 0 1 0-.708l3.5-3.5a.5.5 0 0 1 .708 0m6.292 0a.5.5 0 0 0 0 .708L14.293 8l-3.147 3.146a.5.5 0 0 0 .708.708l3.5-3.5a.5.5 0 0 0 0-.708l-3.5-3.5a.5.5 0 0 0-.708 0"/></svg>How to use the Code Slash icon
React
import { Icon } from "@iconify/react";
<Icon icon="bi:code-slash" width="24" />Vue
<script setup>
import { Icon } from "@iconify/vue";
</script>
<template>
<Icon icon="bi:code-slash" width="24" />
</template>Svelte
<script>
import Icon from "@iconify/svelte";
</script>
<Icon icon="bi:code-slash" width="24" />Tailwind CSS
<!-- @iconify/tailwind plugin -->
<span class="icon-[bi--code-slash]"></span>UnoCSS
<!-- @unocss/preset-icons + @iconify-json/bi -->
<div class="i-bi:code-slash"></div>Web component
<script src="https://code.iconify.design/iconify-icon/2.1.0/iconify-icon.min.js"></script>
<iconify-icon icon="bi:code-slash"></iconify-icon>HTML image
<img src="https://iconyz.com/api/public/svg/bi/code-slash.svg" alt="Code Slash icon" width="24" height="24">Related icons in Bootstrap Icons
Code Slash icon in other icon sets
Code Slash icon FAQ
Is the Code Slash icon free for commercial use?
Yes. Bootstrap Icons are released under the MIT license, which allows use in personal and commercial projects.
How do I use the Code Slash icon in React?
Install @iconify/react and render <Icon icon="bi:code-slash" />, or use “Copy code” on this page to get a standalone React component.
How do I add the Code Slash icon to a web page?
Link the SVG file in an image tag: <img src="https://iconyz.com/api/public/svg/bi/code-slash.svg" alt="Code Slash icon">, or paste the SVG code inline to style it with CSS.