x-ray from Font Awesome 6 Solid by Dave Gandy · Regular · Medical · CC-BY-4.0 Attribution required.

Name
x-ray
Set
Font Awesome 6 Solid
Style
Regular
Category
Medical
Viewbox
512×512
License
CC BY 4.0

The same icon in other sets

More medical icons from Font Awesome 6 Solid

Use the x ray icon

SVG

<svg xmlns="http://www.w3.org/2000/svg" width="1em" height="1em" viewBox="0 0 512 512"><path fill="currentColor" d="M0 64c0-17.7 14.3-32 32-32h448c17.7 0 32 14.3 32 32s-14.3 32-32 32v320c17.7 0 32 14.3 32 32s-14.3 32-32 32H32c-17.7 0-32-14.3-32-32s14.3-32 32-32V96C14.3 96 0 81.7 0 64m256 32c-8.8 0-16 7.2-16 16v32h-80c-8.8 0-16 7.2-16 16s7.2 16 16 16h80v48H128c-8.8 0-16 7.2-16 16s7.2 16 16 16h112v70.6L189.1 307q-7.8-3-16.2-3h-2.1c-23.6 0-42.8 19.2-42.8 42.8c0 9.6 3.2 18.9 9.1 26.4l18.2 23.2c9.7 12.4 24.6 19.6 40.3 19.6h120.8c15.7 0 30.6-7.2 40.3-19.6l18.2-23.2c5.9-7.5 9.1-16.8 9.1-26.4c0-23.6-19.2-42.8-42.8-42.8H339c-5.5 0-11 1-16.2 3L272 326.6V256h112c8.8 0 16-7.2 16-16s-7.2-16-16-16H272v-48h80c8.8 0 16-7.2 16-16s-7.2-16-16-16h-80v-32c0-8.8-7.2-16-16-16m-48 256a16 16 0 1 1 0 32a16 16 0 1 1 0-32m80 16a16 16 0 1 1 32 0a16 16 0 1 1-32 0"/></svg>

React

import type { SVGProps } from "react";

export function Fa6SolidXRay(props: SVGProps<SVGSVGElement>) {
  return (
    <svg {...props} xmlns="http://www.w3.org/2000/svg" width="1em" height="1em" viewBox="0 0 512 512"><path fill="currentColor" d="M0 64c0-17.7 14.3-32 32-32h448c17.7 0 32 14.3 32 32s-14.3 32-32 32v320c17.7 0 32 14.3 32 32s-14.3 32-32 32H32c-17.7 0-32-14.3-32-32s14.3-32 32-32V96C14.3 96 0 81.7 0 64m256 32c-8.8 0-16 7.2-16 16v32h-80c-8.8 0-16 7.2-16 16s7.2 16 16 16h80v48H128c-8.8 0-16 7.2-16 16s7.2 16 16 16h112v70.6L189.1 307q-7.8-3-16.2-3h-2.1c-23.6 0-42.8 19.2-42.8 42.8c0 9.6 3.2 18.9 9.1 26.4l18.2 23.2c9.7 12.4 24.6 19.6 40.3 19.6h120.8c15.7 0 30.6-7.2 40.3-19.6l18.2-23.2c5.9-7.5 9.1-16.8 9.1-26.4c0-23.6-19.2-42.8-42.8-42.8H339c-5.5 0-11 1-16.2 3L272 326.6V256h112c8.8 0 16-7.2 16-16s-7.2-16-16-16H272v-48h80c8.8 0 16-7.2 16-16s-7.2-16-16-16h-80v-32c0-8.8-7.2-16-16-16m-48 256a16 16 0 1 1 0 32a16 16 0 1 1 0-32m80 16a16 16 0 1 1 32 0a16 16 0 1 1-32 0"/></svg>
  );
}

Vue

<template>
  <svg xmlns="http://www.w3.org/2000/svg" width="1em" height="1em" viewBox="0 0 512 512"><path fill="currentColor" d="M0 64c0-17.7 14.3-32 32-32h448c17.7 0 32 14.3 32 32s-14.3 32-32 32v320c17.7 0 32 14.3 32 32s-14.3 32-32 32H32c-17.7 0-32-14.3-32-32s14.3-32 32-32V96C14.3 96 0 81.7 0 64m256 32c-8.8 0-16 7.2-16 16v32h-80c-8.8 0-16 7.2-16 16s7.2 16 16 16h80v48H128c-8.8 0-16 7.2-16 16s7.2 16 16 16h112v70.6L189.1 307q-7.8-3-16.2-3h-2.1c-23.6 0-42.8 19.2-42.8 42.8c0 9.6 3.2 18.9 9.1 26.4l18.2 23.2c9.7 12.4 24.6 19.6 40.3 19.6h120.8c15.7 0 30.6-7.2 40.3-19.6l18.2-23.2c5.9-7.5 9.1-16.8 9.1-26.4c0-23.6-19.2-42.8-42.8-42.8H339c-5.5 0-11 1-16.2 3L272 326.6V256h112c8.8 0 16-7.2 16-16s-7.2-16-16-16H272v-48h80c8.8 0 16-7.2 16-16s-7.2-16-16-16h-80v-32c0-8.8-7.2-16-16-16m-48 256a16 16 0 1 1 0 32a16 16 0 1 1 0-32m80 16a16 16 0 1 1 32 0a16 16 0 1 1-32 0"/></svg>
