ICONYZ
English
Ban icon from Font Awesome 5 Solid

Ban icon

fa-solid:ban

The Ban icon (fa-solid:ban) is a free SVG icon from the Font Awesome 5 Solid set by Dave Gandy. It is drawn on a 512 × 512 grid. Font Awesome 5 Solid icons are released under the CC BY 4.0 license, which allows use in personal and commercial projects as long as you credit the author. Copy it as SVG, JSX, Vue or Svelte code, or download the SVG file.

Icon set
Font Awesome 5 Solid
Author
Dave Gandy
License
CC-BY-4.0
Size
512 × 512
Category
Status, Security, Interfaces
Download SVG

SVG code

<svg xmlns="http://www.w3.org/2000/svg" width="512" height="512" viewBox="0 0 512 512"><path fill="currentColor" d="M256 8C119.034 8 8 119.033 8 256s111.034 248 248 248s248-111.034 248-248S392.967 8 256 8m130.108 117.892c65.448 65.448 70 165.481 20.677 235.637L150.47 105.216c70.204-49.356 170.226-44.735 235.638 20.676M125.892 386.108c-65.448-65.448-70-165.481-20.677-235.637L361.53 406.784c-70.203 49.356-170.226 44.736-235.638-20.676"/></svg>

How to use the Ban icon

React

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

<Icon icon="fa-solid:ban" width="24" />

Vue

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

<template>
  <Icon icon="fa-solid:ban" width="24" />
</template>

Svelte

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

<Icon icon="fa-solid:ban" width="24" />

Tailwind CSS

<!-- @iconify/tailwind plugin -->
<span class="icon-[fa-solid--ban]"></span>

UnoCSS

<!-- @unocss/preset-icons + @iconify-json/fa-solid -->
<div class="i-fa-solid:ban"></div>

Web component

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

<iconify-icon icon="fa-solid:ban"></iconify-icon>

HTML image

<img src="https://iconyz.com/api/public/svg/fa-solid/ban.svg" alt="Ban icon" width="24" height="24">

Related icons in Font Awesome 5 Solid

Ban icon in other icon sets

Ban icon FAQ

Is the Ban icon free for commercial use?

Yes. Font Awesome 5 Solid icons are released under the CC BY 4.0 license, which allows use in personal and commercial projects as long as you credit the author.

How do I use the Ban icon in React?

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

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

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

Browse all Font Awesome 5 Solid icons →