Ray Gun
The ray-gun icon represents a type of futuristic or science fiction weapon.
Exports at 24 × 24 px
Code
Ray Gun in your framework
In any framework. Customize it above, and the code follows.
export const RayGunIcon = (props: React.SVGProps<SVGSVGElement>) => (
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 512 512" {...props}>
<path fill="currentColor" d="M258.78 48.375a488 488 0 0 0-5.342.22l-13.032 3.468L256.47 112l-41.533 5.156L198.03 54.03c-20.15 2.995-40.295 7.085-59.81 12.314c-23.09 6.186-43.698 16.214-60.815 28.686C70.596 84.966 57.93 79.804 45.53 83.126c-15.64 4.19-24.908 20.266-20.718 35.906c2.092 7.807 7.145 14.028 13.625 17.782c-13.334 22.34-17.896 46.636-11.687 69.813c7.424 27.71 28.982 49.112 59.094 61.344a140 140 0 0 0 14.625 5c-71.813 84.106-81.31 251.344 62.905 216.624c-9.176-3.423-16.616-11.07-19.344-21.25c-4.475-16.706 5.438-33.865 22.126-38.375a31.2 31.2 0 0 1-10.094-15.845c-3.81-14.222 2.81-28.797 15.157-35.594c-3.558-3.692-6.237-8.32-7.657-13.624c-3.76-14.035 2.622-28.374 14.656-35.28l.124-1.532c-6.032-4.078-10.687-10.26-12.72-17.844c-3.646-13.61 2.256-27.53 13.595-34.656c4.71-.89 9.443-1.948 14.186-3.22c.394-.104.794-.236 1.188-.343c1.04-.28 2.083-.584 3.125-.874c9.006 47.493 36.058 68.614 59.468 52.97c-21.67-19.01-29.08-40.428-29.75-62.282a543 543 0 0 0 23.875-8.906l-19.625-73.282l38.937-14.875l18.438 68.845l10.75-2.875c2.3-1.19 4.608-2.38 6.875-3.594l-18.532-69.062l38.97-14.875l15.593 58.218l10.81-2.875a377 377 0 0 0 6.533-4.657l-15.37-57.408l37.468-14.313l11.5 42.938l.5-.125c5.458-5.49 10.303-10.95 14.438-16.313L399.72 115.5l12.28-4.688l15.875-4.25c7.277 14.404 23.744 22.138 40 17.782c18.66-5 29.593-23.936 24.594-42.594c-4.376-16.325-19.402-26.752-35.595-25.75c-2.313.143-4.668.53-7 1.156c-14.772 3.958-24.703 16.657-25.72 31.032l-20.75 5.562l-9.217 1.156l-7.938-29.687c-5.85-2.44-12.264-4.647-19.188-6.595l-1.812.47l10.22 38.155l-39.97 4.938l-13.906-51.938c-1.898-.2-3.82-.39-5.75-.563L303 53.094l13.78 51.437l-41.592 5.126l-16.407-61.28z"/>
</svg>
);Game Icons
More like it
Icons that share its tags, in the same style.
Search Game Icons
Skip the copy and paste. With Pro, your AI agent finds and installs any Game Icons icon from a prompt.
Get ProTags
Browse by tag
Ray Gun is tagged technology, entertainment, gaming and 2 more. Related tags follow; each opens its icons from every library.
Pricing
Game Icons MCP, with Pro
Ask for Ray Gun or any of 4,123 Game Icons 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 Ray Gun icon means and where it's used, then how to install, style, label and license it.
The ray-gun icon represents a type of futuristic or science fiction weapon. It symbolizes technology, innovation, and entertainment. Ray guns are often featured in science fiction movies, games, and literature.
In real-world applications, the ray-gun icon appears in software and platforms related to gaming, entertainment, or science fiction. For example, it can be found in video games, sci-fi movies, or fan-made art.
From a UX perspective, the ray-gun icon communicates the idea of futuristic or high-tech capabilities. It helps users understand that they can access features or tools related to science fiction, gaming, or entertainment using a particular platform or feature.
Ray Gun is one of 4,123 icons in Game Icons, made by GameIcons and released under CC BY 3.0. It is drawn on a 512 × 512 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 RayGunIcon to components/icons/game-icons-ray-gun.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 RayGunIcon 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 Ray Gun icon, or any of 4,123 Game Icons 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 512 × 512 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="Ray Gun", so screen readers say what it does.
Yes. RayGunIcon passes every SVG prop to the svg element, so <RayGunIcon 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, with credit: CC BY 3.0 asks you to credit the author (GameIcons) where you use the icons. The full terms are in the license, linked on this page.
Yes. CC BY 3.0 asks you to credit the author where you use the icons, for example "Icons by GameIcons, CC BY 3.0" on an about or credits page.
Yes. Copying and downloading it is free, and the shadcn CLI install only needs a free account.
Its tags are technology, entertainment, gaming, science fiction and futuristic. Each tag page lists the icons that carry it from every library, which is the quickest way to find a match for Ray Gun in another set.
4.9 out of 5 from 150+ developers
Install Ray Gun from a prompt
MCP, 6,000+ blocks and 14 premium templates in every Pro plan. The icons stay free.
Get Pro