ICONYZ
English
Js Error icon from Carbon

Js Error icon

carbon:js-error

The Js Error icon (carbon:js-error) is a free SVG icon from the Carbon set by IBM. It is drawn on a 32 × 32 grid. Carbon icons are released under the Apache 2.0 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
Carbon
Author
IBM
License
Apache-2.0
Size
32 × 32
Category
Organization
Tags
jserror
Download SVG

SVG code

<svg xmlns="http://www.w3.org/2000/svg" width="32" height="32" viewBox="0 0 32 32"><path fill="currentColor" d="M20.334 30h-2.667A1.67 1.67 0 0 1 16 28.334V26h2v2h2v-8h2v8.334c0 .918-.748 1.666-1.666 1.666m8 0H24v-2h4v-2h-2c-1.103 0-2-.897-2-2v-2.333c0-.92.748-1.667 1.667-1.667H30v2h-4v2h2c1.103 0 2 .897 2 2v2.334c0 .918-.748 1.666-1.666 1.666M16 18a1.5 1.5 0 1 0 0 3a1.5 1.5 0 0 0 0-3M15 7h2v9h-2z"/><path fill="currentColor" d="M14 26H9.5a1 1 0 0 1-.86-.491l-6.5-11a1 1 0 0 1 0-1.018l6.5-11A1 1 0 0 1 9.5 2h13a1 1 0 0 1 .86.491l6.5 11a1 1 0 0 1 0 1.018l-2 3.384l-1.72-1.017L27.837 14L21.93 4H10.071L4.16 14l5.91 10H14z"/></svg>

How to use the Js Error icon

React

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

<Icon icon="carbon:js-error" width="24" />

Vue

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

<template>
  <Icon icon="carbon:js-error" width="24" />
</template>

Svelte

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

<Icon icon="carbon:js-error" width="24" />

Tailwind CSS

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

UnoCSS

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

Web component

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

<iconify-icon icon="carbon:js-error"></iconify-icon>

HTML image

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

Related icons in Carbon

Js Error icon FAQ

Is the Js Error icon free for commercial use?

Yes. Carbon icons are released under the Apache 2.0 license, which allows use in personal and commercial projects.

How do I use the Js Error icon in React?

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

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

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

Browse all Carbon icons →