X Ray icon
hugeicons:x-ray
The X Ray icon (hugeicons:x-ray) is a free SVG icon from the Huge Icons set by Hugeicons. It is drawn on a 24 × 24 grid. Huge 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
- Huge Icons
- Author
- Hugeicons
- License
- MIT
- Size
- 24 × 24
- Tags
- xray
SVG code
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><g fill="none" stroke="currentColor" stroke-width="1.5"><rect width="20" height="18" rx="5" transform="matrix(0 -1 -1 0 21 22)"/><path stroke-linecap="round" stroke-linejoin="round" d="M12 5v9"/><path stroke-linecap="round" d="M12 14.332c-.953 0-1.857-.105-2.671-.294c-.875-.203-1.829.437-1.829 1.367c0 .485.266.935.707 1.099q.486.181 1.036.314c.592.143 1.112.53 1.37 1.1l.106.236c.232.516.732.846 1.281.846c.55 0 1.049-.33 1.281-.846l.107-.236c.257-.57.777-.957 1.37-1.1a9 9 0 0 0 1.035-.314c.44-.164.707-.614.707-1.1c0-.929-.954-1.57-1.829-1.366c-.813.189-1.718.294-2.671.294Z"/><path stroke-linecap="round" stroke-linejoin="round" d="M15 7c-.387.619-.916 1-1.5 1s-1.113-.381-1.5-1c-.387.619-.916 1-1.5 1S9.387 7.619 9 7m-2 3c.644.619 1.527 1 2.5 1s1.856-.381 2.5-1c.644.619 1.527 1 2.5 1s1.856-.381 2.5-1"/></g></svg>How to use the X Ray icon
React
import { Icon } from "@iconify/react";
<Icon icon="hugeicons:x-ray" width="24" />Vue
<script setup>
import { Icon } from "@iconify/vue";
</script>
<template>
<Icon icon="hugeicons:x-ray" width="24" />
</template>Svelte
<script>
import Icon from "@iconify/svelte";
</script>
<Icon icon="hugeicons:x-ray" width="24" />Tailwind CSS
<!-- @iconify/tailwind plugin -->
<span class="icon-[hugeicons--x-ray]"></span>UnoCSS
<!-- @unocss/preset-icons + @iconify-json/hugeicons -->
<div class="i-hugeicons:x-ray"></div>Web component
<script src="https://code.iconify.design/iconify-icon/2.1.0/iconify-icon.min.js"></script>
<iconify-icon icon="hugeicons:x-ray"></iconify-icon>HTML image
<img src="https://iconyz.com/api/public/svg/hugeicons/x-ray.svg" alt="X Ray icon" width="24" height="24">Related icons in Huge Icons
X Ray icon in other icon sets
X Ray icon FAQ
Is the X Ray icon free for commercial use?
Yes. Huge Icons are released under the MIT license, which allows use in personal and commercial projects.
How do I use the X Ray icon in React?
Install @iconify/react and render <Icon icon="hugeicons:x-ray" />, or use “Copy code” on this page to get a standalone React component.
How do I add the X Ray icon to a web page?
Link the SVG file in an image tag: <img src="https://iconyz.com/api/public/svg/hugeicons/x-ray.svg" alt="X Ray icon">, or paste the SVG code inline to style it with CSS.