ICONYZ
English
Rock icon from OpenMoji

Rock icon

openmoji:rock

The Rock icon (openmoji:rock) is a free SVG icon from the OpenMoji set. It is drawn on a 72 × 72 grid. OpenMoji icons are released under the CC BY-SA 4.0 license, which allows use in personal and commercial projects as long as you credit the author and share changes to the icons under the same license. Copy it as SVG, JSX, Vue or Svelte code, or download the SVG file.

Icon set
OpenMoji
Author
OpenMoji
License
CC-BY-SA-4.0
Size
72 × 72
Category
Travel Places
Download SVG

SVG code

<svg xmlns="http://www.w3.org/2000/svg" width="72" height="72" viewBox="0 0 72 72"><path fill="#d0cfce" d="M55.785 34.99a1 1 0 0 1 .106 1.041l-3.895 8.063a1 1 0 0 1-.706.546l-10.798 2.138a1 1 0 0 1-.794-.18L16.214 29.02a1 1 0 0 1-.176-1.432l2.438-2.997a1 1 0 0 1 .326-.262l18.305-9.222a1 1 0 0 1 .658-.085l3.819.807a1 1 0 0 1 .637.442l2.673 4.144l1.62 2.49Z"/><path fill="#3f3f3f" d="M26.692 56h20.096l-6.471-10.181l-23.374-17.6l-1.129 4.827z"/><path fill="#9b9b9a" d="m54.78 36.031l1.348 11.513L54.469 56h-7.681l-6.471-10.181l10.622-1.879z"/><g fill="none" stroke="#000" stroke-linecap="round" stroke-linejoin="round" stroke-width="2"><path d="m45.797 23.608l9.193 11.989l1.138 11.642L54.469 56H26.692L16 32.86l.813-4.641l2.439-2.997L37.558 16l3.819.807l2.643 4.11l-5.012 3.353"/><path d="m47.359 56l-7.061-10.203l-23.485-17.578m38.177 7.378l-3.895 8.062l-10.797 2.138"/></g></svg>

How to use the Rock icon

React

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

<Icon icon="openmoji:rock" width="24" />

Vue

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

<template>
  <Icon icon="openmoji:rock" width="24" />
</template>

Svelte

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

<Icon icon="openmoji:rock" width="24" />

Tailwind CSS

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

UnoCSS

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

Web component

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

<iconify-icon icon="openmoji:rock"></iconify-icon>

HTML image

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

Related icons in OpenMoji

Rock icon in other icon sets

Rock icon FAQ

Is the Rock icon free for commercial use?

Yes. OpenMoji icons are released under the CC BY-SA 4.0 license, which allows use in personal and commercial projects as long as you credit the author and share changes to the icons under the same license.

How do I use the Rock icon in React?

Install @iconify/react and render <Icon icon="openmoji: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/openmoji/rock.svg" alt="Rock icon">, or paste the SVG code inline to style it with CSS.

Browse all OpenMoji icons →