ICONYZ
English
Warning Solid icon from Clarity

Warning Solid icon

clarity:warning-solid

The Warning Solid icon (clarity:warning-solid) is a free SVG icon from the Clarity set by VMware. It is drawn on a 36 × 36 grid. Clarity 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
Clarity
Author
VMware
License
MIT
Size
36 × 36
Category
Core
Tags
warningsolid
Download SVG

SVG code

<svg xmlns="http://www.w3.org/2000/svg" width="36" height="36" viewBox="0 0 36 36"><path fill="currentColor" d="M30.33 25.54L20.59 7.6a3 3 0 0 0-5.27 0L5.57 25.54A3 3 0 0 0 8.21 30h19.48a3 3 0 0 0 2.64-4.43Zm-13.87-12.8a1.49 1.49 0 0 1 3 0v6.89a1.49 1.49 0 1 1-3 0ZM18 26.25a1.72 1.72 0 1 1 1.72-1.72A1.72 1.72 0 0 1 18 26.25" class="clr-i-solid clr-i-solid-path-1"/><path fill="none" d="M0 0h36v36H0z"/></svg>

How to use the Warning Solid icon

React

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

<Icon icon="clarity:warning-solid" width="24" />

Vue

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

<template>
  <Icon icon="clarity:warning-solid" width="24" />
</template>

Svelte

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

<Icon icon="clarity:warning-solid" width="24" />

Tailwind CSS

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

UnoCSS

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

Web component

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

<iconify-icon icon="clarity:warning-solid"></iconify-icon>

HTML image

<img src="https://iconyz.com/api/public/svg/clarity/warning-solid.svg" alt="Warning Solid icon" width="24" height="24">

Related icons in Clarity

Warning Solid icon in other icon sets

Warning Solid icon FAQ

Is the Warning Solid icon free for commercial use?

Yes. Clarity icons are released under the MIT license, which allows use in personal and commercial projects.

How do I use the Warning Solid icon in React?

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

How do I add the Warning Solid icon to a web page?

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

Browse all Clarity icons →