X Ray
The x-ray icon represents a medical imaging technique, often used to symbolize healthcare, diagnosis, and medical imaging.
Exports at 24 × 24 px
Code
X Ray in your framework
In any framework. Customize it above, and the code follows.
export const XRayIcon = (props: React.SVGProps<SVGSVGElement>) => (
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 32 32" {...props}>
<g fill="currentColor"><path d="M26.5 30h-7.102q.16-.11.367-.228C20.428 29.399 21.485 29 23 29c1.536 0 2.519.36 3.092.676c.212.117.373.23.488.323zm-15-14.5c1.655 0 3-.408 3-2.04c0-1.634-1.345-2.96-3-2.96s-3 1.326-3 2.96c0 1.632 1.345 2.04 3 2.04m9 0c1.655 0 3-.408 3-2.04c0-1.634-1.345-2.96-3-2.96s-3 1.326-3 2.96c0 1.632 1.345 2.04 3 2.04m-3.9 1.4h-1.3c-.3 0-.5-.3-.4-.6l.2-.7c.1-.4.5-.6.8-.6c.4 0 .7.2.8.6l.2.7c.3.3.1.6-.3.6"/><path d="M17.308 29.19a1 1 0 0 0-.188.81h-2.14a1 1 0 0 0-.212-.84l-.001-.002l-.002-.002a2 2 0 0 0-.118-.129a5 5 0 0 0-.278-.262a6.3 6.3 0 0 0-1.054-.737C12.378 27.501 10.985 27 9.1 27c-1.864 0-3.181.44-4.058.924c-.435.24-.754.487-.973.685q-.163.15-.253.253c-.04.044-.115.137-.115.137L3.7 29a1 1 0 0 0-.174.372C2.611 28.734 2 27.674 2 26.5v-21C2 3.6 3.6 2 5.5 2h21C28.4 2 30 3.6 30 5.5v21c0 1.138-.574 2.168-1.442 2.811A1 1 0 0 0 28.4 29v-.001s-.076-.093-.116-.137a4 4 0 0 0-.253-.253a5.2 5.2 0 0 0-.973-.685C26.181 27.441 24.864 27 23 27c-1.885 0-3.278.501-4.215 1.028a6.3 6.3 0 0 0-1.054.737a5 5 0 0 0-.396.391l-.002.002l-.001.002zM25 13c0-5-4.03-9-9-9s-9 4-9 9c0 3.139 1.588 4.307 4 4.742V20.5a1.5 1.5 0 0 0 3 0V19h1v2a1 1 0 1 0 2 0v-2h1v1.5a1.5 1.5 0 0 0 3 0v-2.758c2.412-.435 4-1.603 4-4.742M15 23a1 1 0 1 0 0 2h2a1 1 0 1 0 0-2zm-1 4a1 1 0 0 0 1 1h2a1 1 0 1 0 0-2h-2a1 1 0 0 0-1 1"/><path d="M12.335 29.772q.207.118.367.228H5.519c.115-.093.276-.207.49-.324C6.58 29.359 7.563 29 9.1 29c1.515 0 2.572.399 3.235.772"/></g>
</svg>
);Other libraries
X Ray in 5 more libraries
Each library draws it its own way. Open one to compare.
Fluent Emoji High Contrast
More like it
Icons that share its tags, in the same style.
Search Fluent Emoji High Contrast
Skip the copy and paste. With Pro, your AI agent finds and installs any Fluent Emoji High Contrast icon from a prompt.
Get ProTags
Browse by tag
X Ray is tagged medical, health, healthcare and 2 more. Related tags follow; each opens its icons from every library.
Pricing
Fluent Emoji High Contrast MCP, with Pro
Ask for X Ray or any of 1,594 Fluent Emoji High Contrast icons and your agent installs it. The MCP comes with every Pro plan, with 6,000+ blocks and 14 premium templates. The icons stay free.
4.9/5 out of 5 · 150+ reviewsfrom 150+ founders and developers.
- Secure checkout via Stripe
- Code lives in your repo
- Keep what you've shipped if you cancel
- License terms
FAQ
Frequently asked questions
What the X Ray icon means and where it's used, then how to install, style, label and license it.
The x-ray icon represents a medical imaging technique, often used to symbolize healthcare, diagnosis, and medical imaging. It originates from medical industries and is widely used in various contexts to convey a sense of medical diagnosis and treatment.
In real-world applications, the x-ray icon appears in software and platforms related to healthcare, medical imaging, and diagnosis, such as medical software, hospitals, and health-related websites. It is used to represent medical imaging and facilitate diagnosis.
From a UX perspective, the x-ray icon communicates a sense of medical diagnosis, treatment, and healthcare. It helps users understand the context of medical imaging and navigate interfaces related to healthcare and diagnosis.
X Ray is one of 1,594 icons in Fluent Emoji High Contrast, made by Microsoft Corporation and released under MIT. It is drawn on a 32 × 32 grid.
Sign in (it's free), then open Get icon, Install with shadcn CLI, and pick your package manager to copy the command. It adds XRayIcon to components/icons/fluent-emoji-high-contrast-x-ray.tsx: one file, a size prop (24 by default) and every SVG prop, with no icon package.
Copy it as React (from Get icon, or the Code section): a typed XRayIcon component you paste into your project, with no package to install. Only the icons you import reach your bundle. It works in Next.js and any React app.
Open Get icon, then Copy as code, and pick Vue, Svelte, Angular, Solid or Preact; the Code section shows each one too. Every version is one self-contained component with the SVG inside, and SVG and data URL copies are there for plain HTML and CSS.
With Pro, the shadcn.io MCP server lets Claude Code, Cursor or any MCP client find the X Ray icon, or any of 1,594 Fluent Emoji High Contrast icons, and install it from a prompt.
It's drawn in currentColor, so it takes the text color wherever you use it: a class like text-primary recolors it. To bake a color in, set one in Customize before you copy.
Set width and height on the component, or a class like size-6. It's drawn on a 32 × 32 grid, so it stays sharp at any size. Customize also sets the size it exports at, its padding and rotation.
Yes. It follows the text color, so with text-foreground (or any theme token) it changes with your light and dark themes. The icon is a vector, so it needs no separate dark asset.
Next to a visible label it's decoration: add aria-hidden="true" so screen readers skip it. Standing alone, as in an icon button, give the button a name instead, like aria-label="X Ray", so screen readers say what it does.
Yes. XRayIcon passes every SVG prop to the svg element, so <XRayIcon aria-hidden="true" /> works, and so do role="img" with aria-label, or a title child, when it carries meaning on its own.
Yes. Open Get icon, then Download file: SVG for code or design tools like Figma; PNG, WebP or JPEG at 512px; or an ICO favicon with 16, 32 and 48px inside. Each one uses what you set in Customize.
Yes. MIT allows commercial use; keep the license notice when you ship the icons' source files. The full terms are in the license, linked on this page.
No visible credit is required: MIT only asks that you keep the license notice if you ship the icons' source files. Icons installed with the shadcn CLI already start with a comment naming Fluent Emoji High Contrast, Microsoft Corporation and the license.
Yes. Copying and downloading it is free, and the shadcn CLI install only needs a free account.
5 other libraries draw an icon called X Ray. The Other libraries section on this page shows each one, so you can compare them and open the one that fits your style.
Its tags are medical, health, healthcare, imaging and diagnosis. Each tag page lists the icons that carry it from every library, which is the quickest way to find a match for X Ray in another set.
4.9 out of 5 from 150+ developers
Install X Ray from a prompt
MCP, 6,000+ blocks and 14 premium templates in every Pro plan. The icons stay free.
Get Pro