Allergy icon
material-symbols:allergy
The Allergy icon (material-symbols:allergy) is a free SVG icon from the Material Symbols set by Google. It is drawn on a 24 × 24 grid. Material Symbols 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
- Material Symbols
- Author
- License
- Apache-2.0
- Size
- 24 × 24
- Category
- Social
- Tags
- allergy outline sharp, allergy outline, allergy sharp
SVG code
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path fill="currentColor" d="M19 22.5q-.375 0-.7-.175t-.525-.475q-3.025-.55-5.337-2.7T9.2 13.85q-2.4 1.125-3.8 3.313T4 22H2q0-3.35 1.838-6.1t4.912-4.05q-.525-2.875-.088-5.187T10.5 2.925q.05-.6.475-1.012T12 1.5q.625 0 1.063.438T13.5 3t-.437 1.063T12 4.5h-.1q-.05 0-.125-.025q-.55.625-.875 1.538t-.425 2.037q.5-.5 1.163-.862t1.462-.563q.75-.2 1.613-.262t1.812.012q.2-.2.45-.288T17.5 6q.625 0 1.063.438T19 7.5t-.437 1.063T17.5 9q-.35 0-.687-.162t-.538-.463q-.825-.05-1.587.013t-1.363.262q-.975.325-1.537.95t-.713 1.6q.7-.125 1.188-.162T14.4 11q.2-.25.488-.375t.612-.125q.625 0 1.063.438T17 12t-.437 1.063t-1.063.437q-.325 0-.612-.125T14.4 13q-1.575 0-2.075.038T11.2 13.2q.325.85 1.275 1.3t2.475.5q.725.05 1.563-.025t1.687-.225q.2-.35.55-.55t.75-.2q.625 0 1.063.438T21 15.5t-.437 1.063T19.5 17q-.25 0-.462-.075t-.413-.225q-.85.15-1.662.238t-1.538.087t-1.375-.075t-1.225-.225q.95 1.225 2.313 2.063T18 19.9q.2-.2.463-.3t.537-.1q.625 0 1.063.438T20.5 21t-.437 1.063T19 22.5"/></svg>How to use the Allergy icon
React
import { Icon } from "@iconify/react";
<Icon icon="material-symbols:allergy" width="24" />Vue
<script setup>
import { Icon } from "@iconify/vue";
</script>
<template>
<Icon icon="material-symbols:allergy" width="24" />
</template>Svelte
<script>
import Icon from "@iconify/svelte";
</script>
<Icon icon="material-symbols:allergy" width="24" />Tailwind CSS
<!-- @iconify/tailwind plugin -->
<span class="icon-[material-symbols--allergy]"></span>UnoCSS
<!-- @unocss/preset-icons + @iconify-json/material-symbols -->
<div class="i-material-symbols:allergy"></div>Web component
<script src="https://code.iconify.design/iconify-icon/2.1.0/iconify-icon.min.js"></script>
<iconify-icon icon="material-symbols:allergy"></iconify-icon>HTML image
<img src="https://iconyz.com/api/public/svg/material-symbols/allergy.svg" alt="Allergy icon" width="24" height="24">Related icons in Material Symbols
Allergy icon in other icon sets
Allergy icon FAQ
Is the Allergy icon free for commercial use?
Yes. Material Symbols icons are released under the Apache 2.0 license, which allows use in personal and commercial projects.
How do I use the Allergy icon in React?
Install @iconify/react and render <Icon icon="material-symbols:allergy" />, or use “Copy code” on this page to get a standalone React component.
How do I add the Allergy icon to a web page?
Link the SVG file in an image tag: <img src="https://iconyz.com/api/public/svg/material-symbols/allergy.svg" alt="Allergy icon">, or paste the SVG code inline to style it with CSS.