ICONYZ
English
Error icon from BoxIcons v2

Error icon

bx:error

The Error icon (bx:error) 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 error
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="M11.001 10h2v5h-2zM11 16h2v2h-2z"/><path fill="currentColor" d="M13.768 4.2C13.42 3.545 12.742 3.138 12 3.138s-1.42.407-1.768 1.063L2.894 18.064a1.99 1.99 0 0 0 .054 1.968A1.98 1.98 0 0 0 4.661 21h14.678c.708 0 1.349-.362 1.714-.968a1.99 1.99 0 0 0 .054-1.968zM4.661 19L12 5.137L19.344 19z"/></svg>

How to use the Error icon

React

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

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

Vue

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

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

Svelte

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

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

Tailwind CSS

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

UnoCSS

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

Web component

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

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

HTML image

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

Related icons in BoxIcons v2

Error icon in other icon sets

Error icon FAQ

Is the Error 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 Error icon in React?

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

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

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

Browse all BoxIcons v2 icons →