ICONYZ
English
Xray icon from Arcticons

Xray icon

arcticons:xray

The Xray icon (arcticons:xray) is a free SVG icon from the Arcticons set by Donnnno. It is drawn on a 48 × 48 grid. Arcticons are released under the CC BY-SA 4.0 license, which allows use in personal and commercial projects as long as you credit the author and share changes to the icons under the same license. Copy it as SVG, JSX, Vue or Svelte code, or download the SVG file.

Icon set
Arcticons
Author
Donnnno
License
CC-BY-SA-4.0
Size
48 × 48
Download SVG

SVG code

<svg xmlns="http://www.w3.org/2000/svg" width="48" height="48" viewBox="0 0 48 48"><path fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" d="m6.136 21.942l10.72-5.276zm15.505 18.51v-14.4m0 14.4l-4.775-9.01m-13.35-5.39h18.128m-18.129 0l13.35 5.39m4.776-9.506V3.502m-4.785 13.164L21.638 3.5M6.136 21.942H21.63m20.234 4.116l-10.72 5.276zM26.359 7.548v14.4m0-14.4l4.775 9.01m13.35 5.39H26.357m18.129 0l-13.35-5.39m-4.776 9.506v18.434m4.785-13.164L26.362 44.5m15.502-18.442H26.37"/></svg>

How to use the Xray icon

React

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

<Icon icon="arcticons:xray" width="24" />

Vue

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

<template>
  <Icon icon="arcticons:xray" width="24" />
</template>

Svelte

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

<Icon icon="arcticons:xray" width="24" />

Tailwind CSS

<!-- @iconify/tailwind plugin -->
<span class="icon-[arcticons--xray]"></span>

UnoCSS

<!-- @unocss/preset-icons + @iconify-json/arcticons -->
<div class="i-arcticons:xray"></div>

Web component

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

<iconify-icon icon="arcticons:xray"></iconify-icon>

HTML image

<img src="https://iconyz.com/api/public/svg/arcticons/xray.svg" alt="Xray icon" width="24" height="24">

Xray icon in other icon sets

Xray icon FAQ

Is the Xray icon free for commercial use?

Yes. Arcticons are released under the CC BY-SA 4.0 license, which allows use in personal and commercial projects as long as you credit the author and share changes to the icons under the same license.

How do I use the Xray icon in React?

Install @iconify/react and render <Icon icon="arcticons: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/arcticons/xray.svg" alt="Xray icon">, or paste the SVG code inline to style it with CSS.

Browse all Arcticons →