Back to icons
IconMedical

X-Ray icon

The X-Ray icon is an animated React icon from ReactFrame: a 24×24 drawing with a 1.5px stroke that moves when its button or card is hovered. Copy it as SVG or JSX, download the .svg file, or install it with the shadcn CLI. It's free.

Also known ascancelclosedeleteremovetimesmultiplycrossexclearmath
16
20
24
32
48

Hover to play

Style
Animation

Static file: /icons/svg/x-ray.svg

Install
Copied!
npx shadcn@latest add @reactframe/x-ray-icon

Use it

import { motion } from "motion/react";
import { X-RayIcon } from "@/components/x-ray-icon";

export function Example() {
  // The icon animates when anything around it with whileHover="hover" is hovered.
  return (
    <motion.button initial="rest" whileHover="hover">
      <X-RayIcon size={20} />
      X-Ray
    </motion.button>
  );
}

Details

Component
X-RayIcon
Category
Medical
Canvas
24 × 24, 2px padding
Stroke
1.5 (adjustable), round caps and joins
Styles
Stroke, duotone, static, pixel
State
None
Dependencies
motion

More medical icons