Xray icon
healthicons:xray
The Xray icon (healthicons:xray) 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
- Devices
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="M28.5 8.5a4.5 4.5 0 1 1-9 0a4.5 4.5 0 0 1 9 0M30 34h-4.735l.743 8.181A2 2 0 0 0 30 42zm-7.265 0H18v8a2 2 0 0 0 3.992.181zm13.22-20h.091zm-24.001 0h.09zM11 15a1 1 0 0 0-1 1v15a1 1 0 0 0 1 1h26a1 1 0 0 0 1-1V16a1 1 0 0 0-1-1zm12 2v1.5h-.5c-.93 0-1.94.3-2.654.56a14 14 0 0 0-1.262.53l-.021.01l-.007.004h-.002v.001L19 20.5l.447.895l.002-.001l.012-.006l.057-.028q.077-.038.224-.102c.195-.087.47-.203.787-.318c.662-.24 1.402-.44 1.971-.44h.5v2h-.8c-1.197 0-2.453.636-3.293 1.145a15 15 0 0 0-1.51 1.057l-.026.02l-.007.006l-.003.002v.001L18 25.5l.64.768l.003-.002l.015-.012l.069-.056a13 13 0 0 1 1.216-.843c.81-.49 1.654-.855 2.257-.855h.8v2.168a6.3 6.3 0 0 0-1.92.934c-.4.286-.771.626-1.052.999c-.269.356-.528.841-.528 1.399h2v.02v-.003a.8.8 0 0 1 .125-.213c.13-.173.34-.377.62-.577c.56-.402 1.243-.68 1.787-.727c.462.012 1.116.265 1.692.684c.283.205.502.42.64.604a.9.9 0 0 1 .135.23v.002l.002.002L26.5 30h2c0-.562-.268-1.055-.536-1.413a5 5 0 0 0-1.063-1.02A5.9 5.9 0 0 0 25 26.638V24.5h1.1c.749 0 1.519.366 2.163.819a7 7 0 0 1 .986.841l.008.01l.743-.67l.743-.67l-.002-.001l-.002-.003l-.007-.008l-.022-.023l-.075-.079a9 9 0 0 0-1.223-1.035c-.78-.547-1.96-1.181-3.312-1.181H25v-2h.75c.694 0 1.37.201 1.893.422a6 6 0 0 1 .8.408l.003.002L29 20.5l.554-.832l-.001-.001l-.003-.002l-.007-.005l-.02-.013l-.067-.042a8 8 0 0 0-1.037-.527c-.663-.28-1.613-.578-2.669-.578H25V17z" clip-rule="evenodd"/></svg>How to use the Xray icon
React
import { Icon } from "@iconify/react";
<Icon icon="healthicons:xray" width="24" />Vue
<script setup>
import { Icon } from "@iconify/vue";
</script>
<template>
<Icon icon="healthicons:xray" width="24" />
</template>Svelte
<script>
import Icon from "@iconify/svelte";
</script>
<Icon icon="healthicons:xray" width="24" />Tailwind CSS
<!-- @iconify/tailwind plugin -->
<span class="icon-[healthicons--xray]"></span>UnoCSS
<!-- @unocss/preset-icons + @iconify-json/healthicons -->
<div class="i-healthicons:xray"></div>Web component
<script src="https://code.iconify.design/iconify-icon/2.1.0/iconify-icon.min.js"></script>
<iconify-icon icon="healthicons:xray"></iconify-icon>HTML image
<img src="https://iconyz.com/api/public/svg/healthicons/xray.svg" alt="Xray icon" width="24" height="24">Related icons in Health Icons
Xray icon in other icon sets
Xray icon FAQ
Is the Xray 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 Xray icon in React?
Install @iconify/react and render <Icon icon="healthicons:xray" />, or use “Copy code” on this page to get a standalone React component.
How do I add the Xray icon to a web page?
Link the SVG file in an image tag: <img src="https://iconyz.com/api/public/svg/healthicons/xray.svg" alt="Xray icon">, or paste the SVG code inline to style it with CSS.