ICONYZ
English
Rock icon from Game Icons

Rock icon

game-icons:rock

The Rock icon (game-icons:rock) is a free SVG icon from the Game Icons set by GameIcons. It is drawn on a 512 × 512 grid. Game Icons are released under the CC BY 3.0 license, which allows use in personal and commercial projects as long as you credit the author. Copy it as SVG, JSX, Vue or Svelte code, or download the SVG file.

Icon set
Game Icons
Author
GameIcons
License
CC-BY-3.0
Size
512 × 512
Download SVG

SVG code

<svg xmlns="http://www.w3.org/2000/svg" width="512" height="512" viewBox="0 0 512 512"><path fill="currentColor" d="M228.813 23L68.75 72.28L39.5 182.095l47.53-21.22l10.44-4.655l2.5 11.155l8.75 39.125l6.405 28.53l-21.75-19.53l-15.72-14.125l-28.218 32.344l140.657 136l9.656-40.69l7.53-31.874l10.407 31.063l54.72 163.592l159.936-26.31l45.75-202.938l-84.563-148.718L228.814 23zm-57.688 49.875l-27.813 39.906l-3.25 73.44l-27.187-88.94l58.25-24.405zm17.844 93.406l113.124 155.25L407 355.407l-107.375-.844l-110.656-128v-60.28zM79.312 330.25l140.125 153.125l-5.563-65.875z"/></svg>

How to use the Rock icon

React

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

<Icon icon="game-icons:rock" width="24" />

Vue

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

<template>
  <Icon icon="game-icons:rock" width="24" />
</template>

Svelte

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

<Icon icon="game-icons:rock" width="24" />

Tailwind CSS

<!-- @iconify/tailwind plugin -->
<span class="icon-[game-icons--rock]"></span>

UnoCSS

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

Web component

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

<iconify-icon icon="game-icons:rock"></iconify-icon>

HTML image

<img src="https://iconyz.com/api/public/svg/game-icons/rock.svg" alt="Rock icon" width="24" height="24">

Related icons in Game Icons

Rock icon in other icon sets

Rock icon FAQ

Is the Rock icon free for commercial use?

Yes. Game Icons are released under the CC BY 3.0 license, which allows use in personal and commercial projects as long as you credit the author.

How do I use the Rock icon in React?

Install @iconify/react and render <Icon icon="game-icons:rock" />, or use “Copy code” on this page to get a standalone React component.

How do I add the Rock icon to a web page?

Link the SVG file in an image tag: <img src="https://iconyz.com/api/public/svg/game-icons/rock.svg" alt="Rock icon">, or paste the SVG code inline to style it with CSS.

Browse all Game Icons →