error icon
error from BoxIcons v2 by Boxicons · Regular · MIT Free for personal and commercial use.
- Name
- error
- Set
- BoxIcons v2
- Style
- Regular
- Viewbox
- 24×24
- License
- MIT
- Aliases
- bx-error
The same icon in other sets
Related icons in BoxIcons v2
Use the error icon
SVG
<svg xmlns="http://www.w3.org/2000/svg" width="1em" height="1em" 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>
React
import type { SVGProps } from "react";
export function BxError(props: SVGProps<SVGSVGElement>) {
return (
<svg {...props} xmlns="http://www.w3.org/2000/svg" width="1em" height="1em" 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>
);
}
Vue
<template> <svg xmlns="http://www.w3.org/2000/svg" width="1em" height="1em" 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> </template>
CSS
.icon-error {
width: 24px;
height: 24px;
background-color: currentColor;
-webkit-mask: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%221em%22%20height%3D%221em%22%20viewBox%3D%220%200%2024%2024%22%3E%3Cpath%20fill%3D%22currentColor%22%20d%3D%22M11.001%2010h2v5h-2zM11%2016h2v2h-2z%22%2F%3E%3Cpath%20fill%3D%22currentColor%22%20d%3D%22M13.768%204.2C13.42%203.545%2012.742%203.138%2012%203.138s-1.42.407-1.768%201.063L2.894%2018.064a1.99%201.99%200%200%200%20.054%201.968A1.98%201.98%200%200%200%204.661%2021h14.678c.708%200%201.349-.362%201.714-.968a1.99%201.99%200%200%200%20.054-1.968zM4.661%2019L12%205.137L19.344%2019z%22%2F%3E%3C%2Fsvg%3E") no-repeat center / contain;
mask: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%221em%22%20height%3D%221em%22%20viewBox%3D%220%200%2024%2024%22%3E%3Cpath%20fill%3D%22currentColor%22%20d%3D%22M11.001%2010h2v5h-2zM11%2016h2v2h-2z%22%2F%3E%3Cpath%20fill%3D%22currentColor%22%20d%3D%22M13.768%204.2C13.42%203.545%2012.742%203.138%2012%203.138s-1.42.407-1.768%201.063L2.894%2018.064a1.99%201.99%200%200%200%20.054%201.968A1.98%201.98%200%200%200%204.661%2021h14.678c.708%200%201.349-.362%201.714-.968a1.99%201.99%200%200%200%20.054-1.968zM4.661%2019L12%205.137L19.344%2019z%22%2F%3E%3C%2Fsvg%3E") no-repeat center / contain;
}Direct links: SVG · download · JSON · https://iconsdb.app/api/v1/icon/bx/error.svg?color=%231a73e8&size=48