ICONYZ
English
Warning Outline icon from Health Icons

Warning Outline icon

healthicons:warning-outline

The Warning Outline icon (healthicons:warning-outline) is a free SVG icon from the Health Icons set by Resolve to Save Lives. It is drawn on a 48 × 48 grid. Health 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
Health Icons
Author
Resolve to Save Lives
License
MIT
Size
48 × 48
Category
Typography
Tags
warningoutline, 2x outline
Download SVG

SVG code

<svg xmlns="http://www.w3.org/2000/svg" width="48" height="48" viewBox="0 0 48 48"><path fill="currentColor" fill-rule="evenodd" d="M21 11.818C21 10.174 22.435 9 24 9s3 1.174 3 2.818v16.364C27 29.826 25.565 31 24 31s-3-1.174-3-2.818zM24 11c-.644 0-1 .454-1 .818v16.364c0 .364.356.818 1 .818s1-.454 1-.818V11.818c0-.364-.356-.818-1-.818m0 24a1 1 0 1 0 0 2a1 1 0 0 0 0-2m-3 1a3 3 0 1 1 6 0a3 3 0 0 1-6 0" clip-rule="evenodd"/></svg>

How to use the Warning Outline icon

React

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

<Icon icon="healthicons:warning-outline" width="24" />

Vue

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

<template>
  <Icon icon="healthicons:warning-outline" width="24" />
</template>

Svelte

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

<Icon icon="healthicons:warning-outline" width="24" />

Tailwind CSS

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

UnoCSS

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

Web component

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

<iconify-icon icon="healthicons:warning-outline"></iconify-icon>

HTML image

<img src="https://iconyz.com/api/public/svg/healthicons/warning-outline.svg" alt="Warning Outline icon" width="24" height="24">

Related icons in Health Icons

Warning Outline icon in other icon sets

Warning Outline icon FAQ

Is the Warning Outline icon free for commercial use?

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

How do I use the Warning Outline icon in React?

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

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

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

Browse all Health Icons →