</template>

CSS

.icon-x-ray {
  width: 24px;
  height: 24px;
  background-color: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%221em%22%20height%3D%221em%22%20viewBox%3D%220%200%20512%20512%22%3E%3Cpath%20fill%3D%22currentColor%22%20d%3D%22M0%2064c0-17.7%2014.3-32%2032-32h448c17.7%200%2032%2014.3%2032%2032s-14.3%2032-32%2032v320c17.7%200%2032%2014.3%2032%2032s-14.3%2032-32%2032H32c-17.7%200-32-14.3-32-32s14.3-32%2032-32V96C14.3%2096%200%2081.7%200%2064m256%2032c-8.8%200-16%207.2-16%2016v32h-80c-8.8%200-16%207.2-16%2016s7.2%2016%2016%2016h80v48H128c-8.8%200-16%207.2-16%2016s7.2%2016%2016%2016h112v70.6L189.1%20307q-7.8-3-16.2-3h-2.1c-23.6%200-42.8%2019.2-42.8%2042.8c0%209.6%203.2%2018.9%209.1%2026.4l18.2%2023.2c9.7%2012.4%2024.6%2019.6%2040.3%2019.6h120.8c15.7%200%2030.6-7.2%2040.3-19.6l18.2-23.2c5.9-7.5%209.1-16.8%209.1-26.4c0-23.6-19.2-42.8-42.8-42.8H339c-5.5%200-11%201-16.2%203L272%20326.6V256h112c8.8%200%2016-7.2%2016-16s-7.2-16-16-16H272v-48h80c8.8%200%2016-7.2%2016-16s-7.2-16-16-16h-80v-32c0-8.8-7.2-16-16-16m-48%20256a16%2016%200%201%201%200%2032a16%2016%200%201%201%200-32m80%2016a16%2016%200%201%201%2032%200a16%2016%200%201%201-32%200%22%2F%3E%3C%2Fsvg%3E") no-repeat center / contain;
  mask: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%221em%22%20height%3D%221em%22%20viewBox%3D%220%200%20512%20512%22%3E%3Cpath%20fill%3D%22currentColor%22%20d%3D%22M0%2064c0-17.7%2014.3-32%2032-32h448c17.7%200%2032%2014.3%2032%2032s-14.3%2032-32%2032v320c17.7%200%2032%2014.3%2032%2032s-14.3%2032-32%2032H32c-17.7%200-32-14.3-32-32s14.3-32%2032-32V96C14.3%2096%200%2081.7%200%2064m256%2032c-8.8%200-16%207.2-16%2016v32h-80c-8.8%200-16%207.2-16%2016s7.2%2016%2016%2016h80v48H128c-8.8%200-16%207.2-16%2016s7.2%2016%2016%2016h112v70.6L189.1%20307q-7.8-3-16.2-3h-2.1c-23.6%200-42.8%2019.2-42.8%2042.8c0%209.6%203.2%2018.9%209.1%2026.4l18.2%2023.2c9.7%2012.4%2024.6%2019.6%2040.3%2019.6h120.8c15.7%200%2030.6-7.2%2040.3-19.6l18.2-23.2c5.9-7.5%209.1-16.8%209.1-26.4c0-23.6-19.2-42.8-42.8-42.8H339c-5.5%200-11%201-16.2%203L272%20326.6V256h112c8.8%200%2016-7.2%2016-16s-7.2-16-16-16H272v-48h80c8.8%200%2016-7.2%2016-16s-7.2-16-16-16h-80v-32c0-8.8-7.2-16-16-16m-48%20256a16%2016%200%201%201%200%2032a16%2016%200%201%201%200-32m80%2016a16%2016%200%201%201%2032%200a16%2016%200%201%201-32%200%22%2F%3E%3C%2Fsvg%3E") no-repeat center / contain;
}

Direct links: SVG · download · JSON · https://iconsdb.app/api/v1/icon/fa6-solid/x-ray.svg?color=%231a73e8&size=48