X Ray icon
la:x-ray
The X Ray icon (la:x-ray) is a free SVG icon from the Line Awesome set by Icons8. It is drawn on a 32 × 32 grid. Line Awesome 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
- Line Awesome
- Author
- Icons8
- License
- Apache-2.0
- Size
- 32 × 32
- Category
- Medical
- Tags
- xray, x ray solid
SVG code
<svg xmlns="http://www.w3.org/2000/svg" width="32" height="32" viewBox="0 0 32 32"><path fill="currentColor" d="M5 5v22h22V5zm2 2h18v18H7zm8 1v1h-3v2h3v1h-5v2h5v1h-4v2h4v2.563c-.523-.27-1.113-.563-1.5-.563a1.5 1.5 0 0 0 0 3c.379 0 1.672 1 2.5 1s2.121-1 2.5-1a1.5 1.5 0 0 0 0-3c-.387 0-.977.293-1.5.563V8zm3 1v2h2V9zm0 3v2h4v-2zm0 3v2h3v-2z"/></svg>How to use the X Ray icon
React
import { Icon } from "@iconify/react";
<Icon icon="la:x-ray" width="24" />Vue
<script setup>
import { Icon } from "@iconify/vue";
</script>
<template>
<Icon icon="la:x-ray" width="24" />
</template>Svelte
<script>
import Icon from "@iconify/svelte";
</script>
<Icon icon="la:x-ray" width="24" />Tailwind CSS
<!-- @iconify/tailwind plugin -->
<span class="icon-[la--x-ray]"></span>UnoCSS
<!-- @unocss/preset-icons + @iconify-json/la -->
<div class="i-la:x-ray"></div>Web component
<script src="https://code.iconify.design/iconify-icon/2.1.0/iconify-icon.min.js"></script>
<iconify-icon icon="la:x-ray"></iconify-icon>HTML image
<img src="https://iconyz.com/api/public/svg/la/x-ray.svg" alt="X Ray icon" width="24" height="24">Related icons in Line Awesome
X Ray icon in other icon sets
X Ray icon FAQ
Is the X Ray icon free for commercial use?
Yes. Line Awesome icons are released under the Apache 2.0 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="la: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/la/x-ray.svg" alt="X Ray icon">, or paste the SVG code inline to style it with CSS.